Skip to content

feat(ci): wake up PRs targeting merge-train branches after merge#20447

Merged
ludamad merged 3 commits intomerge-train/spartanfrom
adam/ci-wakeup-pr-after-merge
Feb 13, 2026
Merged

feat(ci): wake up PRs targeting merge-train branches after merge#20447
ludamad merged 3 commits intomerge-train/spartanfrom
adam/ci-wakeup-pr-after-merge

Conversation

@ludamad
Copy link
Collaborator

@ludamad ludamad commented Feb 12, 2026

Currently, there is an edge case where auto-merge PRs are stuck if a merge-train PR has been queued for merge. The branch becomes protected, and github never reconsiders the PR for automerge.

Now:

  • When a merge-train branch merges and is recreated, adds ci-wakeup-pr-after-merge label to all open PRs targeting that branch that have passed CI and have automerge enabled
  • The label triggers a CI re-run (no-op via tree-hash cache) so those PRs can proceed through the merge queue

When a merge-train branch merges and is recreated, add the
ci-wakeup-pr-after-merge label to all PRs that have passed CI and
have automerge enabled. This triggers a CI re-run (no-op via cache)
so those PRs can proceed through the merge queue. The label is
removed immediately by ci3.yml so it can be re-applied next time.
@ludamad ludamad requested a review from charlielye as a code owner February 12, 2026 16:55
@ludamad ludamad changed the base branch from next to merge-train/spartan February 12, 2026 17:01
Cherry-picks merge-train skills from b453bd4, updates the
merge-train-infra skill with the new wakeup-prs feature, and
rewrites the merge-train readme to point to the skills as
LLM-consumable documentation.
@ludamad ludamad merged commit 39add50 into merge-train/spartan Feb 13, 2026
9 checks passed
@ludamad ludamad deleted the adam/ci-wakeup-pr-after-merge branch February 13, 2026 09:43
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