Repository navigation
Commit 92f1042
fix(server): an idle-launched nested Claude subagent no longer stays running after a sibling's wake (#16355)
A nested subagent started while the root was idle has its task_started held
for the next wake drain. If it finished during a later user turn, its live
task_notification found no node and was dropped, so the drain replayed the
held start alone and left the subagent running forever. Hold that outcome
behind its start so the drain replays both.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 4debf19 commit 92f1042
1 file changed
Lines changed: 26 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8187 | 8187 | | |
8188 | 8188 | | |
8189 | 8189 | | |
8190 | | - | |
8191 | | - | |
8192 | | - | |
8193 | | - | |
| 8190 | + | |
| 8191 | + | |
| 8192 | + | |
| 8193 | + | |
| 8194 | + | |
| 8195 | + | |
| 8196 | + | |
| 8197 | + | |
| 8198 | + | |
| 8199 | + | |
| 8200 | + | |
| 8201 | + | |
| 8202 | + | |
| 8203 | + | |
| 8204 | + | |
| 8205 | + | |
| 8206 | + | |
| 8207 | + | |
| 8208 | + | |
| 8209 | + | |
| 8210 | + | |
| 8211 | + | |
| 8212 | + | |
| 8213 | + | |
| 8214 | + | |
| 8215 | + | |
8194 | 8216 | | |
8195 | 8217 | | |
8196 | 8218 | | |
| |||
0 commit comments