Goal
Ship the current release/0.2.5829 train on the pinned Zig 0.17.0-dev.813+2153f8143 toolchain while preserving 1:1 search/index behavior and making the migrated binary materially faster than the Zig 0.16.0 baseline.
Implementation: #674
Scope
- migrate the build, runtime, CI, release workflow, WASM target, and dependencies to the pinned Zig 0.17 development snapshot;
- preserve all retrieval contracts, including malformed/fragmented posting-list fallbacks and persisted-index behavior;
- optimize exact-word lookup, Tier-0 search aggregation, CLI startup, and cold trigram construction;
- add differential/parity coverage for optimized and defensive paths;
- document migration details, same-machine A/B methodology, measured gains, and remaining bottlenecks.
Acceptance criteria
Benchmark baseline
Same-machine native arm64 ReleaseFast, immutable git archive corpus, Zig 0.16.0 at 428d8df versus the Zig 0.17 working tree. The migrated tree was initially effectively flat/slightly slower on cold paths, providing the red baseline for the optimization work. Full methodology and results are in #674, CHANGELOG.md, and docs/zig-0.17-migration.md.
Goal
Ship the current
release/0.2.5829train on the pinned Zig0.17.0-dev.813+2153f8143toolchain while preserving 1:1 search/index behavior and making the migrated binary materially faster than the Zig 0.16.0 baseline.Implementation: #674
Scope
Acceptance criteria
zig build test --summary allpasses (892/896; 4 platform skips)Benchmark baseline
Same-machine native arm64
ReleaseFast, immutablegit archivecorpus, Zig 0.16.0 at428d8dfversus the Zig 0.17 working tree. The migrated tree was initially effectively flat/slightly slower on cold paths, providing the red baseline for the optimization work. Full methodology and results are in #674,CHANGELOG.md, anddocs/zig-0.17-migration.md.