pub async fn count_pending_by_reason(
conn: &mut PgConnection,
) -> ModelResult<PendingReasonCounts>Expand description
Live pending rows per blocker, for the surfaces that used to read the three collapsed states
off the ledger. Derived from credit_registration_preconditions, so it cannot disagree with what
the recompute is waiting for or with what the student is shown.