Trunk
CI that stays green: parallel merge queues, flaky-test quarantine, and analytics for the whole pipeline.
About
Trunk (trunk.io) is a CI platform built around one idea: main should never go red. Its merge queue creates parallel test lanes for non-overlapping changes and batches up to 100 PRs into a single CI run, with automatic bisection when a batch fails — the company claims this cuts CI compute costs by up to 90%. Flaky Tests detects inconsistent tests through branch-aware analysis and quarantines them so false failures stop blocking merges. Trunk Analytics adds CI visibility on top. CEO Eli Schleifer's framing is blunt: if your team runs 10 people plus coding agents, you already need a merge queue.
The honest picture: the headline savings assume you have the scale problem Trunk solves — small teams will pay for sophistication they never use. Intelligent batching means your PR merges alongside strangers' code, which some teams find uncomfortable, and quarantine decisions are only as good as the failure data you feed in via JUnit uploads. It is also firmly GitHub-centric; GitLab and other hosts get less love.
What it can do
- Parallel merge queues with intelligent batching
- Automatic bisection of failed batches
- Flaky test detection, quarantine, and analytics
- Predictive testing against the future state of main
- AI-assisted flaky test repair via MCP (in beta with design partners)
Setup
Install the Trunk GitHub app, add the analytics uploader step to your CI workflow (JUnit XML upload), and configure merge queue rules in the Trunk dashboard. Developers merge with '/trunk merge' or a PR checkbox.
Prerequisites
GitHub repositories; CI that emits JUnit XML test reports for flake detection.
Use cases
Works with
Trust score — 8/10
Scored 8/10 (verified tier, metrics-v1). Evidence: Verified via vendor site/docs/GitHub and reputable coverage, wave 52; Trending score 76/100 from researcher assessment.
Sources
Every fact above was checked against these sources. Where a claim comes from the provider and couldn't be independently verified, the text says so.