CNTRLPLANE-2588: Add periodic job to triage dependabot PRs - #73790
Conversation
|
@bryan-cox: This pull request references CNTRLPLANE-2588 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 task to target the "4.22.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. |
|
/pj-rehearse periodic-ci-openshift-hypershift-main-dependabot-triage |
|
@bryan-cox: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse periodic-ci-openshift-hypershift-main-dependabot-triage |
|
@bryan-cox: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse periodic-ci-openshift-hypershift-main-dependabot-triage |
|
@bryan-cox: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse periodic-ci-openshift-hypershift-main-dependabot-triage |
|
@bryan-cox: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse periodic-ci-openshift-hypershift-main-dependabot-triage |
|
@bryan-cox: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse periodic-ci-openshift-hypershift-main-dependabot-triage |
|
@bryan-cox: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse periodic-ci-openshift-hypershift-main-dependabot-triage |
|
@bryan-cox: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
@bryan-cox: job(s): periodic-ci-openshift-hypershift-main-dependabot-triage either don't exist or were not found to be affected, and cannot be rehearsed |
58c382f to
ea2fc90
Compare
|
/pj-rehearse periodic-ci-openshift-hypershift-main-dependabot-triage |
|
@bryan-cox: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
ea2fc90 to
2f721e1
Compare
0061711 to
64d0d3f
Compare
|
@bryan-cox: 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. |
|
/pj-rehearse ack |
|
@bryan-cox: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/lgtm |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bryan-cox, hector-vido, jparrill 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 |
Document the new periodic-hypershift-dependabot-triage Prow job that consolidates open dependabot PRs into a single weekly PR. Includes data flow diagram, configuration details, and excluded dependency prefixes (k8s.io, sigs.k8s.io). Ref: openshift/release#73790 Ref: CNTRLPLANE-2588 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Document the new periodic-hypershift-dependabot-triage Prow job in the existing AI-assisted CI jobs doc. Includes data flow diagram, configuration details, and excluded dependency prefixes (k8s.io, sigs.k8s.io). Ref: openshift/release#73790 Ref: CNTRLPLANE-2588 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Document the new periodic-hypershift-dependabot-triage Prow job in the existing AI-assisted CI jobs doc. Includes data flow diagram, configuration details, and excluded dependency prefixes (k8s.io, sigs.k8s.io). Ref: openshift/release#73790 Ref: CNTRLPLANE-2588 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Document the new periodic-hypershift-dependabot-triage Prow job in the existing AI-assisted CI jobs doc. Includes data flow diagram, configuration details, and excluded dependency prefixes (k8s.io, sigs.k8s.io). Ref: openshift/release#73790 Ref: CNTRLPLANE-2588 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Summary
Add a periodic Prow job that automatically triages dependabot PRs in the HyperShift repository by consolidating them into a single weekly PR.
Changes
hypershift-dependabot-triageworkflow to the step-registry with pre (setup), test (process), and post (report) phaseshypershift-dependabot-triage-setup) that verifies Claude Code CLI availabilityhypershift-dependabot-triage-process) that generates GitHub App tokens, clones from thehypershift-community/hypershiftfork, queries open dependabot PRs, filters outk8s.io/sigs.k8s.iobumps, and invokes Claude to consolidate remaining PRshypershift-dependabot-triage-report) that generates an HTML report with token usage, cost breakdown, and detailed outputopenshift-hypershift-main.yaml(cron: Fridays at 12:00 UTC)docs/plans/2026-01-21-dependabot-triage-prow-job-design.mdmake updateHow It Works
hypershift-community/hypershift) and upstream (openshift/hypershift) using credentials from thehypershift-team-claude-prowsecretgh pr list, then filters out PRs that bumpk8s.ioorsigs.k8s.iodependencies (managed manually as part of coordinated Kubernetes rebases)make verifyandmake testafter each PR (with precise gitlint-only failure detection usingmake:.*\*\*\*target matching)After Claude finishes, bash logic flattens all cherry-pick commits via
git resetand reorganizes into logical groups:go.mod/go.sumvendor/api/go.mod/api/go.sumapi/vendor/hack/tools/go.mod/hack/tools/go.sumhack/tools/vendor/cmd/install/assets/)Empty groups are skipped automatically.
make verifyandmake teston the consolidated branch before creating the PRhypershift-community:fix/weekly-dependabot-consolidationtoopenshift/hypershiftwith a dynamically generated commit listImplementation Details
claude-ai-helpersbase image for all stepsitpc-gcp-hybrid-pe-eng-claude, regionus-east5)New Files
Test Plan
make update)Related