Developer Debugs Claude Code UI Freeze Caused by Delayed Event Queue Between CLI and Extension
On the night of August 14, a developer using the Claude Code VS Code extension noticed a discrepancy: a custom notification hook signaled a completed AI turn while the extension still showed the session as running. Rather than missing data, the issue turned out to be a backlogged event queue, with old output trickling onto the screen well after the CLI had finished processing. Session logs and router records confirmed the model responded successfully in 1.7 seconds with an HTTP 200, ruling out any upstream failure. Process inspection showed the stalled session had no open sockets or child processes, indicating it was waiting on something local, likely a pipe. Isolation testing across terminal and extension combinations pointed to the specific interaction between the extension and a self-hosted third-party router as the source of the delayed stream delivery.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in