Context
If a write to parent stdout returns WouldBlock (EAGAIN), pipe_stdio fails the task and fast-fail kills the remaining tasks with exit code 137. This still happens even with ensureBlockingStdio() (voidzero-dev/vite-plus#2173), as an uncached task inherits the same stdout where Node sets O_NONBLOCK again after startup.
Reported in voidzero-dev/vite-plus#2824. Follow-up to #506 and #552.
Reproduction
Context
If a write to parent stdout returns
WouldBlock(EAGAIN),pipe_stdiofails the task and fast-fail kills the remaining tasks with exit code 137. This still happens even withensureBlockingStdio()(voidzero-dev/vite-plus#2173), as an uncached task inherits the same stdout where Node setsO_NONBLOCKagain after startup.Reported in voidzero-dev/vite-plus#2824. Follow-up to #506 and #552.
Reproduction