Scope
Activate the byte-identical js/bun/glob/leak.test.ts corpus as the native subprocess follow-on to #126.
The four upstream tests each warm the linked native Glob implementation for 1,000 iterations, measure RSS around another 100,000 operations, force GC, and fail if growth exceeds the ASAN-aware threshold. Coverage includes sync and async scan plus GlobWalker lifetime.
Baseline
The exact file is currently rewritten to one native todo:
- 0 pass
- 0 fail
- 0 unsupported
- 1 todo
The local file is byte-identical to ~/Code/bun.
Acceptance
- Preserve upstream byte identity and original 1,000/100,000 iteration counts.
- Run all four active leak tests through real home-debug --smol -e subprocesses.
- Use the linked native Bun.Glob and process RSS measurements; do not synthesize a passing memory result.
- Preserve the original 100 MB normal / 400 MB ASAN thresholds.
- Add a permanent unchanged-corpus regression.
- Pass the exact file, existing Glob suite, and full home_test gate.
- Commit and push as Chris Breuer with no coauthors.
- Link completion to #66 and #126.