You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Site Audit: detail page hangs on the spinner forever when polling times out — no retry, actions hidden #612
The audit detail page polls getAudit every 3s with a 120-second deadline. If the audit is still running when the deadline expires, the loop exits silently: audit.status stays 'running', the page keeps showing the spinner card ("~30s") indefinitely, and — because the header's re-run and delete buttons are hidden precisely while status === 'running' — the user has no affordance left except a manual browser reload. The stage label also freezes on the last stage after ~16s, reinforcing the "stuck" impression.
Track a timedOut flag when the deadline expires while still running. Render a distinct card ("This audit is taking longer than expected") with a "Check again" button that restarts the poll loop, and stop hiding the delete action in that state so the user can clean up a genuinely stuck audit. Add the new strings to the audit namespace in messages/en.json.
Acceptance criteria
After the polling deadline, the user sees an explicit "taking longer than expected" state with a working "Check again" action — never an endless spinner.
The audit becomes viewable if a later check finds it completed.
Activity
BharadwajKanneveti commentedon Aug 3, 2026
@gkhngyk I will work on this issue.