CLI reference / queue

stado queue

Invocation

stado queue <COMMAND>

Purpose

Maintenance mode: pause/resume dispatching, and drain the fleet

Required inputs and options

This command has no command-specific inputs or options.

Output and state effect

This command group selects one of the subcommands listed below; use its exact child invocation to perform an operation.

Refusals

  • Before dispatch, Stado refuses a missing required token shown in the invocation, an unknown option, or a value outside a listed value set; argument-usage failures exit with code 2.

Subcommands

  • pause — Stop dispatching and claiming; running jobs finish untouched
  • resume — Resume dispatching and claiming
  • status — Pause state plus how much work is queued and still running
  • drain — Pause, then report whether any job is still running. Exits non-zero while running/ is not empty
  • budget — What the fleet has spent on compiling today, and the ceiling it is measured against. `--limit` declares a new ceiling