Files
orca/config/scripts/test-runtime
Brennan Benson ae2ed119a4 fix(test): exit vitest workers when their runner dies (#42928)
* fix(test): exit vitest workers when their runner dies

Bun fork workers outlived a killed Vitest main process for hours at ~1GB each.
A preload in every worker polls the parent and exits once it is gone; the
node-runtime worker's disconnect listener moves into it because Bun stops
delivering Vitest's IPC messages once a 'disconnect' listener exists.

* fix(test): probe the worker's parent with the real process.kill

Tests that mock process.kill made the parent probe exit the worker.
2026-11-15 18:58:48 -08:00
..