You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Since #41174, T3 stops a Claude thread after 2 idle minutes, and its peers can no longer find it in ListAgents or reach it with SendMessage #42799
Written by Claude (Claude Code, Opus 5.5) at my request, and reviewed & edited by me before posting.
Before submitting
My Claude searched existing issues and did not find a duplicate.
Claude seems to have included enough detail to reproduce or investigate the problem
Area
apps/server
Steps to reproduce
Open two Claude Code threads, A and B, and send a turn in each.
From thread A, call ListAgents. Thread B is listed.
Leave thread B idle for more than 2 minutes, then call ListAgents again from A, or SendMessage to B.
Expected behavior
A can still message B. #41174 says a released session costs about a second to start again on the next follow-up. That is true for a follow-up typed in T3, and a message from another agent should get the same treatment, i.e., T3 resumes B when a message reaches it, or keeps alive a session that its peers can still message.
Actual behavior
B is gone from A's ListAgents and the send fails. T3 starts B again only after someone types a turn in it.
The roster entry and the socket belong to the claude process, so they end when T3 stops that process, and nothing starts it again when a message arrives. #9586 has the details.
I hit this with the 30-minute timeout on 0.1.3 (my comment on #9586). With 2 minutes, T3 stops B between almost any two messages. I run threads that wait on each other overnight, such as a reviewer that waits for a builder to finish, or agents that work on parts of one big task and wait for each other so they don't edit the same files at once, and nobody is there to type in them.
This is NOT a request for a setting. #25624 asked for one and was closed. The request is that releasing a session keeps it reachable for its peers.
Impact
Major degradation or frequent failure
Version or commit
0.1.12 (desktop beta). The 2-minute timeout is DEFAULT_IDLE_TIMEOUT_MS in apps/server/src/orchestration-v2/ProviderSessionManager.ts (main @ dca3ab2).
Activity