async fn terminal_outcome_alerts(
conn: &mut PgConnection,
now: DateTime<Utc>,
depths: &[(CreditRegistrationState, i64)],
) -> ModelResult<Vec<CreditRegistrationAlert>>Expand description
The three rules read off the last day’s terminal outcomes: failures piling up, reversals, and a pipeline that finished nothing while holding work.