fix(tests): the one-variant cache test builds with the compressed program cache in the tree #2861

Closed
github-sync wants to merge 1 commit from github/pr/2861 into main
Owner

@hckrman101 opened this pull request on GitHub · 2026-11-12 17:29 UTC · original
Merged on GitHub in fe5e2cb829

The one-variant cache test does not compile on main since #2760 was merged together with #1630: the save and read its fixture cuts from vk_progcache.cpp now name disk_zstd and the zstd calls. #2760 was merged before its CI finished on the merge with main, so this was not caught there.

Test files only:

  • the fixture gets the stand-ins the cleanup test already has for the compressed cache;
  • one new case: with the compressed cache on, a record is not read without its code (the read that unpacks is used).

tests/test_program_cache_one_variant.py passes on Linux with this on current main. The renderer is not changed.

> [@hckrman101](https://github.com/hckrman101) opened this pull request on GitHub · 2026-11-12 17:29 UTC · [original](https://github.com/NotRexed/Hookshot/pull/2861) > **Merged on GitHub** in https://git.magicbean.dev/MagicBeanDev/Hookshot/commit/fe5e2cb8290e3e6bd6e4136773a56dd2e3d483d1 The one-variant cache test does not compile on main since #2760 was merged together with #1630: the save and read its fixture cuts from `vk_progcache.cpp` now name `disk_zstd` and the zstd calls. #2760 was merged before its CI finished on the merge with main, so this was not caught there. Test files only: - the fixture gets the stand-ins the cleanup test already has for the compressed cache; - one new case: with the compressed cache on, a record is not read without its code (the read that unpacks is used). `tests/test_program_cache_one_variant.py` passes on Linux with this on current main. The renderer is not changed. <!-- github-sync:item:2861 -->
Since #1630 the save and read this test's fixture cuts from vk_progcache.cpp name disk_zstd and the zstd calls, so the
fixture did not compile on main once #2760 was merged with it. The fixture gets the stand-ins the cleanup test has, and
one new case: with the compressed cache on, a record is not read without its code (the read that unpacks is used).

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Author
Owner

@mooki000 commented on GitHub · 2026-11-12 17:56 UTC · original

Tested on Linux: with this merged onto main 65a4d874, tests/test_program_cache_one_variant.py builds and passes again, with GCC 16.2 and with Clang 23.1 (head a36da047). The 19 other checks that take their source from vk_progcache.cpp pass too, both compilers.

I had a fixture fix of my own in work when you opened this; it is dropped in favour of yours. Not tested here: Windows (your pull request's own checks cover that).

> [@mooki000](https://github.com/mooki000) commented on GitHub · 2026-11-12 17:56 UTC · [original](https://github.com/NotRexed/Hookshot/pull/2861#issuecomment-6831612018) Tested on Linux: **with this merged onto main `65a4d874`, `tests/test_program_cache_one_variant.py` builds and passes again**, with GCC 16.2 and with Clang 23.1 (head `a36da047`). The 19 other checks that take their source from `vk_progcache.cpp` pass too, both compilers. I had a fixture fix of my own in work when you opened this; it is dropped in favour of yours. Not tested here: Windows (your pull request's own checks cover that). <!-- github-sync:c:6831612018 -->
github-sync closed this pull request 2026-11-12 19:02:59 +00:00
Commenting is not possible because the repository is archived.
No description provided.