test(checks): the cache contract reads Longshot's scripts/devtools/packs.py, and the launcher carries its two new caches #238

Merged
HumanBean merged 1 commit from HumanBean/LongshotLauncher:fix/ci-devtools-packs into main 2026-11-21 21:26:43 +00:00
Owner

"Compile and test" has failed on every push to main since Longshot#1802 moved scripts/dev_packs.py to scripts/devtools/packs.py: the core tests stop at the missing file, so nothing on main has been checked since, and the next stable can't be cut on a green main.

Summary

  • tests/test_launcher_core.py reads Longshot's cache list from scripts/devtools/packs.py (its CACHES and PLAY_FILES are unchanged in form).
  • Core/ShaderCaches.cs: Longshot's CACHES gained two files since the launcher last matched it, and Names now lists them, in its order:
    • longshot_vk_pipelines.base (Longshot#1927), which the launcher already knew as a Newer cache "into Names once the pin has them"; Newer goes.
    • longshot_textures_drawn.bin (Longshot#1122, the textures a draw sampled, for RX_VK_TEX_AHEAD).
      So both are carried to a new build with the other caches, as Longshot's own packs copy them.
  • Comments naming the old path follow.

Testing

  • python3 -I -B tests/test_launcher_core.py --strict --longshot <Longshot main @ origin/main, from git archive>, as CI runs it: 2656 checks passed (before the change: FileNotFoundError: .../scripts/dev_packs.py, then the Names mismatch).
  • Pull requests here only run the title check, so this is what main's CI will run after the merge.

Risks

  • A build updated by this launcher now also copies longshot_vk_pipelines.base and longshot_textures_drawn.bin when they exist; an older Longshot ignores files it doesn't know.

🤖 Generated with Claude Code

"Compile and test" has failed on every push to `main` since Longshot#1802 moved `scripts/dev_packs.py` to `scripts/devtools/packs.py`: the core tests stop at the missing file, so nothing on main has been checked since, and the next stable can't be cut on a green main. ## Summary - `tests/test_launcher_core.py` reads Longshot's cache list from `scripts/devtools/packs.py` (its `CACHES` and `PLAY_FILES` are unchanged in form). - `Core/ShaderCaches.cs`: Longshot's `CACHES` gained two files since the launcher last matched it, and `Names` now lists them, in its order: - `longshot_vk_pipelines.base` (Longshot#1927), which the launcher already knew as a `Newer` cache "into Names once the pin has them"; `Newer` goes. - `longshot_textures_drawn.bin` (Longshot#1122, the textures a draw sampled, for `RX_VK_TEX_AHEAD`). So both are carried to a new build with the other caches, as Longshot's own packs copy them. - Comments naming the old path follow. ## Testing - `python3 -I -B tests/test_launcher_core.py --strict --longshot <Longshot main @ origin/main, from git archive>`, as CI runs it: 2656 checks passed (before the change: `FileNotFoundError: .../scripts/dev_packs.py`, then the `Names` mismatch). - Pull requests here only run the title check, so this is what main's CI will run after the merge. ## Risks - A build updated by this launcher now also copies `longshot_vk_pipelines.base` and `longshot_textures_drawn.bin` when they exist; an older Longshot ignores files it doesn't know. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
test(checks): the cache contract reads Longshot's scripts/devtools/packs.py, and the launcher carries its two new caches
All checks were successful
CI / Compile and test (pull_request) Has been skipped
CI / Conventional Commit title (pull_request) Successful in 16s
8adf23601d
Longshot#1802 moved scripts/dev_packs.py to scripts/devtools/packs.py, so the core tests on main stopped at a missing
file. Its CACHES also gained longshot_vk_pipelines.base (Longshot#1927; until now the launcher's Newer list) and
longshot_textures_drawn.bin (Longshot#1122), which Names now lists in the same order.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
HumanBean deleted branch fix/ci-devtools-packs 2026-11-21 21:26:43 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/LongshotLauncher!238
No description provided.