What is merge queue?

Definition

The queue controls when accepted changes enter the target branch. It can test a change against the latest branch state or a candidate group, helping detect interactions that isolated pull-request checks would miss.

Queue throughput depends on test duration, grouping and failure handling. A passing candidate must remain bound to the exact revisions tested, and queue policies should not turn speed into permission to skip required review.

ELI5

Think of people waiting to attach parts to the same machine. A coordinator checks the next planned combination before allowing those parts into the finished assembly.

For example, two pull requests that pass separately may alter the same behavior incompatibly. A merge queue can test them together before updating the main branch.

Why are separate pull-request checks insufficient?

They may not include other changes that will be merged at nearly the same time.

Does a merge queue replace review?

No. It coordinates integration and checks, while required human or independent review remains a separate safeguard.

  1. Gautam Korlam wearing glasses and a light-blue top on the left beside the blue and white Verify Agent Code headline on black.
Definition card for merge queue: What is merge queue?

A merge queue orders proposed software changes and checks candidate combinations before integrating them into a shared branch.