Skip to content

The queue's group commit carries the verdict status main requires - #3711

Merged
trissim merged 1 commit into
mainfrom
claude-nra/review-status-direct
Oct 30, 2026
Merged

trissim merged 1 commit into
mainfrom
claude-nra/review-status-direct

Conversation

@trissim

@trissim trissim commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Closes the one real gap in commander_native/review_queue: an active rule on main must require agent-comms/review directly.

Before: ruleset 25439636 requires review-verdict, which checks the verdict only on merge_group. It is green on every PR with no verdict (#3613: review-verdict SUCCESS, agent-comms/review PENDING), so auto-merge arms and the failure only appears in the queue.
After: the ruleset requires agent-comms/review in place of review-verdict. A PR can't enter the queue without a verdict on its head.

Why the workflow changes

Required checks also apply to the merge group's commit, and Core posts this status only on PR heads. Without this change every queue entry would hang for the 60-minute check timeout. The review-verdict job already verifies the head's verdict on the group; it now posts the status on $GITHUB_SHA.

The merge queue stays. It's the only re-check against latest main (strict is off), and 14 of the last 30 merged PRs had auto-merge armed. The 37 failed runs out of the last 40 come from the non-required install-rehearsal; that is a separate red.

Already on main

HeadReviewRecord todos.py:4603; QueueBypassGuard queue_bypass.py:197, which refused my admin merges without a verdict this session. Bypass actor is admin role only.

Order of landing

This merges first, because a merge group runs the workflow from its own commit. The ruleset swap follows. Proof is the next real PR that goes through the queue with the new rule. Not run yet: a workflow that only fires on merge_group can't be run locally.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XbFMSpSd8zQxyozgEV2Re7

Main is about to require agent-comms/review directly, as RulesetGates
checks. Core posts that status on a pull request's head, so a merge group's
commit never had it and every queue entry would hang. The group job already
verifies the head's verdict; it now posts the status on the group commit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XbFMSpSd8zQxyozgEV2Re7
Copilot AI balanced review requested due to automatic review settings October 30, 2026 15:34

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@trissim
trissim enabled auto-merge October 30, 2026 15:34
@trissim
trissim merged commit dda54e9 into main Oct 30, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants