Repository navigation
ci: land main through the merge queue instead of up-to-date branches - #4601
Merged
Merged
Conversation
Requiring a branch to be up to date made every merge send each open PR back through a rebase and a full CI run. The queue tests what will actually land, so agents queue with gh pr merge --auto --squash and rebase only for a real conflict.
yannickmonney
enabled auto-merge
October 9, 2026 01:57
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The
mainruleset required each branch to be up to date (strict_required_status_checks_policy: true). With about 75 merges a day and about 45 open PRs, every merge pushed every other PR back to behind, triggering another rebase and another full CI run. On 2026-10-09, about 30 open PRs were behind without any conflict.What
.agents/repo.md: land withgh pr merge --auto. Don't rebase or runupdate-branchjust because a PR is behind; rebase only for a real conflict. No admin bypass..github/CI.md: a new Merge queue section covering the settings, the reason, concurrency and the release-gate interaction. The activation section now records that the queue exists.All seven workflows already trigger on
merge_groupand run full scope there, and their concurrency groups key on the unique queue ref, so no workflow change is needed.Repository settings (applied alongside this PR)
merge_queue(SQUASH, ALLGREEN, up to 5 PRs per group, up to 10 building, 180 min timeout) and turn off strict status checks.required_status_checks.strictset to false.