Skip to content

v0.8.1

Choose a tag to compare

@fro-bot fro-bot released this 10 Jul 23:42
· 45 commits to main since this release
f0782b5

Patch Changes

  • fb5bc47: Fix: space-bus serve --foreground now reaps a surviving daemon child on the supervision death path. The managed daemon is a harness wrapper plus an opencode child in the same process group; when the wrapper died but the child survived, the supervisor exited fail-closed without signaling the group, leaving the child orphaned and holding its port. The death path now group-signals the surviving members before exiting, guarded so it never signals a process that recycled the wrapper pid (it fires only when the leader is dead and its group is still alive, which cannot be a recycled pgid).
  • 930d698: Fix: stopServer now reaps a surviving orphaned child when the recorded managed wrapper has already died (identity verification fails). Previously this branch cleaned up the discovery record but never reaped the process group, leaking the wrapper's opencode child (still holding its port) whenever the wrapper died alone before a stop was requested. This brings the dead-wrapper branch to parity with the existing supervision died-path reap, reusing the same guarded reapSurvivingGroup (no-op for a live/recycled leader; no-op if the whole group is already dead). stopServer's return value is unchanged (stopped: false) — reaping an orphan is best-effort cleanup, not a verified stop.