Skip to content

Merge queue: skip what a docs- or evals-only PR skips; drop the push-to-main run - #412

Merged
alexkroman merged 1 commit into
mainfrom
claude/merge-queue-speedups
Nov 25, 2026
Merged

alexkroman merged 1 commit into
mainfrom
claude/merge-queue-speedups

Conversation

@alexkroman

Copy link
Copy Markdown
Collaborator

What

Two check.yml changes aimed at the merge queue:

  1. The changes filter now works in the merge queue. It took its base from pull_request (base.sha) or push (before); a merge_group event has neither, so it failed open and every queued PR ran the full ~40 minutes. A docs-only PR skipped the macOS jobs as a pull request, then ran all of them in the queue. It now diffs the group against merge_group.base_sha (main, or the group ahead), which is exactly what the group adds. A dispatch or an unknown base still runs every gate.
  2. No more push trigger on main. main only moves through the merge queue, which advances it to the very commit its merge group just passed check on, so the push run tested the same commit twice on ~10 macOS runners per merge. workflow_dispatch replaces it, for checking main or any branch by hand.

The check job's comment about cancelled push runs and AGENTS.md's list of triggers are updated to match.

Context

Over the last 30 merge-queue runs, run length (35–50 min) and flake-driven requeues were the real costs. The flakes are fixed on main (#399, #400) and the iPhone cold-simulator one by #405, which also cuts the run itself to an expected ~17–18 min. This PR covers what's left.

Verifying

  • scripts/check.sh --portable (actionlint, zizmor, the workflow checks): green.
  • This PR's own pull_request run still uses the existing filter path. The merge_group path first runs when this PR enters the queue: the changes job's log prints the range it diffed (Changed files in <base>..<head>).

Conflicts

#405 and #411 also edit check.yml (the check job's needs and assertions, not the triggers or the filter), so whichever lands later needs a small merge.


Generated by Claude Code

…push-to-main run

The changes filter had no base on merge_group (only pull_request's base
and push's before), so it failed open and every queued PR ran the full
~40 minutes, docs-only ones included. It now diffs the group against
merge_group.base_sha.

check.yml no longer runs on push to main: main only moves through the
merge queue, which advances it to the commit its merge group just
passed, so the push run re-tested the same commit on ~10 macOS runners.
A workflow_dispatch trigger replaces it for checking a branch by hand.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DS5B1TXn83VM7ihZ3iFgU5
@alexkroman
alexkroman enabled auto-merge November 25, 2026 17:18
@alexkroman
alexkroman added this pull request to the merge queue Nov 25, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 25, 2026
@alexkroman
alexkroman added this pull request to the merge queue Nov 25, 2026

Copy link
Copy Markdown
Collaborator Author

The merge queue dropped this PR because ios-sanitizers (thread) failed in its queue run, 45668459231. xcodebuild exited before building, with "Unable to find a device matching the provided destination specifier": that runner had no iPhone simulator xcodebuild would accept. Every other job in the run passed. This PR touches only the workflow's triggers and the changes filter, nothing that picks a simulator, so I've turned auto-merge back on to queue it again. That queue run is its one re-run.

The same queue run also confirmed the new filter: changes diffed 54d030c..1d94092, the queue's base against its candidate, and listed exactly this PR's two files.


Generated by Claude Code

Merged via the queue into main with commit 4517e32 Nov 25, 2026
16 checks passed
@alexkroman
alexkroman deleted the claude/merge-queue-speedups branch November 25, 2026 18:55
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