tide: set github_merge_blocks_policy to block for OADP repos - #82902
Conversation
|
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: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughThe Tide configuration adds ChangesTide merge block policies
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related issues
Suggested reviewers: 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ 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 |
d499674 to
9b5bebe
Compare
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
9b5bebe to
baac38e
Compare
|
[REHEARSALNOTIFIER] Note: If this PR includes changes to step registry files ( Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kaovilai, Prucek, redhat-chai-bot 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 |
|
@redhat-chai-bot: 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. |
|
@redhat-chai-bot: Updated the following 2 configmaps:
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 kubernetes-sigs/prow repository. |
…ft#82902) Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
…ft#82902) Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Summary
Sets
github_merge_blocks_policy: blockfor all 21 OADP ecosystem repositories that have branchprotection + tide configuration in openshift/release.Motivation
Addresses the Tide retry loop concern described in kubernetes-sigs/prow#673: when
enforce_admins: trueandrequired_approving_review_count > 0are configured, Tide can get stuck retrying an unmergeable PR (one that hasapproved+lgtmlabels but insufficient GitHub approving reviews), blocking the entire merge queue.Per this comment, kubernetes-sigs/prow#579 (merged) adds a
github_merge_blocks_policyTide config option. Setting it toblockmakes Tide respect GitHub'smergeStateStatus— when a PR is BLOCKED by branch protection, Tide skips it and advances to the next candidate.Changes
Adds to each repo's
_prowconfig.yamlunder thetide:section:Repos affected (21 total)
openshift org (11): oadp-operator, oadp-must-gather, openshift-velero-plugin, hypershift-oadp-plugin, velero, velero-plugin-for-aws, velero-plugin-for-gcp, velero-plugin-for-microsoft-azure, velero-plugin-for-legacy-aws, restic, velero-plugin-for-csi
migtools org (10): kubevirt-velero-plugin, oadp-non-admin, kopia, oadp-cli, filebrowser, udistribution, oadp-vmdp, kubevirt-datamover-controller, oadp-vm-file-restore, kubevirt-datamover-plugin
Of these, 14 have
enforce_admins: true+required_approving_review_count > 0(directly susceptible to the retry loop). The remaining 7 upstream fork repos useallow_force_pushesinstead; settingblockfor them is a safe no-op that ensures consistent behavior if their config changes in the future.References
github_merge_blocks_policyAI-generated. Review for accuracy.
@kaovilai requested in Slack thread
Summary by CodeRabbit
This PR updates Prow Tide configuration for 21 OADP and Velero ecosystem repositories in the
openshiftandmigtoolsorganizations.The
github_merge_blocks_policy: blocksetting makes Tide respect GitHubmergeStateStatus. Tide skips pull requests blocked by branch protection, which prevents retry loops and allows the merge queue to advance.Fourteen repositories are directly affected by the relevant branch protection settings. Seven upstream forks receive the setting for consistent future behavior.