uberblick/ub-agents v0.5.4
Configuration · Queue

Configuration

Queue

Decides what runs next: higher priority first. At equal priority, work already under way, such as open pull requests, goes before new issues, and older items go before newer ones. Issues wait for their blockers.

queue:
  priority:
    labels: [priority:urgent, priority:high, priority:normal, priority:low]
    default: priority:normal
  milestones: order
  dependencies: wait

Priority

Priority labels, highest first. Items without one get the default. Pull requests take the priority of the issues they close. To add priorities to an existing setup, run ub-agents init --create-priorities.

priority:
  labels: [priority:high, priority:low]
  default: priority:low

Milestones

Milestones go in order by title, comparing numbers as numbers, for example v0.5.9 before v0.5.10.

milestones: gate

Dependencies

With wait (the default), an issue doesn't start while a GitHub "blocked by" issue is open. The blocker inherits the priority of the work it blocks and, with order, gate or strict-gate, its earliest milestone. ignore turns this off.

dependencies: wait

See the order

ub-agents status lists ready issues in the order this launcher would start them, with each item's priority and where it came from. With gate, it also says why earlier milestones were passed over; with strict-gate, it names the milestone waiting to be closed when no issue in it can start.

$ ub-agents status

Key reference

queue is an optional mapping.

KeyType and defaultRules
priority.labelsListNonempty, unique labels, highest first.
priority.defaultLabel, optionalMust be one of labels.
milestonesignore (default), order, gate or strict-gateHow milestones rank new issues.
dependencieswait (default) or ignoreWhether issues wait for open blockers.

Without queue, items have equal priority, milestones are ignored and dependency waits apply. The launcher never changes priority labels. See selection order for exact ranking, priority inheritance, milestone membership and dependency reads.