pub fn refresh_reports_human(
session: Option<AdminSession>,
pool: &State<DbPool>,
) -> Result<Redirect, AdminReject>Expand description
The human twin of refresh_reports: the jobs-dashboard “Refresh reports now” button. Gated
by the signed-in AdminSession cookie (the jobs dashboard is signed-in-only; anonymous →
sign-in), spawns the same debounced refresh job, and redirects to /jobs where the admin
watches it run — the async UI pattern (no blocking, no JS).