| Code hosts |
GitHub, through the Trunk GitHub App. It also works with merge requests on GitLab.com, which Trunk marks as beta; self-managed GitLab is not supported yet. Trunk: GitLab. |
A GitHub repository, or a repository hosted by Switchyard. A repository on GitLab, Bitbucket or another Git host can be imported once and then lives in Switchyard. Import, move off GitHub and export. |
| Where it starts |
At a pull request. Trunk waits until GitHub considers the pull request ready to merge, by your branch protection rules, before testing begins. Trunk: configure CI status checks. |
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 |
In parallel mode each pull request reports its impacted targets, and a pull request that shares targets with ones ahead of it is tested with their changes. Trunk: parallel queues. |
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 run tests |
One pull request with the pull requests ahead of it, unless batching is on. Batching is off by default; its starting values are a target batch size of 4 and a maximum wait of 5 minutes. Trunk: batching. |
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. |
| Runs at the same time |
Testing concurrency caps how many pull requests test at once: 5, 25, 50 or a custom number. Trunk: settings and configurations. |
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 a test fails |
A failed pull request waits in a pending failure state for the pull requests ahead of it, so that the queue removes only the first faulty one and tests the others again without it. A batch that fails is split apart to find the pull request that caused the failure. Trunk: predictive testing and Trunk: batching. |
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. |
| Flaky tests |
Anti-flake protection combines optimistic merging and pending failure depth to merge pull requests that would otherwise be rejected from the queue. Trunk Flaky Tests, another Trunk product, detects, tracks and quarantines flaky tests. Trunk: anti-flake protection and Trunk: Flaky Tests. |
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. Switchyard has no quarantine. Concepts. |
| Monorepos |
Parallel queues: pull requests that affect distinct impacted targets are tested in lanes of their own. Trunk ships ways to post impacted targets for Bazel and Nx, and an API for other build systems. Trunk: parallel queues. |
Merge trains test and land tasks that touch nothing in common apart, so one does not wait for another. They are a project setting that is off by default. Concepts. |
| Conflicts |
A merge conflict is among the reasons a pull request fails in the queue, and a pull request that fails is removed so that it does not block the others. Trunk: handle failed pull requests. |
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. |
| Where checks run |
On your own CI. By default Trunk creates draft pull requests to test changes, and your pull request workflows run on them. Trunk Runners run GitHub Actions jobs on Trunk's machines, from $0.006 a minute for the default machine; Trunk says they are in a beta that you ask to join. Trunk: configure CI status checks, Trunk: Runners and Trunk: Runners pricing. |
On Switchyard's machines: a new machine for each check, with no secrets, billed per second, minimum one minute per job, at $0.005 a minute small and $0.02 large. Or on your own GitHub Actions, which Switchyard waits for. A job labelled runs-on: switchyard runs on a Switchyard machine; today those runners take the jobs of Switchyard's own test builds. Write rules and checks. |
| Price |
Free for teams of up to 5 committers, and no credit card to start. Team is a paid plan with a free trial, and Enterprise is priced on request. Trunk: pricing. |
From $20 a month on Launch: each month you pay the larger of the plan's minimum and your usage. Every plan has a minimum. The first week is $1, and the card is taken before work starts. Agents, tasks, merges and people are not metered. Pricing. |
| Record |
Trunk's about page says the company formed in 2021, and its pricing page shows customer stories. Trunk: about and Trunk: pricing. |
The service is new: sign-up opened on 20 November 2026. Terms. |