The queue (#11618)

Every open issue, in the order the dispatcher will start them. The /next page, the terminal Next screen, the API and the next_up tool all read the one list in src/core/next_up.ts (nextUp); none keeps an order of its own.

Order: what a person sent from an app, then the ranked issues by place (a ranked issue that cannot start sits at its place; the dispatcher passes it), then the ready ones nobody ranked, then the unranked open issues that cannot start, by number. Work behind the Later gate is not in it; it is counted as notNow.

Each row has a state, derived from the dependency graph and not from the wording of why:

Reading the order

The repository's queue page (/<owner>/<name>/queue) lists "Next to be taken": the rows the crew will take, numbered 1.. in the picker's order, each with its chapter when it has one. The queue API and the terminal's Next up use the same order and numbers.

API

GET /api/v1/repos/<owner>/<name>/queue (anonymous for a public repository; a private one is 404 to a guest).

The next_up tool

next_up with app lists the top ten; all: true lists them all. more counts what is not in next. Each row carries state and why.

Bounds

One list carries at most 200 unranked rows that cannot start (REST_MAX); the rest is unlisted, said on the page and in more. The ready and ranked rows are not capped: they are what the dispatcher works through.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs