> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trunk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Merge Queue: Optimistic merging and pending failure depth

> Merge Queue now supports Optimistic Merging to allow failed tests to be merged if later PRs pass. Merge Queue also now supports Pending Failure Depth to allow failed tests to remain in the queue for…

Merge Queue now supports *Optimistic Merging* to allow failed tests to be merged if later PRs pass.
Merge Queue also now supports *Pending Failure Depth* to allow failed tests to remain in the queue
for longer. Combined these features can increase queue throughput and reduce latency. See
[Optimistic Merging](https://docs.trunk.io/merge/optimistic-merging) for more details.
