Repository navigation
stitchkit v0.108.1
·
145 commits
to master
since this release
Fixed
stitchkit/process— under Bun,runNativeCommandno longer waits for its deadline on a command
that has already exited. Bun'snode:child_processcan lose a child'sexitevent while the host
is heavily loaded insidebun test(a barespawnofsh -c 'echo x; exit 1'received no event at
all in 4 of 30 parallel runs at load average ~90), so the call hung untiltimeoutMsand failed with
Command deadline exceeded. Under Bun a command is now launched throughBun.spawn, presented to the
command owner with the same events, streams, group ownership and failure reporting; Node still uses
node:child_process. The deadline, stop policy and process-group cleanup are unchanged.