Skip to main content

Module queue

Module queue 

Source
Expand description

Work that has been asked for and not yet dispatched.

§Why a queued flight is not just a flight

A flight in motion needs nothing but itself. By the time it moves, the run it triggers has already had its prompt composed, and the pipeline’s flags are baked into that text — so the flags have done their job and the flight can forget them.

A queued flight has not reached that moment. Nothing has composed a prompt, because nothing has spawned a process. The pipeline it was triggered through and the flags the operator chose therefore have to survive in storage until something dispatches it, which may be after a restart and will certainly be after the request that set them has returned.

Storing only the Flight loses both, silently: the operator sets run_e2e, the dialog reports success, and the run — whenever it happens — is composed as though they had not.

Structs§

Queued
A flight waiting to be dispatched, with the instructions needed to dispatch it.