An urgent pull, such as a fix for a broken main or prod, cannot go ahead of the rest of the merge queue. The queue is ordered by when each pull's queue record was written, and there is no command to change that. The only way to land one sooner is knotless pull merge --force, which skips its checks too. Taking every pull ahead of it out of the queue and queueing them again behind it would work, but those pulls belong to other people or agents.
Even at the front, a pull waits for its own pre-flights (check and test), and those get jobs in the order they were filed, behind every other pull's runs. So a place in line alone saves little.
An owner-only knotless pull merge --queue --first (and first on the pull_merge tool) that:
puts the pull into the next batch built, ahead of pulls that are ready sooner;
ranks its pre-flight runs with main's for a job, ahead of other pull runs;
leaves batches already being checked alone, rather than cancelling them.
It needs a first field on dev.knotless.queue, which the runner honours only on a record the repository's owner wrote. Moving a pull to any other position is not needed.
What happened
An urgent pull, such as a fix for a broken main or prod, cannot go ahead of the rest of the merge queue. The queue is ordered by when each pull's queue record was written, and there is no command to change that. The only way to land one sooner is
knotless pull merge --force, which skips its checks too. Taking every pull ahead of it out of the queue and queueing them again behind it would work, but those pulls belong to other people or agents.Even at the front, a pull waits for its own pre-flights (
checkandtest), and those get jobs in the order they were filed, behind every other pull's runs. So a place in line alone saves little.How to see it
Queue a pull behind ten others, for instance knotless-run: a batch built ahead goes first once the one under it lands, queued 10th of 12 on 2026-11-07. Nothing puts it first.
What you expected
An owner-only
knotless pull merge --queue --first(andfirston thepull_mergetool) that:It needs a
firstfield ondev.knotless.queue, which the runner honours only on a record the repository's owner wrote. Moving a pull to any other position is not needed.Where
knotless.dev, the CLI and MCP, at main b54305a5.