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
Commit cb816c9
Browse filesBrowse the repository at this point in the historyBrowse files
fix(server): Claude background subagents end when their wake can't run on Claude
A Claude wake buffered after the thread switched providers was dispatched
as an ordinary continuation and ran on the thread's current provider, which
cannot replay Claude's buffer. The adapter's sticky continuation flag then
suppressed every later wake, so the reported subagents stayed running until
a server restart (#17099).
The continuation worker now drops an adapter-buffered wake when the provider
instance that buffered it is no longer the thread's current instance, as it
already did for archived threads. ClaudeAdapterV2 implements clearIfCurrent
and dispatchIfCurrent: a dropped or failed continuation clears the sticky
flag, ends the buffered subagents with the status their task_notification
reports through the turn that settled last, and discards the buffer.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
0 commit comments