[bug] Tower frontend shows perpetual INITIALIZING with no error state #7
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
When the backend is unreachable, the Tower World frontend stays on
"INITIALIZING..." indefinitely with a black screen. No error message,
no retry option, no indication of what's wrong. Users stare at a dead screen.
Solution
Implement a timeout + retry + error flow:
Acceptance Criteria
Files
#connection-statuselement)Reported By
Perplexity Comet automated browser test, 2026-03-19
PR #11 created.
The core bug: if
main.jsfails to load (network error, CORS, etc.), the existing retry logic never runs and the user sees "INITIALIZING" forever.Fix adds an inline 8-second fallback timeout that detects if
main.jsnever booted and transitions the HUD to an error state with retry button and/api/uifallback link. Also shows the fallback link in all offline states (including after WebSocket retries exhaust).