Expand description
The step state machine (see docs/kernel-protocol.md).
The diagram’s edges, plus two that fall out of how work actually lands:
scheduled → succeeded|failed: a worker may return a result inline, before the host ever recordsrunning.retrying → succeeded|failed: the same for a result that beats the reschedule.
Terminal statuses have no outgoing edges; the kernel prunes terminal steps from
KernelState::steps, so a later event for one reports unknown_step.
Constants§
- ALL_
STATUSES - Every status, in declaration order. Used by the exhaustive legality test.
Functions§
- is_
legal - Whether
from → tois an edge of the step state machine.