-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
area:runtime-nodeArea: Node runtime bridgeArea: Node runtime bridgepriority:p1Priority P1 (high)Priority P1 (high)
Milestone
Description
Problem
send() catches IPC write errors (e.g., EPIPE) and throws, but leaves this.child intact. Subsequent calls keep trying to write to the same broken stdin without reinitializing, causing repeated failures instead of recovering.
Evidence
src/runtime/node.ts: insend(), write errors clear the pending entry but do not resetthis.child,initPromise, orbridgeInfo.
Acceptance criteria
- On stdin write failure, clear the current child process, reset
initPromise/bridgeInfo, and ensure the next call reinitializes. - Add a regression test using a fixture that closes stdin or triggers EPIPE.
Metadata
Metadata
Assignees
Labels
area:runtime-nodeArea: Node runtime bridgeArea: Node runtime bridgepriority:p1Priority P1 (high)Priority P1 (high)