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§
- Phase
Context - Everything a phase iteration needs from its caller: the worker loop or the test tick endpoint.
Enums§
- Phase
Skip Reason - Phase
Tick - 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.