SwarmOps
ReferenceCommandsswarmops queue wait

Page kind: Reference

swarmops queue wait#

Describes v0.13.0Last changed View as Markdown

Wait for entry ID to land, starting its runner when none runs.

A landed entry answers; a removed one is its removal's error (details.reason): a failed or timed-out check is E_CHECK_FAILED, a conflict E_CONFLICT, a deleted ref E_REF_NOT_FOUND, a withdrawal E_NOTHING_TO_LAND. An entry still open at --timeout is E_QUEUE_WAIT_TIMEOUT (exit 4): it stays queued.

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

Syntax#

Syntax
swarmops queue wait [OPTIONS] <ID>

Required arguments#

Syntax: <ID>.

The entry's id.

Optional arguments#

The command also takes the global options.

Syntax: --timeout <S>.

The most seconds to wait (default: until it lands or is removed).

Examples#

No recorded example yet.

No recorded example yet.

Return information#

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

FieldTypeRequiredDescription
basestringyesWhere the change starts, a full id.
candidatestring or nullnoThe candidate changeset of its latest round: the chain up to it on the target's head.
checkstring or nullnoThe check a verdict or a removal names.
headstringyesThe change's head, a full id.
idstringyesThe entry's id: 64 hex digits.
keystring or nullnoThe key it was enqueued with; omitted when none.
landedstring or nullnoThe target's changeset that holds its change, once landed.
positioninteger or nullnoIts place among the target's open entries, from 1 in enqueue order; omitted once it landed or was removed.
removalRemovalReason or nullnoWhy it was removed, once removed.
reportstring or nullnoThe blob that holds a removal's report: the conflict report, or the check's output.
stateQueueEntryStateyesWhere it stands.
targetstringyesThe ref it lands on.
treestring or nullnoThe root tree of that candidate, or of the prefix a removal names.
verdictVerdictState or nullnoThe verdict recorded for tree; omitted while there is none.

Envelope op: queue_wait.

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