USHIFT-7173: Add close-stale-bugs command to the MicroShift CI Doctor flow#80143
Conversation
|
Skipping CI for Draft Pull Request. |
|
@ggiguash: This pull request references USHIFT-7173 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. |
WalkthroughThe PR extends the microshift-ci-doctor job with automated stale-bug closure by introducing a new Claude invocation step. The script now defines a dedicated log file path for this step, integrates it into exit-time artifact/completion checks, and adds the main invocation that runs a close-stale-bugs plugin. The report template is simultaneously refactored to compute and link artifact URLs in a consolidated Markdown row. ChangesClose stale bugs feature
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 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. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: eggfoobar, 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 |
|
/pj-rehearse ack |
|
@eggfoobar: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
Blocked on openshift-eng/edge-tooling#176 (merged)
Test Job Results
Summary by CodeRabbit
This PR introduces a new close-stale-bugs command to the MicroShift CI Doctor automated workflow, which is part of the OpenShift CI infrastructure's downstream edge-tooling system.
Changes Made
Configuration File (
ci-operator/config/openshift-eng/edge-tooling/openshift-eng-edge-tooling-main.yaml):openshift-eng/edge-toolingrepositorymicroshift-ci-doctorperiodic job to run twice daily (8 AM and 2 PM UTC) on weekdaysreport-close-stale-bugs.txtartifact link alongside existing bug creation (+), bug fixing (-), and PR artifacts, displayed as "Bugs(-)" in the notificationDoctor Script (
ci-operator/step-registry/openshift/edge-tooling/microshift-ci/doctor/openshift-edge-tooling-microshift-ci-doctor-commands.sh):microshift-ci:close-stale-bugs --closecommand with a 10-minute timeout and 20 max turnsContext
The MicroShift CI Doctor is an automated CI maintenance tool that uses Claude AI to analyze CI failures, manage related bugs, and maintain test infrastructure. The new close-stale-bugs command allows the system to automatically close bugs that are no longer relevant, improving the signal-to-noise ratio in bug tracking.
Note: This PR is blocked on openshift-eng/edge-tooling#176 and targets version 5.0.0 per the referenced Jira issue USHIFT-7173.