cpu: compare blast window continuation and callback refusal #470

Manually merged
github merged 1 commit from gh-pr/470/head into gh-pr/470/base 2026-11-26 21:54:24 +00:00
Owner

@⁠R0Y00 on GitHub · 2026-11-22 05:36 UTC · original
R0Y00:codex/blast-window → main · +54 −5 · 3 files · 1 commits · merged 2026-11-22 05:42 UTC

Refs #461. Continue the existing three-way archive reader comparison. A distance-three match crosses the window, followed by a distinct trailing literal; compare every published byte against an independent expectation. A longer record causes the second full-window callback to refuse; the previously staged 4096 bytes must stay unpublished. Both cases assert the ordered trace, exit code, completed count and two allocations/frees. Native Windows, pe_map and the translated reader and decoder all agree. No translator change was needed.

Local x64 Windows MSVC 19.51, built archive_all_lifted, pe_map and archive_reader_lifted. Both ctest --preset dev --no-tests=error -R '^cpu_native_archive_' -V and ctest --preset release --no-tests=error -R '^cpu_native_archive_' -V passed 2/2. Success published 4113 bytes and exited 0; refusal published 13 bytes and exited 2.

**@⁠R0Y00** on GitHub · 2026-11-22 05:36 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/470) `R0Y00:codex/blast-window` → `main` · +54 −5 · 3 files · 1 commits · merged 2026-11-22 05:42 UTC Refs #461. Continue the existing three-way archive reader comparison. A distance-three match crosses the window, followed by a distinct trailing literal; compare every published byte against an independent expectation. A longer record causes the second full-window callback to refuse; the previously staged 4096 bytes must stay unpublished. Both cases assert the ordered trace, exit code, completed count and two allocations/frees. Native Windows, pe_map and the translated reader and decoder all agree. No translator change was needed. Local x64 Windows MSVC 19.51, built archive_all_lifted, pe_map and archive_reader_lifted. Both `ctest --preset dev --no-tests=error -R '^cpu_native_archive_' -V` and `ctest --preset release --no-tests=error -R '^cpu_native_archive_' -V` passed 2/2. Success published 4113 bytes and exited 0; refusal published 13 bytes and exited 2.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 21:54:23 +00:00
github manually merged commit 962969e1b6 into gh-pr/470/base 2026-11-26 21:54:24 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.