fix(shader-cache): remove stale temporary files from the cache root #7731

Closed
tibzejoker wants to merge 1 commit from upstream-pr/7731 into main
tibzejoker commented 2026-10-19 03:39:57 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by tibzejoker on 2026-10-19T03:39:57Z.


What

The shader cache's housekeeping removes *.tmp.* files older than one hour, but only in the current version subdirectory. The Vulkan pipeline cache (vk-pipelines-*.bin) is saved with WriteFileAtomically in the cache root, one level up. A run that stops while that file is being saved (killed, crashed, closed during the save) leaves its temporary file in the root, and nothing ever removes it.

For a large title the pipeline cache is big: here it is 2.5 GB, and three runs stopped during the save left 7.2 GB of vk-pipelines-*.bin.tmp.* files in shader_cache/. Housekeeping now applies the same one-hour rule to the root as well. Only regular files whose name contains .tmp. are removed; recent ones are kept because another run may still be writing them. USAGE.md now describes this.

Tested

Windows 11, MinGW GCC 15.2:

  • New case in agc_shader_disk_cache (--housekeeping child process). The cache root holds a pipeline cache file, a temporary file two hours old, and a recent temporary file. A process looks up a shader there and shuts the cache down. The old temporary file must be gone; the other two must remain. On main it fails with a temporary file left in the cache root by an interrupted write survived housekeeping.
  • ctest -R "agc_shader_disk_cache|agc_driver_graphics|agc_driver_pipeline|agc_driver_recorder|agc_driver_shutdown": 26/26.
  • tools/check_conventions.py --base upstream/main: passed.
  • Found in GTA V (PPSA04264): the files were left by test runs that were stopped while the game saved its pipeline cache.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a (file housekeeping; the test does not use the GPU)
  • AI-assisted: yes (Claude Code)

🤖 Generated with Claude Code

https://claude.ai/code/session_01XBXM4pgkMHYEtqN1EQni2P

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4915464253 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7731). Originally posted by [tibzejoker](https://github.com/tibzejoker) on 2026-10-19T03:39:57Z. --- ### What The shader cache's housekeeping removes `*.tmp.*` files older than one hour, but only in the current version subdirectory. The Vulkan pipeline cache (`vk-pipelines-*.bin`) is saved with `WriteFileAtomically` in the cache root, one level up. A run that stops while that file is being saved (killed, crashed, closed during the save) leaves its temporary file in the root, and nothing ever removes it. For a large title the pipeline cache is big: here it is 2.5 GB, and three runs stopped during the save left 7.2 GB of `vk-pipelines-*.bin.tmp.*` files in `shader_cache/`. Housekeeping now applies the same one-hour rule to the root as well. Only regular files whose name contains `.tmp.` are removed; recent ones are kept because another run may still be writing them. USAGE.md now describes this. ### Tested Windows 11, MinGW GCC 15.2: - New case in `agc_shader_disk_cache` (`--housekeeping` child process). The cache root holds a pipeline cache file, a temporary file two hours old, and a recent temporary file. A process looks up a shader there and shuts the cache down. The old temporary file must be gone; the other two must remain. On `main` it fails with `a temporary file left in the cache root by an interrupted write survived housekeeping`. - `ctest -R "agc_shader_disk_cache|agc_driver_graphics|agc_driver_pipeline|agc_driver_recorder|agc_driver_shutdown"`: 26/26. - `tools/check_conventions.py --base upstream/main`: passed. - Found in GTA V (PPSA04264): the files were left by test runs that were stopped while the game saved its pipeline cache. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except technical debt - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's technical debt file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a (file housekeeping; the test does not use the GPU) - [x] AI-assisted: yes (Claude Code) 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01XBXM4pgkMHYEtqN1EQni2P
github-actions[bot] commented 2026-10-19 03:58:40 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-19T03:58:40Z.


Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 3786 docs/user/USAGE.md
PR 3998 docs/user/USAGE.md
PR 4847 docs/user/USAGE.md
PR 5021 docs/user/USAGE.md
PR 5315 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
PR 5500 core/shader/recompiler/ShaderDiskCache.cpp
PR 5609 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 5656 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 5925 core/shader/recompiler/ShaderDiskCache.cpp
docs/user/USAGE.md
PR 6171 docs/user/USAGE.md
PR 6177 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
PR 6235 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
PR 6280 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 6412 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 6488 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 6539 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 6586 docs/user/USAGE.md
PR 6788 docs/user/USAGE.md
PR 6858 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 6879 core/shader/recompiler/ShaderDiskCache.cpp
PR 6924 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
docs/user/USAGE.md
PR 6946 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
docs/user/USAGE.md
PR 6947 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
docs/user/USAGE.md
PR 6959 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 6970 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 6977 core/shader/recompiler/ShaderDiskCache.cpp
PR 7085 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 7223 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 7332 docs/user/USAGE.md
PR 7395 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 7417 docs/user/USAGE.md
PR 7450 docs/user/USAGE.md
PR 7484 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
PR 7520 core/shader/recompiler/ShaderDiskCache.cpp
PR 7550 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 7622 core/shader/recompiler/ShaderDiskCache.cpp
PR 7642 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
docs/user/USAGE.md
PR 7684 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 7689 core/shader/recompiler/ShaderDiskCache.cpp
PR 7800 docs/user/USAGE.md
PR 7831 core/shader/recompiler/ShaderDiskCache.cpp
PR 7862 docs/user/USAGE.md
PR 7873 docs/user/USAGE.md
PR 7888 core/shader/recompiler/ShaderDiskCache.cpp
PR 7918 docs/user/USAGE.md
PR 7933 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 7942 docs/user/USAGE.md
PR 7945 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 7966 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 8016 docs/user/USAGE.md
PR 8058 docs/user/USAGE.md
PR 8077 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 8134 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
PR 8145 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 8162 docs/user/USAGE.md
PR 8273 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
PR 8295 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6259330989 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7731#issuecomment-6259330989). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-19T03:58:40Z. --- <!-- pr-overlap --> Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap. | Pull request | Shared files not compared | |---|---| | [PR 3786](https://www.github.com/boykopovar/AnyPS5/pull/3786) | `docs/user/USAGE.md` | | [PR 3998](https://www.github.com/boykopovar/AnyPS5/pull/3998) | `docs/user/USAGE.md` | | [PR 4847](https://www.github.com/boykopovar/AnyPS5/pull/4847) | `docs/user/USAGE.md` | | [PR 5021](https://www.github.com/boykopovar/AnyPS5/pull/5021) | `docs/user/USAGE.md` | | [PR 5315](https://www.github.com/boykopovar/AnyPS5/pull/5315) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp` | | [PR 5500](https://www.github.com/boykopovar/AnyPS5/pull/5500) | `core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 5609](https://www.github.com/boykopovar/AnyPS5/pull/5609) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 5656](https://www.github.com/boykopovar/AnyPS5/pull/5656) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 5925](https://www.github.com/boykopovar/AnyPS5/pull/5925) | `core/shader/recompiler/ShaderDiskCache.cpp`<br>`docs/user/USAGE.md` | | [PR 6171](https://www.github.com/boykopovar/AnyPS5/pull/6171) | `docs/user/USAGE.md` | | [PR 6177](https://www.github.com/boykopovar/AnyPS5/pull/6177) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp` | | [PR 6235](https://www.github.com/boykopovar/AnyPS5/pull/6235) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp` | | [PR 6280](https://www.github.com/boykopovar/AnyPS5/pull/6280) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 6412](https://www.github.com/boykopovar/AnyPS5/pull/6412) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 6488](https://www.github.com/boykopovar/AnyPS5/pull/6488) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 6539](https://www.github.com/boykopovar/AnyPS5/pull/6539) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 6586](https://www.github.com/boykopovar/AnyPS5/pull/6586) | `docs/user/USAGE.md` | | [PR 6788](https://www.github.com/boykopovar/AnyPS5/pull/6788) | `docs/user/USAGE.md` | | [PR 6858](https://www.github.com/boykopovar/AnyPS5/pull/6858) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 6879](https://www.github.com/boykopovar/AnyPS5/pull/6879) | `core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 6924](https://www.github.com/boykopovar/AnyPS5/pull/6924) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp`<br>`docs/user/USAGE.md` | | [PR 6946](https://www.github.com/boykopovar/AnyPS5/pull/6946) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp`<br>`docs/user/USAGE.md` | | [PR 6947](https://www.github.com/boykopovar/AnyPS5/pull/6947) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp`<br>`docs/user/USAGE.md` | | [PR 6959](https://www.github.com/boykopovar/AnyPS5/pull/6959) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 6970](https://www.github.com/boykopovar/AnyPS5/pull/6970) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 6977](https://www.github.com/boykopovar/AnyPS5/pull/6977) | `core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 7085](https://www.github.com/boykopovar/AnyPS5/pull/7085) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 7223](https://www.github.com/boykopovar/AnyPS5/pull/7223) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 7332](https://www.github.com/boykopovar/AnyPS5/pull/7332) | `docs/user/USAGE.md` | | [PR 7395](https://www.github.com/boykopovar/AnyPS5/pull/7395) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 7417](https://www.github.com/boykopovar/AnyPS5/pull/7417) | `docs/user/USAGE.md` | | [PR 7450](https://www.github.com/boykopovar/AnyPS5/pull/7450) | `docs/user/USAGE.md` | | [PR 7484](https://www.github.com/boykopovar/AnyPS5/pull/7484) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp` | | [PR 7520](https://www.github.com/boykopovar/AnyPS5/pull/7520) | `core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 7550](https://www.github.com/boykopovar/AnyPS5/pull/7550) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 7622](https://www.github.com/boykopovar/AnyPS5/pull/7622) | `core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 7642](https://www.github.com/boykopovar/AnyPS5/pull/7642) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp`<br>`docs/user/USAGE.md` | | [PR 7684](https://www.github.com/boykopovar/AnyPS5/pull/7684) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 7689](https://www.github.com/boykopovar/AnyPS5/pull/7689) | `core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 7800](https://www.github.com/boykopovar/AnyPS5/pull/7800) | `docs/user/USAGE.md` | | [PR 7831](https://www.github.com/boykopovar/AnyPS5/pull/7831) | `core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 7862](https://www.github.com/boykopovar/AnyPS5/pull/7862) | `docs/user/USAGE.md` | | [PR 7873](https://www.github.com/boykopovar/AnyPS5/pull/7873) | `docs/user/USAGE.md` | | [PR 7888](https://www.github.com/boykopovar/AnyPS5/pull/7888) | `core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 7918](https://www.github.com/boykopovar/AnyPS5/pull/7918) | `docs/user/USAGE.md` | | [PR 7933](https://www.github.com/boykopovar/AnyPS5/pull/7933) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 7942](https://www.github.com/boykopovar/AnyPS5/pull/7942) | `docs/user/USAGE.md` | | [PR 7945](https://www.github.com/boykopovar/AnyPS5/pull/7945) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 7966](https://www.github.com/boykopovar/AnyPS5/pull/7966) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 8016](https://www.github.com/boykopovar/AnyPS5/pull/8016) | `docs/user/USAGE.md` | | [PR 8058](https://www.github.com/boykopovar/AnyPS5/pull/8058) | `docs/user/USAGE.md` | | [PR 8077](https://www.github.com/boykopovar/AnyPS5/pull/8077) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 8134](https://www.github.com/boykopovar/AnyPS5/pull/8134) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp` | | [PR 8145](https://www.github.com/boykopovar/AnyPS5/pull/8145) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 8162](https://www.github.com/boykopovar/AnyPS5/pull/8162) | `docs/user/USAGE.md` | | [PR 8273](https://www.github.com/boykopovar/AnyPS5/pull/8273) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp` | | [PR 8295](https://www.github.com/boykopovar/AnyPS5/pull/8295) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` |
tibzejoker commented 2026-10-19 04:00:29 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by tibzejoker on 2026-10-19T04:00:29Z.


Overlap with #6771 (@XairRrR): that PR moves vk-pipelines-*.bin into the version subdirectory, where the existing one-hour rule already removes temporary files. If #6771 merges, the pipeline cache's own temporaries are covered without this change. What this PR would still do then is remove the files that older builds left in the root. That is a one-off cleanup, and deleting them by hand works just as well.

So: if #6771 is going in, I'm fine closing this one; it may be worth adding the root cleanup there instead. If #6771 stalls, this is the smaller fix for the leak. The USAGE.md line conflicts textually either way. I'll rebase whichever stays open.

Written with AI assistance (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6259349672 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7731#issuecomment-6259349672). Originally posted by [tibzejoker](https://github.com/tibzejoker) on 2026-10-19T04:00:29Z. --- Overlap with #6771 (@XairRrR): that PR moves `vk-pipelines-*.bin` into the version subdirectory, where the existing one-hour rule already removes temporary files. If #6771 merges, the pipeline cache's own temporaries are covered without this change. What this PR would still do then is remove the files that older builds left in the root. That is a one-off cleanup, and deleting them by hand works just as well. So: if #6771 is going in, I'm fine closing this one; it may be worth adding the root cleanup there instead. If #6771 stalls, this is the smaller fix for the leak. The USAGE.md line conflicts textually either way. I'll rebase whichever stays open. Written with AI assistance (Claude Code).
tibzejoker commented 2026-10-20 09:18:55 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by tibzejoker on 2026-10-20T09:18:55Z.


Closing this as superseded by #6771 (merged as 907c9cd1b).

#6771 moved vk-pipelines-*.bin into the current version's subdirectory, so the *.tmp.* file left by an interrupted save now lands there. The existing housekeeping already removes stale temporaries in that subdirectory, so the case this PR fixed no longer happens on main.

One thing is still left over. Files that older builds wrote to the cache root stay there: a vk-pipelines-*.bin from before #6771, and any *.tmp.* beside it. Here that came to 2.5 GB for the old pipeline file plus 7.2 GB of temporaries. Deleting them by hand is safe. If you would rather have a one-time cleanup of the root, I can open a small PR for it.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6287689676 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7731#issuecomment-6287689676). Originally posted by [tibzejoker](https://github.com/tibzejoker) on 2026-10-20T09:18:55Z. --- Closing this as superseded by #6771 (merged as 907c9cd1b). #6771 moved `vk-pipelines-*.bin` into the current version's subdirectory, so the `*.tmp.*` file left by an interrupted save now lands there. The existing housekeeping already removes stale temporaries in that subdirectory, so the case this PR fixed no longer happens on `main`. One thing is still left over. Files that older builds wrote to the cache root stay there: a `vk-pipelines-*.bin` from before #6771, and any `*.tmp.*` beside it. Here that came to 2.5 GB for the old pipeline file plus 7.2 GB of temporaries. Deleting them by hand is safe. If you would rather have a one-time cleanup of the root, I can open a small PR for it. AI-assisted: yes (Claude Code)

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
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.

Reference
boykopovar/AnyPS5!7731
No description provided.