Skip to main content

Worker Flows

Command flows for consuming run chunks, executing evaluator work, and persisting case results.

These flows cover the worker process that claims ready chunks, executes case attempts with bounded chunk-local parallelism, runs Wasm evaluators behind sandbox and semaphore limits, writes case results, and releases or completes work according to persisted state guards. The worker owns execution progress, while run-level orchestration remains with the coordinator.

Each command page includes:

  • an execution flow that shows claim, execute, persist, and response boundaries
  • a decision flow that shows message availability, lease handling, retry, completion, and error paths

Commands

  • Once processes at most one chunk-ready message and exits.
  • Start runs the worker loop until shutdown.