Skip to content

fix(pi-subagents): let successful children exit with lifeline active - #45

Merged
tasercake merged 1 commit into
mainfrom
fix/pi-subagents-lifeline-exit
Jul 26, 2026
Merged

fix(pi-subagents): let successful children exit with lifeline active#45
tasercake merged 1 commit into
mainfrom
fix/pi-subagents-lifeline-exit

Conversation

@tasercake

Copy link
Copy Markdown
Owner

Summary

  • wrap the child lifeline fd in an unref'd net.Socket instead of a blocking fs.ReadStream
  • preserve EOF-based parent-death and recursive termination behavior
  • add regressions for natural child exit and active-child termination on parent EOF

Tests

  • node --experimental-strip-types --test test/unit/*.test.ts (Node v24.18.0): 55 passed, 1 skipped
  • tsc --noEmit -p tsconfig.json: existing baseline errors only; no new diagnostics

@tasercake
tasercake merged commit 126424e into main Jul 26, 2026
1 check passed
@tasercake
tasercake deleted the fix/pi-subagents-lifeline-exit branch July 26, 2026 03:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant