Skip to content

ci: the merge queue had no checks to wait for - #134

Merged
jamesconwaydev merged 1 commit into
mainfrom
ci-merge-queue
Nov 20, 2026
Merged

jamesconwaydev merged 1 commit into
mainfrom
ci-merge-queue

Conversation

@jamesconwaydev

Copy link
Copy Markdown
Collaborator

Problem

main now 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, test on three systems, cla) on each pull request merged onto the latest main. But no workflow ran for merge_group, so a queued pull request would have waited for checks that never came.

Change

  • ci.yml: also runs on merge_group.
  • cla-queue.yml (new): answers the cla check in the queue. Every queued pull request has already passed cla.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_group run is the test.

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.

@foothillsdigital foothillsdigital left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Checked de0bc6c against the rulesets:

  • Required checks: the main ruleset requires lint, drift, test (ubuntu-latest), test (macos-latest), test (windows-latest) and cla, all from GitHub Actions (integration 15368). With merge_group added, ci.yml produces the first five in a queue run. None of those jobs reads pull_request-only data:
    • drift reads NETWEIR_COMMIT from the merged tree;
    • test is a plain three-OS matrix.
  • Concurrency: a queue run groups by github.run_id and isn't cancelled, so queue runs never cancel each other.
  • cla-queue.yml: byte-identical to netweir/netweir's. cla.yml triggers only on pull_request_target and issue_comment, so the two never both answer one cla. With permissions: {}, 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.

@jamesconwaydev
jamesconwaydev added this pull request to the merge queue Nov 20, 2026
Merged via the queue into main with commit 3833531 Nov 20, 2026
33 checks passed
@jamesconwaydev
jamesconwaydev deleted the ci-merge-queue branch November 20, 2026 18:54
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