mirror of
https://github.com/morluto/rea.git
synced 2026-11-19 13:12:26 +00:00
* test(gpu): protect CUDA 0x2000 LZ4 payload identity CUDA LZ4 entries were decodable through the shared block decoder, but no public workflow selected a 0x2000 entry and checked the retained PTX bytes. The fixture builder offered only none/zstd/legacy, so the profile dispatch in readCudaFatbinary had no decoded-payload control. Add an lz4 fixture profile backed by a single literal sequence, extend the existing boundary matrix to it, and add boundary plus CLI/MCP regressions that assert compression_id, decoded size, retained PTX text and the decoded digest. A malformed decoded-length control covers the rejection path. Temporarily disabling the 0x2000 profile selection makes all three new cases fail. Verified with npm run check:fast and the GPU boundary, acceptance, inventory and LZ4 suites (161 passed). No native liblz4 or CUDA compiler is required. * style(gpu): apply repository formatting * test(gpu): follow the shared CLI session rename in the code-object test Upstream #10412 removed runFileCli from the CLI fixture and moved every acceptance test onto the file-level shared process (cli.run). Rebasing onto current main left this new LZ4 assertion calling the deleted helper, so the whole file failed with a ReferenceError and the shared worker was torn down for the rest of the suite.