Skip to content

v0.10.51 - Fix orphaned workstream blocking runner restart

Choose a tag to compare

@rafiki270 rafiki270 released this 27 Feb 20:49
· 348 commits to main since this release

Changes

  • fix: Mark orphaned workstreams as failed in closeStaleParallelSessions so 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.

Compare v0.10.50...v0.10.51