Files
kilocode/packages/kilo-vscode/tests
Marius 9fa2e18704 fix(vscode): prevent question submission freeze (#12285)
* fix(vscode): capture stable request ID before QuestionDock disposal

QuestionDock is mounted through a non-keyed callback-form Solid <Show>
in AssistantMessage. When a question is answered, the <Show> condition
becomes false and Solid disposes the component. The onCleanup handler
re-read props.request.id, which calls the already-disposed <Show>
narrowing accessor, throwing 'Stale read from <Show>'. The uncaught
exception left the webview unresponsive after every question submission.

Capture the request ID at component setup while the accessor is still
valid, and use the stable value in both the effect and the cleanup.

* test(vscode): exercise question submission teardown
2026-07-16 16:23:23 +02:00
..
2026-07-15 18:45:17 +00:00