Parent tracker: #66. Follow-up to completed block-scalar work in #737, #708, and #711.
Completed on Darwin in 801e8f84b5e633e5cc0fa9eecf119d7ef6ae4c6c, using the 3 unchanged files from Bun pin 4982b91e3702094330f3be3883354c52b8c01323:
- Home baseline: 1,911 pass / 23 upstream TODO / 180 fail / 14 snapshots / 12,939 assertions.
- First checkpoint
9c4dca881: 2,047 pass / 23 upstream TODO / 44 fail / 14 snapshots / 13,053 assertions. - Completed Home result: 2,091 pass / 23 upstream TODO / 0 fail / 14 snapshots / 13,198 assertions.
- Pinned Bun control: 2,091 pass / 23 upstream TODO / 0 fail / 14 snapshots / 13,198 assertions.
Exact files:
test/js/bun/yaml/yaml-block-scalar-matrix.test.tstest/js/bun/yaml/yaml-test-suite.test.tstest/js/bun/yaml/yaml.test.ts
The final native Zig port covers BOM and line-start tracking, Core-schema numbers, block scalar folding and indentation, explicit and implicit keys, flow pairs and JSON-style keys, tag/anchor ownership on empty nodes, tab-taint propagation, document boundaries, bounded alias expansion, indexed and bounded merge materialization, and safe collision-free stringify anchor names. Parse, import-loader, and stringify paths remain in Home's native implementation; no fixture, deadline, assertion, snapshot, skip, or TODO was changed.
Verification:
- focused final regressions: 21 pass / 0 fail / 123 assertions;
- exact full YAML tranche: 2,091 pass / 23 upstream TODO / 0 fail / 14 snapshots / 13,198 assertions;
- deadline-sensitive alias/merge safety tests: pass in roughly 65–104 ms;
- ReleaseFast JSC build: 46/46 steps, bounded peak 14,344 MB under the 15,360 MB ceiling;
- commit authored and committed as Chris Breuer without coauthors and pushed to
origin/main.
The 23 TODOs are the same upstream TODO cases in the pinned Bun control and are intentionally preserved as TODOs.