async fn run_if_due( ctx: &PhaseContext<'_>, phase: CreditRegistrationPhase, ) -> CreditRegistrationResult<()>