---
title: "Merge Queue Tools Compared"
description: "GitHub merge queue, Mergify, Trunk, Aviator, Graphite and GitLab merge trains compared on batching, parallel testing, monorepo lanes and hosting, with a guide to picking one."
url: https://mergify.com/learn/merge-queue/tools
---

[← Back to merge queue guide](https://mergify.com/learn/merge-queue)Merge queue guide

# Merge Queue Tools Compared

On GitHub, your options are GitHub's built-in merge queue, Mergify, Trunk, Aviator and Graphite. On GitLab, it is merge trains. Pick on four things: daily PR volume, monorepo layout, what your CI costs, and where your code is allowed to run.

By [Julien Danjou](https://mergify.com/about), Co-founder & CEO of MergifyUpdated November 18, 2026

## What separates one merge queue from another?

Every tool on this page keeps main green the same basic way: it tests each pull request against main plus the PRs ahead of it, and merges only what passed. (If that sentence is new to you, start with [what a merge queue is](https://mergify.com/learn/merge-queue).) Where they differ is how many CI runs that costs, and everything built around it.

Where your code lives

This cuts the list in half before anything else. Mergify, Aviator, Graphite and GitHub's own queue only work with GitHub. GitLab has merge trains built in, and Trunk added GitLab.com support in beta.

How the queue tests

A serial queue tests one PR at a time, so you merge at most one PR per CI run. [Speculative testing](https://mergify.com/learn/merge-queue/speculative-merging) runs several PRs at once, each on top of the ones ahead of it. [Batching](https://mergify.com/learn/merge-queue/batching) tests several PRs in a single CI run and splits the batch to find the culprit when it fails. Speculation cuts the wait; batching cuts the CI bill.

Monorepo lanes

With a single line, a CSS fix waits behind a database migration it shares no files with. Lanes (scopes, impacted targets or affected targets, depending on the vendor) let unrelated PRs test and merge side by side. On a monorepo, this column matters more than any other. See [parallel queues](https://mergify.com/learn/merge-queue/parallel-queues).

How it fits your CI

GitLab merge trains need GitLab CI with merged results pipelines. GitHub's queue triggers GitHub Actions through the `merge_group` event, so workflows need that trigger. Mergify tests in the PR itself or in a temporary draft PR, so your existing `push` and `pull_request` workflows run there on any CI. Whatever you pick, check it handles [two-step CI](https://mergify.com/learn/merge-queue/two-step-ci): cheap checks on the PR, the full suite only in the queue.

Configuration

Config in a file gets reviewed like code. Mergify reads `.mergify.yml` and Aviator has its own configuration file. GitHub's queue lives in branch protection or rulesets, and Trunk is set up in its web app, with a Terraform provider for teams that want queue settings in code.

Priority, pause and freezes

Hotfixes need to jump the line without wrecking it. In GitHub's queue, moving a PR to the top rebuilds every group in progress, and GitLab's "Merge immediately" restarts the train. Mergify routes PRs into priority levels by label or rule. For releases and holidays, check whether a freeze can be scheduled: Mergify schedules freezes with exceptions for hotfixes, Aviator pauses and unpauses on a cron, Trunk pauses on demand, and GitHub's queue has neither a pause nor a scheduled freeze.

Queue analytics

When the queue slows down, you want wait times and failure rates over several weeks to see why. Mergify, Trunk and Aviator have queue dashboards. GitHub shows the queue as it stands now, with no history.

Stacked pull requests

No longer a reason to pick one tool over another. Graphite is built on stacks and Aviator has its own stacking CLI. GitHub's native stacked pull requests, in public preview, are landed in order by both Trunk's queue and Mergify's.

Hosting

SaaS is the default. If code cannot leave your network, read the Hosting column first: it rules out more tools than any feature does.

## How do the merge queue tools compare?

One row per tool, filled in from each vendor's own documentation. Where the docs say nothing, the cell says so instead of guessing.

Reviewed November 2026

Merge queue tools compared by forge, batching, parallel testing, monorepo lanes, hosting and best fit. Reviewed November 2026.
| Tool | Forge | Batching | Parallel testing | Monorepo lanes | Hosting | Best for |
| --- | --- | --- | --- | --- | --- | --- |
| GitHub merge queue | GitHub.com and GitHub Enterprise Server | No. Merges groups, but one CI run per PR | Yes, up to 100 builds at once | No | Built into GitHub | One team, one repo, fast CI |
| Mergify | GitHub.com and GitHub Enterprise Server 3.14+ | Yes, splits a failed batch to find the culprit | Yes, speculative checks | Yes, scopes from file patterns or Bazel, Nx, Turborepo, Pants | SaaS, or self-hosted Enterprise Server | Busy GitHub repos, monorepos, self-hosted GitHub Enterprise Server |
| Trunk Merge Queue | GitHub; GitLab.com in beta | Yes, halves a failed batch to find the culprit | Yes, predictive testing | Yes, impacted targets (Bazel, Nx or API) | SaaS; on-premise in private preview | Bazel or Nx monorepos, companies on both GitHub and GitLab.com |
| Aviator MergeQueue | GitHub | Yes, bisects a failed batch | Yes, parallel mode | Yes, affected targets (Scale plan) | SaaS, or on-premise (Enterprise plan) | Teams also using Aviator's review tools |
| Graphite merge queue | GitHub (Enterprise Server on the Enterprise plan) | Private beta | Yes, Parallel CI across stacks | Not documented | SaaS only | Teams that already stack and review in Graphite |
| GitLab merge trains | GitLab | No. One pipeline per merge request | Yes, up to 20 pipelines by default | Not documented | GitLab.com, Self-Managed, Dedicated (Premium and Ultimate) | Code on GitLab, CI on GitLab CI |
| Uber SubmitQueue (open source) | GitHub, or a plain git repository | See project docs | Yes, speculative | See project docs | Self-hosted, Apache 2.0 | Platform teams that want to run the queue themselves |

Sources, all first-party:[GitHub](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue), [GitLab](https://docs.gitlab.com/ci/pipelines/merge_trains/), [Trunk](https://docs.trunk.io/merge-queue), [Aviator](https://docs.aviator.co/mergequeue), [Graphite](https://graphite.com/docs/graphite-merge-queue), [Mergify](https://docs.mergify.com/merge-queue/), [SubmitQueue](https://github.com/uber/submitqueue), [bors-ng](https://github.com/bors-ng/bors-ng).These tools ship changes every month, so check the vendor's docs before you sign anything.

## What is each merge queue good at?

### GitHub merge queue

Free and built into GitHub.com and GitHub Enterprise Server. You switch it on in branch protection or a ruleset. It tests each PR on top of the ones ahead of it and can run up to 100 of those builds at once, which is real speculative testing. It stops short on cost: merge limits let it land several PRs in one go, and each queued PR still gets its own CI run. A failure rebuilds everything behind it, and there are no lanes or queue analytics.

**Pick it when** you are one team on one repo, CI takes under 15 minutes and you merge fewer than 20 PRs a day. You can have it running this afternoon with our [setup guide](https://mergify.com/guides/setup-github-merge-queue). Where it falls short: [Mergify vs GitHub merge queue](https://mergify.com/compare/github-merge-queue).

### Mergify

Our queue, configured in `.mergify.yml`. It batches PRs and splits a failed batch to find the culprit, and it runs speculative checks. Scopes become parallel lanes, either from file patterns or from what Bazel, Nx, Turborepo or Pants say a PR affects. Priority levels, scheduled freezes, two-step CI and queue analytics come with it. It pairs with Test Engine, so a known flaky test can be quarantined instead of kicking a PR out of the queue. It runs as SaaS or as Enterprise Server inside your network, against GitHub.com or GitHub Enterprise Server 3.14 and newer. It does not support GitLab.

**Pick it when** queue CI is a line on your bill, you run a monorepo, flaky tests keep kicking PRs out of the queue, or you need a self-hosted queue next to GitHub Enterprise Server. [See how it works](https://mergify.com/product/merge-queue).

### Trunk Merge Queue

The closest match to Mergify on queue mechanics: predictive testing, batching that halves a failed batch until it finds the PR that broke it, priority merging, and parallel lanes built from impacted targets that ready-made Bazel and Nx actions (or your own API call) upload for each PR. It is the only tool here with GitLab support next to GitHub, on GitLab.com and in beta. Trunk sells a flaky test product alongside the queue. On-premise is in private preview, described on Trunk's roadmap as a data plane in your AWS account with Trunk running the control plane.

**Pick it when** you have GitLab.com repositories next to GitHub ones and can work with a beta, or your team already runs Trunk's flaky test product. Head to head: [Mergify vs Trunk](https://mergify.com/compare/trunk).

### Aviator MergeQueue

Aviator's default mode tests one PR at a time. Parallel mode opens a bot PR for each queued PR on top of the ones ahead of it, batches them, and bisects a failed batch. Affected targets split a monorepo into independent queues, on Aviator's Scale plan. It runs hosted, or on-premise with Helm or Docker Compose on the Enterprise plan. Aviator also sells code review and AI code verification tools next to the queue.

**Pick it when** you want Aviator's review tools from the same vendor, or you need an on-premise queue on your own Kubernetes cluster. Head to head: [Mergify vs Aviator](https://mergify.com/compare/aviator).

### Graphite merge queue

Built for stacks. Graphite validates a whole stack in parallel and can fast-forward merge it, and its Parallel CI tests several stacks at once, speculatively. Batching is in private beta, and the docs describe no monorepo lanes. The queue starts on Graphite's Team plan and is SaaS only: GitHub Enterprise Server is supported on the Enterprise plan through an IP allow list, and there is no self-hosted Graphite.

**Pick it when** your team already reviews stacks in Graphite and the queue's job is to land them. If you later need batching or lanes, keep Graphite for review and put another queue underneath. One caveat if that queue is Mergify: it recognizes GitHub's native stacks, so a Graphite stack queues as separate PRs. More in [Mergify vs Graphite](https://mergify.com/compare/graphite).

### GitLab merge trains

Built into GitLab Premium and Ultimate, on GitLab.com, Self-Managed and Dedicated. Each merge request gets a merged results pipeline that includes the merge requests ahead of it, and up to 20 of those run in parallel by default. A failed pipeline drops its merge request and restarts every pipeline behind it. There is no batching, so every merge request costs one pipeline.

**Pick it when** your code is on GitLab and your CI is GitLab CI. Mergify does not run on GitLab, so we are not on your list; Trunk's beta is the third-party option.

### Open-source options

bors-ng was archived on April 4, 2024, and its README now points to GitHub's merge queue. Teams still running it have a [bors migration guide](https://mergify.com/migrate/bors). The newer open-source option is Uber's SubmitQueue, under Apache 2.0: it validates changes in parallel against predicted future states of main and, when one fails, isolates it and retries the rest. It ships a GitHub provider and is under active development. You run every piece of it yourself.

**Pick it when** a platform team wants to own the queue and has the people to run it in production.

## Which merge queue should you pick?

Find the row that sounds like your team. When two rows match, start from the one that rules tools out: where your code lives and where it is allowed to run.

| Your situation | Start with |
| --- | --- |
| One team, one repo on GitHub, CI under 15 minutes, fewer than 20 PRs a day | GitHub's merge queue. Revisit when queue CI starts showing up on the bill. |
| CI is slow or expensive, and approved PRs wait in line | A queue that batches and splits failures: Mergify, Trunk or Aviator. |
| Monorepo with services that rarely touch each other | One with lanes: Mergify scopes, Trunk impacted targets, Aviator affected targets. |
| Code on GitLab, CI on GitLab CI | Merge trains. Trunk's GitLab.com beta if you want a third-party queue. |
| GitHub and GitLab repositories in the same company | Trunk is the only tool here that covers both, with GitLab in beta. Or one queue per forge. |
| Code must stay inside your network | GitHub's queue on Enterprise Server, Mergify Enterprise Server, Aviator on-premise, or GitLab Self-Managed. |
| Your team already reviews stacks in Graphite | Graphite's queue while volume is moderate. A dedicated queue underneath once you need batching or lanes. |
| You want to own and operate the queue | SubmitQueue. Skip bors-ng, it is archived. |

Still deciding whether you need a queue at all? Read [merge queue vs direct merging](https://mergify.com/learn/merge-queue/vs-direct-merge) first. On GitHub and past the first row? That is the case [Mergify's merge queue](https://mergify.com/product/merge-queue) was built for.

## FAQ

### What is the best merge queue for GitHub?

It depends on volume and repository layout. For one team on one repo with fast CI, GitHub's built-in merge queue is free and enough. Once CI runs per merge get expensive, or a monorepo needs lanes, a dedicated queue such as Mergify, Trunk or Aviator adds batching with bisection, parallel lanes, priority levels and queue analytics.

### What are the alternatives to GitHub merge queue?

The commercial ones are Mergify, Trunk Merge Queue, Aviator MergeQueue and Graphite's merge queue, all of which run on GitHub. The main open-source option is Uber's SubmitQueue, which you host yourself. bors-ng, the older open-source merge bot, was archived in April 2024 and its README recommends GitHub's merge queue instead.

### Does GitLab have a merge queue?

Yes. GitLab calls it merge trains, available on the Premium and Ultimate tiers for GitLab.com, Self-Managed and Dedicated. Each merge request runs its own merged results pipeline, and up to 20 run in parallel by default. Trunk Merge Queue also supports GitLab.com, in beta. Mergify works with GitHub only.

### Why does batching matter if a queue already tests in parallel?

Parallel (speculative) testing cuts the wait, but every queued pull request still costs one CI run. Batching tests several pull requests in one run, so eight queued PRs can cost one run instead of eight when they pass. GitHub's queue and GitLab merge trains run one pipeline per PR. Mergify, Trunk and Aviator batch and split a failed batch to find the culprit.

### Which merge queues can be self-hosted?

GitHub's merge queue runs on GitHub Enterprise Server, and GitLab merge trains run on GitLab Self-Managed. Among third-party tools, Mergify Enterprise Server runs inside your network against GitHub Enterprise Server 3.14 or newer, and Aviator has an on-premise install with Helm or Docker Compose on its Enterprise plan. SubmitQueue is open source and self-hosted by design. Trunk's on-premise option is in private preview, and Graphite has no self-hosted deployment.

### Can I run two merge queues on the same repository?

No. Only one queue can own merging into a given branch, so you pick one per repository. Running different queues on different repositories is fine, and it is the usual way to trial a replacement without touching your busiest repos.

## Outgrown GitHub's merge queue?

Batching that splits a failed run to find the culprit, and a lane for every scope in your monorepo. Free for open source and teams up to 5.

[See the product](https://mergify.com/product/merge-queue)[Talk to our team](https://mergify.com/discovery)
