Expand description
Per-phase heartbeat and control for the credit registration pipeline.
One row per phase, seeded by migration and thereafter only ever updated.
Structs§
Constants§
- PHASES
- Canonical phase names, used verbatim as the
phasevalue, in the test tick endpoint, the dashboard and the audit log.
Functions§
- get_all
- get_
by_ phase - heartbeat
- Written every iteration, work or not, so idle and wedged stay distinguishable.
- is_
paused - pause
- record_
run - Closes out an iteration. Only a success moves
last_success_at, so a wedged phase stays distinguishable from a quiet one. - resume
- run_now
- Makes the phase due now; the phase loop picks it up on its next
next_run_atcheck. - set_
next_ run_ at