Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

fix: ignore stale JSON-RPC socket closes

7 months ago

25931dc
Authored
mweinbach3/22/2026, 1:50:13 PM
Guard workspace socket lifecycle callbacks against stale socket instances so a deferred close from an old socket cannot clear active control state after a server URL swap.

Add a focused desktop regression that defers the old socket close until after the replacement socket opens, record the verification evidence in tasks/todo.md, and keep the change scoped to the shared JSON-RPC socket helper.

Parent49b5c3b

3 files changed
  • apps/desktop/src/app/store.helpers/jsonRpcSocket.ts+10−0
  • apps/desktop/test/control-socket.test.ts+38−0
  • tasks/todo.md+12−0