# Ordering and priority | MergeRamp Docs

Canonical page: https://www.mergeramp.com/docs/ordering

Queue behavior

## Ordering and priority

See how hotfix labels, auto-merge enrollment, and holds determine the next PR.

Last updated on 7 November 2026  [Read as Markdown](https://www.mergeramp.com/docs/ordering.md)

MergeRamp orders priority PRs before ordinary PRs, then uses queue entry time, then PR number to break ties. The currently active PR retains its slot while it remains eligible, even when a new `hotfix` PR arrives.

## Priority and ordinary PRs

The current **priority label** is `hotfix`. Within each priority group, earlier queue entry comes first. Queue entry time is the later of enabling GitHub auto-merge and the most recent removal of a **hold label**. This is enrollment order, not PR creation time.

For example, if PR A is active, ordinary PR B is waiting, and `hotfix` PR C arrives, A continues. C is ordered ahead of B for subsequent selection. Displayed position and the active marker may therefore differ.

## Holds, drafts, and missing approvals

The current **hold labels** are `hold`, `do-not-merge`, and `wip`. A held PR, draft PR, or PR missing required approval stays in the queue but is skipped when choosing work.

Removing a **hold label** gives the PR a new queue entry time, placing it behind PRs already waiting in the same priority group. It does not interrupt another eligible active PR. If any **hold label** remains, the PR is still ineligible. Unknown approval or mergeability evidence also prevents selection.

For example, ordinary PRs A and B both have the `hold` label. If B is released first and A second, B comes before A, even if auto-merge was originally enabled on A first. Holding and releasing B again puts it behind A. A `hotfix` PR still takes priority over ordinary waiting PRs.

Normal CI reruns and branch updates do not reset queue entry time.

If an active PR becomes ineligible in strict mode, MergeRamp confirms that the previous `mergeramp` check is blocking before passing the check on another PR. See [failures and recovery](https://www.mergeramp.com/docs/failures).

## Leaving and re-entering

A closed, merged, or auto-merge-disabled PR is removed after GitHub state is observed. If you later enable auto-merge again, its new enrollment time participates in ordering. The **priority label** still applies.

## Optional mode

MergeRamp uses the same ordering to select branch-update work in optional mode. GitHub may merge a different PR independently, so this is not a promise of merge order. See [mode differences](https://www.mergeramp.com/docs/queue-modes).

Still have a question? [Contact support](mailto:info@mergeramp.com) with your repository, PR link, and the status you see.
