Repository navigation
ci: allow reviewed 4.2 PRs from the designated approver to queue - #32656
Conversation
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
Merge Protections🟢 Merge protection satisfied — ready to merge. Show 1 satisfied protection🟢 📃 Configuration Change RequirementsMergify configuration change
|
|
This pull request is merged. |
|
mo-bot review · Commit: Review completed. Read the assessment. |
XuPeng-SH
left a comment
There was a problem hiding this comment.
mo-bot review · mo-bot-local · review
Commit: 06f9c37cb84cd318d8edfae670d5730033de7e95
Assessment: approve
The author-scoped alternative fixes issue #32655 while preserving the named-reviewer requirement for other authors, WIP/change-request guards, sibling rules and existing protected queue. The change reuses GitHub review decisions without adding another queue or state. No actionable findings.
Model: gpt-6.1-sol / max
Session: 01a1a004-90c3-73b1-acc9-3d4636452003 · slot 0 · generation 0
Validation:
-
Read the complete delta, owning Mergify configuration, CI regression and all discussion/linked-issue context; source checkout remains clean.
-
Passed queue-condition-probe.py: 512 admission combinations, only the intended newly eligible case, and unchanged unrelated configuration. Log: queue-condition-probe.log; frozen-head exit-0 receipt: checks/1794536219218080803-3.json.
-
Reused exact-head successful Configuration changed, Mergify Merge Protections and CI scope test checks from evidence.json; these establish schema/protection-check and existing-regression evidence, not live release-4.2 simulation.
-
Confirmed supported review-decision/Boolean semantics in Mergify conditions and default protection injection in queue rules.
Limitations:
- No authenticated remote queue simulation or independent inspection of live 4.2-dev branch settings; author CLI claims lack retained raw logs. Local validation proves Boolean selection, supplemented by frozen-head server schema validation. Product Go tests are inapplicable to this configuration-only change.
What type of PR is this?
Which issue(s) this PR fixes:
Fixes #32655
What this PR does / why we need it:
The 4.2-dev Mergify rule requires an approval by XuPeng-SH even when XuPeng-SH authored the PR, but GitHub does not permit authors to approve their own PRs. Allow that author's 4.2-dev PRs to enter the existing queue when GitHub reports the review decision as approved. Keep the existing named-reviewer requirement for other authors and all existing branch protection, WIP, change-request and queue conditions.
Mergify reads its configuration from the default branch, so this targeted 4.2-dev rule must be changed on main. This does not address files for which the author is the sole code owner; those still require an eligible code-owner approval or a separate ownership change.
Validation:
mergify config validate --config-file .github/mergify.ymlpassed using Mergify CLI 2026.11.7.Configuration changedcheck passed on this PR. The CLI's remote simulation requires a Mergify login, which was not available.