Scope
Port the worker-termination boundaries needed by the unchanged pinned Bun corpus at 4982b91e3702094330f3be3883354c52b8c01323:
- preserve Bun's post-exit
Worker.terminate()distinction (undefinedafter exit code 0, cached nonzero code otherwise) without hanging on a late close listener - distinguish JSC termination exceptions from ordinary JavaScript exceptions in
TopExceptionScope - prevent queued Immediate callbacks from running after script execution has stopped
- promote the exact 12-file Node parallel worker-termination script matrix to native corpus execution
- make captured corpus children use the current Debug/ReleaseSafe/ReleaseSmall/ReleaseFast artifact instead of falling back to a stale installed binary
Acceptance
- dedicated terminate-after-exit regression passes in Debug and ReleaseSafe
- new 12-file script matrix passes 12/12 in Debug and ReleaseSafe
- aggregate 28-file worker corpus passes 276 assertions, 4 upstream TODO/skips, 0 failures, 0 unsupported in ReleaseSafe
- no upstream fixture, assertion, workload, timeout, or deadline changes
Implementation is ready locally; this issue will be closed by the pushed commit.