Repository navigation
ci: the merge queue had no checks to wait for - #134
Merged
Merged
Conversation
Pull requests now go through a merge queue on main, which runs the required checks on each one merged onto the latest main. ci.yml now runs for merge_group too, and cla-queue.yml answers the cla check in the queue, where every pull request has already passed it, as Netweir does.
jamesconwaydev
enabled auto-merge
November 20, 2026 18:29
foothillsdigital
approved these changes
Nov 20, 2026
foothillsdigital
left a comment
Collaborator
There was a problem hiding this comment.
Checked de0bc6c against the rulesets:
- Required checks: the
mainruleset requireslint,drift,test (ubuntu-latest),test (macos-latest),test (windows-latest)andcla, all from GitHub Actions (integration 15368). Withmerge_groupadded,ci.ymlproduces the first five in a queue run. None of those jobs readspull_request-only data:driftreadsNETWEIR_COMMITfrom the merged tree;testis a plain three-OS matrix.
- Concurrency: a queue run groups by
github.run_idand isn't cancelled, so queue runs never cancel each other. cla-queue.yml: byte-identical to netweir/netweir's.cla.ymltriggers only onpull_request_targetandissue_comment, so the two never both answer onecla. Withpermissions: {}, the merged code's copy can do nothing.
One thing to look at after it's through, not blocking: the main ruleset still has strict_required_status_checks_policy: true. With the queue testing every entry on the latest main, that's redundant, and it may still make GitHub ask for a PR to be brought up to date before it can be queued, which is the re-approval round this is meant to end. Turning it off there would settle it.
Approving.
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.
Problem
mainnow has a merge queue, so approved pull requests no longer have to be brought up to date, and re-approved, each time another one merges. The queue runs the required checks (lint,drift,teston three systems,cla) on each pull request merged onto the latestmain. But no workflow ran formerge_group, so a queued pull request would have waited for checks that never came.Change
ci.yml: also runs onmerge_group.cla-queue.yml(new): answers theclacheck in the queue. Every queued pull request has already passedcla.yml, so this one passes without looking. It runs only in the queue and holds no permissions. It's the same file Netweir uses.Tests
This pull request is the first through the queue: its
merge_grouprun is the test.