Skip to main content

Module credit_registration_phases

Module credit_registration_phases 

Source
Expand description

The twelve credit-registration pipeline phases and the one-iteration dispatcher.

Phases, not worker processes, are the unit of observation and control: the dashboard lists them, credit_registration_phase_state heartbeats them, and the system tests tick them individually. Both the worker loops and the test tick endpoint go through run_phase_once, so a phase cannot behave differently depending on who ran it.

Enums§

CreditRegistrationPhase
A pipeline phase. The string forms are canonical: credit_registration_phase_state.phase, the tick endpoint’s ?phase=, the dashboard’s Workers tab labels and the audit log’s target_phase.
PhaseTick
What one dispatch attempt did.

Functions§

run_phase_once
Runs exactly one iteration of one phase.