Problem
bb422ed correctly removed the non-standardized FinalizationRegistry.prototype.cleanupSome, but deterministic GC tests/fuzzers and GC docs still called or described it. Current main CI failed in ordinary unit, TSan unit, and lifecycle/broad fuzz jobs with TypeError: value is not a function at those stale calls.
Scope
- keep FinalizationRegistry.prototype.cleanupSome absent
- delete the unreachable native cleanupSome implementation
- add a clearly test-shell-only deterministic drain for already-queued automatic cleanup jobs
- migrate unit/fuzz checkpoints without changing their cleanup assertions
- update GC comments/docs to describe automatic host cleanup jobs
- require green Actions
This is a harness/runtime-contract migration, not restoration of backward compatibility.
Evidence
- Fix:
f658843 - Final Actions run: https://github.com/zig-utils/zig-js/actions/runs/29275718376
- Result: 31 jobs passed, 0 failed; nightly job skipped as expected.