ReviewOS

home-lang/home

Native worker corpus: promote the complete Node parallel script matrix

#600
Closed chris opened this 10 days ago ·
10 days ago

Scope

Promote the complete exact Node parallel worker-script inventory from the pinned Bun corpus (4982b91e3702094330f3be3883354c52b8c01323) to native Home execution. The directory currently contains 58 matching test-worker*.js / test-async-hooks-worker*.js fixtures; 12 termination scripts were already native, leaving 46 newly promoted files.

The matrix covers worker data/environment data, CJS/ESM entrypoints and failures, MessageChannel/MessagePort and transfer validation, SharedArrayBuffer/Wasm transfer, ref/unref and process-exit ordering, uncaught exceptions, watcher teardown, heap snapshots, zero-fill stress, path resolution, and clean shutdown during JS/module loading.

Acceptance

  • allowlist exactly equals the 58-file vendored inventory, with one shared constant used by routing and existence tests
  • all 58 unchanged scripts pass directly in both Home Debug and pinned Bun
  • captured Debug corpus route passes 58/58
  • aggregate ReleaseSafe worker route passes 74 files / 322 assertions / 4 upstream TODO-skips / 0 failures / 0 unsupported
  • no upstream fixture, assertion, workload, timeout, or deadline changes

Implementation is ready locally and will close this issue when pushed.

10 days ago

Landed on main in ea2e6aab88ae0a046b8348e6964478739ef53af2, authored and committed by Chris Breuer with no coauthors.

Verification against pinned Bun 4982b91e3:

  • Exact inventory comparison: 58 expected / 58 routed / no differences.
  • Direct serialized differential: every one of the 58 unchanged scripts exits successfully in Home Debug and pinned Bun.
  • Captured Debug corpus route: 58 files / 58 pass / 0 fail / 0 unsupported / 0 TODO.
  • Aggregate ReleaseSafe worker corpus: 74 files / 322 pass / 4 upstream TODO-skips / 0 fail / 0 unsupported.
  • Debug and ReleaseSafe builds pass; Zig format and diff checks pass.

The 46 newly promoted scripts cover actual native worker execution; no upstream source, assertion, workload, timeout, or deadline changed.

Sign in to comment on this issue.