Skip to main content

Module dispatch

Module dispatch 

Source
Expand description

Running one iteration of one phase, and the bookkeeping around it: the pause and scope checks, the heartbeat, the circuit breakers and the limiter.

Structs§

PhaseContext
Everything a phase iteration needs from its caller: the worker loop or the test tick endpoint.

Enums§

PhaseSkipReason
PhaseTick
What one dispatch attempt did.
Runner
Who runs a phase iteration.

Functions§

run_body 🔒
The one place a phase implementation is registered: exhaustive over CreditRegistrationPhase, so a variant added there without an arm here fails to compile. Each phase gets only what it touches, and a phase that asks the study registry gets the iteration’s registry beside it.
run_phase_once
Runs exactly one iteration of one phase.
worker_name 🔒
The audit log’s worker_name, which the database caps at 64 characters.