Skip to content

Commit 85d5723

Browse files
tarunraviclaude
andcommitted
fix(server): Stop reaches background work behind a pre-start interrupt
Follow-up to "Stop ends background work an earlier run left running". When the latest run was interrupted before its provider turn started, it has no provider turn, so Stop found nothing to interrupt and failed. The orchestrator now falls back to the provider thread's latest turn when background work is pending. Releasing the session to stop off-roster background work is skipped for providers whose sessions serve several app threads (Codex), since closing the session would also end the other threads' work. The integration test now builds Claude and Codex scenarios from one harness and covers both cases. The "Use T3 subagents only" setting notes that it applies to Claude sessions started after the change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 99b07da commit 85d5723

5 files changed

Lines changed: 342 additions & 230 deletions

File tree

0 commit comments

Comments
 (0)