Skip to content

ci: allow reviewed 4.2 PRs from the designated approver to queue - #32656

Merged
XuPeng-SH merged 3 commits into
mainfrom
codex/42-mergify-author-approval-20261113
Nov 13, 2026
Merged

XuPeng-SH merged 3 commits into
mainfrom
codex/42-mergify-author-approval-20261113

Conversation

@XuPeng-SH

@XuPeng-SH XuPeng-SH commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

What type of PR is this?

  • API-change
  • BUG
  • Improvement
  • Documentation
  • Feature
  • Test and CI
  • Code Refactoring

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.yml passed using Mergify CLI 2026.11.7.
  • Checked the rule against cases for other authors, the designated author's approved and unapproved PRs, change requests, WIP and other base branches.
  • Mergify's server-side Configuration changed check passed on this PR. The CLI's remote simulation requires a Mergify login, which was not available.

@XuPeng-SH
XuPeng-SH requested a review from fengttt as a code owner November 13, 2026 01:55
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@mergify

mergify Bot commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Merge Protections

🟢 Merge protection satisfied — ready to merge.

Show 1 satisfied protection

🟢 📃 Configuration Change Requirements

Mergify configuration change

  • any of:
    • check-success = @mergify/Configuration changed
    • check-success = @mergify/Configuration has been deleted

@mergify mergify Bot added kind/bug Something isn't working kind/test-ci labels Nov 13, 2026
@matrix-meow matrix-meow added the size/XS Denotes a PR that changes [1, 9] lines label Nov 13, 2026
@mergify

mergify Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

This pull request is merged.

@XuPeng-SH

XuPeng-SH commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor Author

mo-bot review · mo-bot-local · done

Commit: 06f9c37cb84cd318d8edfae670d5730033de7e95

Review completed. Read the assessment.

@XuPeng-SH XuPeng-SH left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

This branch was successfully deployed

No deployments
ci — de8c1f0f Deployed Nov 13, 2026 by XuPeng-SH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Something isn't working kind/test-ci size/XS Denotes a PR that changes [1, 9] lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: 4.2-dev queue cannot accept approved PRs authored by its designated reviewer

2 participants