Skip to content

Conversation

@bfops
Copy link
Collaborator

@bfops bfops commented Nov 4, 2025

Description of Changes

The merge queue was (partly) getting borked because we were putting all non-PR CI events into the same concurrency group, which meant they all non-PR CI jobs would run sequentially instead of running in parallel. This sometimes caused painfully long delays in the merge queue.

This was due to my misunderstanding in #3501 (comment), where I didn't realize that cancel-in-progress: false would cause everything to queue up.

Now, for non-PR events, we append the commit SHA to the concurrency group. For merge queue events, this should be the SHA of the ephemeral merge commit that GH creates, so it will never conflict. For push events or manual workflow dispatch events, the SHA should be a sane way to recognize/cancel redundant events.

API and ABI breaking changes

None. CI-only change.

Expected complexity level and risk

1

Testing

  • PR CI passes on this PR
  • PR CI is still canceled on this PR if a new commit is pushed

Unfortunately it's hard to test the behavior for non-PR events without merging and seeing if it works.

@bfops bfops marked this pull request as ready for review November 4, 2025 19:39
@bfops bfops requested a review from cloutiertyler November 5, 2025 05:04
Copy link
Contributor

@cloutiertyler cloutiertyler left a comment

Choose a reason for hiding this comment

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

Interesting, looks good to me

@bfops bfops enabled auto-merge November 5, 2025 17:55
@bfops bfops added this pull request to the merge queue Nov 5, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 5, 2025
@bfops bfops added this pull request to the merge queue Nov 5, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 5, 2025
@bfops bfops added this pull request to the merge queue Nov 5, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 5, 2025
@bfops bfops added this pull request to the merge queue Nov 5, 2025
Merged via the queue into master with commit 7c4c3dd Nov 5, 2025
23 of 25 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.

3 participants