Repository navigation
Commit 0b4e599
committed
fix(server): restart recovery wakes delegated children waiting on background work
Runtime restart recovery followed every subagent row's provider thread,
including app-owned delegated-task rows. The parent's reconcile then
cleared a delegated child's awaited background roster on its own stream
and recorded no cancelled work on the child, so the child never got the
restart note or a continuation. Limit both the runtime candidate join and
the runtime recovery projection's subagent provider threads to
provider-native subagents; a delegated child owns its provider thread.
Fixes #28208
AI-assisted; verified with the tests and tools listed above.1 parent 22d48dc commit 0b4e599
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4512 | 4512 | | |
4513 | 4513 | | |
4514 | 4514 | | |
| 4515 | + | |
| 4516 | + | |
4515 | 4517 | | |
4516 | 4518 | | |
4517 | 4519 | | |
| |||
5029 | 5031 | | |
5030 | 5032 | | |
5031 | 5033 | | |
| 5034 | + | |
5032 | 5035 | | |
5033 | 5036 | | |
5034 | 5037 | | |
| |||
0 commit comments