Skip to content

OCPEDGE-2565: Add lvms ci manager & shared scripts across plugins#37

Draft
kasturinarra wants to merge 1 commit intoopenshift-eng:mainfrom
kasturinarra:main
Draft

OCPEDGE-2565: Add lvms ci manager & shared scripts across plugins#37
kasturinarra wants to merge 1 commit intoopenshift-eng:mainfrom
kasturinarra:main

Conversation

@kasturinarra
Copy link
Copy Markdown

@kasturinarra kasturinarra commented Apr 16, 2026

Summary by CodeRabbit

Release Notes

  • New Features

    • Introduced LVMS-CI plugin for analyzing OpenShift LVMS periodic job failures with automated diagnosis and HTML report generation.
    • Added three new analysis commands: doctor (multi-release analysis), analyze-release (single-release), and generate-html-report (recreate reports).
    • Enhanced reports with index image details and improved layout organization.
  • Updates

    • Extended report generation to support multiple products with product-scoped configurations.

@kasturinarra kasturinarra marked this pull request as draft April 16, 2026 08:24
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Apr 16, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: kasturinarra
Once this PR has been reviewed and has the lgtm label, please assign fracappa for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 16, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 16, 2026

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Free

Run ID: 49f18d28-3da2-425e-a1ca-cabb180a2bb5

📥 Commits

Reviewing files that changed from the base of the PR and between 537b776 and d4cc69f.

📒 Files selected for processing (11)
  • plugins/lvms-ci/.claude-plugin/plugin.json
  • plugins/lvms-ci/README.md
  • plugins/lvms-ci/skills/analyze-release/SKILL.md
  • plugins/lvms-ci/skills/doctor/SKILL.md
  • plugins/lvms-ci/skills/generate-html-report/SKILL.md
  • plugins/microshift-ci/skills/doctor/SKILL.md
  • plugins/shared/scripts/aggregate.py
  • plugins/shared/scripts/create-report.py
  • plugins/shared/scripts/doctor.sh
  • plugins/shared/scripts/download-jobs.sh
  • plugins/shared/scripts/prow-jobs-for-release.sh

Walkthrough

This PR introduces a new lvms-ci plugin for analyzing OpenShift LVMS CI periodic job failures, featuring a plugin manifest, documentation, and three skills (doctor, analyze-release, generate-html-report). Simultaneously, it refactors shared CI infrastructure scripts to support multiple products via --product and --filter parameters, enabling code reuse across plugins.

Changes

Cohort / File(s) Summary
New LVMS-CI Plugin
plugins/lvms-ci/.claude-plugin/plugin.json, plugins/lvms-ci/README.md, plugins/lvms-ci/skills/doctor/SKILL.md, plugins/lvms-ci/skills/analyze-release/SKILL.md, plugins/lvms-ci/skills/generate-html-report/SKILL.md
Added complete LVMS-CI plugin with manifest metadata, documentation describing the multi-release doctor pipeline and single-release analyze workflow, and three user-invocable skills for analyzing periodic jobs, extracting LVMS index image information, and generating HTML reports.
Shared Script Refactoring
plugins/shared/scripts/create-report.py, plugins/shared/scripts/doctor.sh, plugins/shared/scripts/prow-jobs-for-release.sh
Refactored shared scripts to support multiple products via new --product CLI flag and product-scoping of workdir paths. Enhanced create-report.py with product-specific report generation, index image extraction and rendering, and refactored issue table rendering. Updated doctor.sh and prow-jobs-for-release.sh with required --product and --filter parameters to enable filtering of jobs by product/scope.
MicroShift Plugin Documentation Update
plugins/microshift-ci/skills/doctor/SKILL.md
Updated documentation to reference shared scripts directory and added explicit --product microshift --filter microshift arguments to align with new shared script interface.

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~60 minutes


Note

🎁 Summarized by CodeRabbit Free

The PR author is not assigned a seat. To perform a comprehensive line-by-line review, please assign a seat to the pull request author through the subscription management page by visiting https://app.coderabbit.ai/login.

Comment @coderabbitai help to get the list of available commands and usage tips.

@kasturinarra kasturinarra marked this pull request as ready for review April 16, 2026 08:36
@openshift-ci openshift-ci Bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 16, 2026
@kasturinarra kasturinarra marked this pull request as draft April 16, 2026 08:48
@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 16, 2026
@kasturinarra kasturinarra changed the title Add lvms ci manager & shared scripts across plugins OCPEDGE-2565: Add lvms ci manager & shared scripts across plugins Apr 17, 2026
@ggiguash
Copy link
Copy Markdown
Contributor

Closing this PR for now. @kasturinarra , please reopen with up-to-date sources when ready.
/close

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented May 1, 2026

@kasturinarra: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/markdownlint d4cc69f link true /test markdownlint
ci/prow/shellcheck d4cc69f link true /test shellcheck

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants