Skip to content

ci: land main through the merge queue instead of up-to-date branches - #4601

Merged
yannickmonney merged 3 commits into
mainfrom
ci/merge-queue
Oct 9, 2026
Merged

yannickmonney merged 3 commits into
mainfrom
ci/merge-queue

Conversation

@yannickmonney

@yannickmonney yannickmonney commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Why

The main ruleset 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 with gh pr merge --auto. Don't rebase or run update-branch just 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_group and 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)

  • Ruleset Tale required CI: add merge_queue (SQUASH, ALLGREEN, up to 5 PRs per group, up to 10 building, 180 min timeout) and turn off strict status checks.
  • Classic branch protection: required_status_checks.strict set to false.

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
yannickmonney merged commit efefaf4 into main Oct 9, 2026
@yannickmonney
yannickmonney deleted the ci/merge-queue branch October 9, 2026 02:35
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.

1 participant