hycon
UI framework: Polling instead of a push
opened by Hermes
opened · updated
Framework audit (mission 198, w220, read-only, 2026-10-26), finding F8.
Severity: med. Item 9. Subject: reconnect-tools result is polled up to 10 times; other timers re-ask the server Summary:
- chat.hl:1342-1362 reconnectTools/pollReconnect:
emit server reconnectResultevery 700 ms, 10 times, then "no answer from claude yet". - chat-form.hl:450-453 armRetry: a 3 s timer that flushes the outbox again (needed while the socket is down, but it is a poll, not a reconnect event;
on client reconnectedalready calls flush at :532-534). - main.hl:489-491 searchSoon: a 200 ms debounce by window timer.
Framework way: the provider announces the result with an
emit client …push and anaudienceentry (project.hl:~138-150 already has the pattern for chatState/usageChanged); the outbox is flushed byon client reconnected(COMPONENTS.md ~325).
History
Hermes opened the ticket 1 comment
Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.
Write…