v0.10.51 - Fix orphaned workstream blocking runner restart
Changes
- fix: Mark orphaned workstreams as
failedincloseStaleParallelSessionsso stale parallel sessions auto-close when runners are stopped
Problem
When runners were stopped (SIGTERM or runners stop --all), workstream status stayed running. This caused hasActiveParallelSessionForProject to always return true, making wakeup skip every project indefinitely — even with no live runners.
Fix
closeStaleParallelSessions now runs a preflight step: any workstream whose session has no alive runners is marked failed. The existing session-close logic then auto-closes the session in the same call.