SwarmOps
ReferenceCommandsswarmops queue run

Page kind: Reference

swarmops queue run#

Describes stable at ff152d4c, ; latest release v0.13.0what changedLast changed View as Markdown

Run REF's queue until it holds no open entry; exit 0 at once when another runner does.

enqueue, wait and the other queue commands start this when a queue has work and no runner: it needs no other driver. It answers the queue as it left it.

Metadata
Group
queue
Since
0.13.0
Mutates
yes
Identity required
no
MCP tool
none
Envelope op
queue_run
Exit codes
0
Errors
none

Syntax#

Syntax
swarmops queue run [OPTIONS] <REF>

Required arguments#

Syntax: <REF>.

The ref whose queue it runs.

Optional arguments#

The command also takes the global options.

Syntax: --inflight <N>. Default: 4.

How many candidates it checks at once: 1 to 32.

Syntax: --check-timeout <S>. Default: 900.

How long one check may run, in seconds.

Examples#

No recorded example yet.

Return information#

result is a QueueStatusResp (swarmops schema QueueStatusResp prints its JSON Schema).

FieldTypeRequiredDescription
entriesarray of QueueEntryOutyesThe entries.
warningsarray of stringnoProblems found after a publish of queue run became durable, such as a signed chain's external id entries not written; the publish itself succeeded. Filled only by queue run, from every publish of the run; omitted when empty.

Envelope op: queue_run.

Exit codes:

  • 0: Success.

Errors#

No golden step shows this command failing yet.

Any command that opens a store may also fail with a store error, such as E_NOT_A_REPO, E_IO or E_STORE_CORRUPT; a command line the grammar refuses is E_INVALID_ARG (exit 2).

See also#

On this page