USHIFT-6935: MicroShift CI Doctor: enable auto-bug creation and add report refresh command#79307
USHIFT-6935: MicroShift CI Doctor: enable auto-bug creation and add report refresh command#79307ggiguash wants to merge 1 commit into
Conversation
|
@ggiguash: This pull request references USHIFT-6935 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. DetailsIn response to this: 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 openshift-eng/jira-lifecycle-plugin repository. |
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ggiguash The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
WalkthroughThis PR modifies a CI operator step registry shell script to enable Claude-driven bug creation (removing dry-run mode), adjust the analysis phase timeout, and introduce a new HTML report refresh phase with log validation. ChangesClaude Workflow Pipeline Updates
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Suggested labels
🚥 Pre-merge checks | ✅ 12✅ Passed checks (12 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
[REHEARSALNOTIFIER]
Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals. Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
/pj-rehearse periodic-ci-openshift-eng-edge-tooling-main-microshift-ci-doctor |
|
@ggiguash: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse periodic-ci-openshift-eng-edge-tooling-main-microshift-ci-doctor |
|
@ggiguash: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
@ggiguash: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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. |
MicroShift CI Doctor - Enable Automated Bug Creation and Add Report Refresh
Changes: Updates the MicroShift CI Doctor automated workflow script to enable production bug creation and add a new report refresh capability.
What's affected: The CI step configuration for the MicroShift CI Doctor, which is part of the OpenShift edge-tooling CI infrastructure in the openshift/release repository.
Key improvements:
Automated Bug Creation Enabled: Modifies the
microshift-ci:create-bugsplugin invocation to add the--create --autoflags (line 254), transitioning from dry-run mode to actively creating bugs in Jira. This allows the CI Doctor to automatically file issues for discovered problems without manual intervention.New Report Refresh Phase: Adds a new Claude workflow step that runs the
microshift-ci:doctor-refreshcommand with a 5-minute timeout and 30 turns (lines 258-267). This refreshes the HTML report after bugs are created to reflect the updated information in the final output.Enhanced Logging: Introduces a new log file
CLAUDE_REPORT_REFRESH_LOG(line 14) to track the report refresh phase, and updates the exit handler to verify successful completion of all three Claude workflow phases: analysis, bug creation, and report refresh (line 46).Timing adjustments:
Impact: Enhances automation in MicroShift's CI pipeline by enabling the CI Doctor to autonomously create Jira bugs for detected issues, reducing manual triage overhead, while ensuring reports are up-to-date with the newly created bugs.
Note: The associated Jira issue USHIFT-6935 currently lacks a target version assignment; a version of 5.0.0 is expected.