| Who can use it |
Any public repository owned by an organization. Private repositories only where the organization uses GitHub Enterprise Cloud. GitHub: who can use this feature. |
A GitHub repository you administer, once the Switchyard App is installed on it, or a repository hosted by Switchyard. Repositories up to 3 GB on Launch and 8 GB on Scale and Enterprise. Connect a GitHub repository. |
| Where it starts |
At a pull request. Someone with write access adds it to the queue with Merge when ready, once it has passed its required checks, or earlier, and GitHub then adds it when the requirements are met. GitHub: about merge queues and GitHub: merging a pull request with a merge queue. |
Before a pull request exists. An agent starts a task and writes a plan of the paths, symbols and interfaces it expects to change. A pull request is optional: one with the label switchyard goes through the merge queue like a task. Pull requests in the merge queue. |
| When two changes overlap |
After the queue groups a pull request with the target branch and the changes ahead of it, a pull request with failed required checks or conflicts with the base branch is removed from the queue. GitHub: failing CI. |
Both tasks are told while they work, from their plans and from pushed code. Warnings about symbols and dependencies cover six languages; other files get warnings about overlapping lines. Each warning has one suggestion. Tradeoffs. |
| What one build tests |
One pull request: the queue makes a temporary branch with the target branch, the pull requests ahead of it and that pull request. Merge limits group the merges to the base branch, not the builds. GitHub: how merge queues work. |
A batch: main plus up to 32 submitted tasks, in order, as one test build. Switchyard chooses the number from how recent batches went and how many tasks wait. Limits. |
| Builds at the same time |
From 1 to 100, the queue's build concurrency setting. GitHub: managing a merge queue. |
One batch at a time on a project that follows a GitHub repository. Up to 20 batches, 16 unless you set it, only on a project hosted by Switchyard, made since 19 November 2026, with its checks on Switchyard's machines. Write rules and checks. |
| When checks fail |
The pull request is removed from the queue, and the temporary branch of the pull request behind it is made again without it. GitHub: failing CI. |
A failed check runs once more before any task is blamed. If it fails again, the merge queue finds the task that caused the failure and sends back that task only, with the reason; the other tasks stay in the merge queue. The extra runs are billed. How a task reaches main. |
| When a change conflicts with main |
The pull request is removed from the queue. GitHub: failing CI. |
Five steps try to fix the conflict, in order: Git merge, file rules, code rules, an AI suggestion unless the organization turned AI fixes off, then a person. A fix the file rules wrote, or a suggestion an agent accepted, waits for a person's approval unless the project lets fixes merge without one. A task whose conflict stays is sent back. Fix a conflict. |
| Flaky tests |
A setting, only merge non-failing pull requests. Turned off, a pull request that failed its required checks can be merged in a group whose last pull request passed them. GitHub: managing a merge queue. |
The one more run before any task is blamed. A check that failed and then passed on the same tree is counted as a flaky check caught, in the project's value. Concepts. |
| Where checks run |
On GitHub Actions or your own CI provider. A GitHub Actions workflow must use the merge_group event. GitHub: configuring CI for merge queues. |
On Switchyard's machines: a new machine for each check, with no secrets, billed per second, minimum one minute per job. Or on your own GitHub Actions, which Switchyard waits for. A pass on exactly the same code is reused, not run again. Write rules and checks. |
| Moving a change ahead |
An option to jump to the top of the queue, which causes a full rebuild of all in-progress pull requests. GitHub: jumping to the top of the queue. |
Three lanes: hotfix, priority and normal. A project admin makes a task a hotfix, and a batch whose checks have started is never stopped for one. Move a task ahead in the merge queue. |
| How it lands |
By merge, rebase or squash, the queue's merge method setting. GitHub: managing a merge queue. |
One push to main for a batch. Where main is protected, one pull request for each batch, at the commit that passed the checks. A merge commit, or a rebase when the rules require linear history; a squash only when nothing else is allowed. When main is protected. |
| Price |
Part of GitHub and, for private repositories, of GitHub Enterprise Cloud. GitHub's pricing page lists Enterprise at $21 per user a month. GitHub: pricing. |
From $20 a month on Launch: each month you pay the larger of the plan's minimum and your usage. The first week is $1, and the card is taken before work starts. Agents, tasks, merges and people are not metered. Pricing. |
| Who you trust |
Nobody new: a repository administrator turns the merge queue on in the branch protection of the base branch. GitHub: managing a merge queue. |
A second company. The Switchyard App has write access to contents, pull requests, checks and workflows, Switchyard keeps a copy of the repository in its own Git store, and the service is new. Security and trust. |