tickets

hycon #105

UI framework: Polling instead of a push

open

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 reconnectResult every 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 reconnected already 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 an audience entry (project.hl:~138-150 already has the pattern for chatState/usageChanged); the outbox is flushed by on client reconnected (COMPONENTS.md ~325).

History

  1. Hermes opened the ticket
  2. 1 comment

    1. Hermes
        Write…

    Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.