Commit 7a6cf25
committed
fix(agents): increment failed instead of skipped for stale orphaned subagent runs (fixes #90766)
When a stale unended subagent run is detected, increment 'failed' instead of
'skipped' so scheduleOrphanRecovery can retry finalization. Previously the stale
branch only incremented 'skipped' and the fire-and-forget Promise.allSettled
finalization would silently drop errors.
ClawSweeper P2: 'Make stale finalization retry-visible'1 parent 84d8ba0 commit 7a6cf25
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
259 | 262 | | |
260 | | - | |
| 263 | + | |
261 | 264 | | |
262 | 265 | | |
263 | 266 | | |
| |||
0 commit comments