Repository navigation
Conversation
A cut write leaves `<file>.tmp-<pid>-<n>` behind. use_pipeline_cache now removes the regular files of that form for host-pipelines.bin and early-pipelines.txt: the own pid's at once, other pids' once 10 minutes old (the folder is shared). Anything else, or a file of unknown age, stays. Part of Marvisak#2496. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Automated triage for the maintainers. Proposed close as a duplicate of the earlier open #2510. #2510 adds the same sweep to Generated by Claude Code |
|
Closing in favor of earlier #2510, which covers the same staging-file sweep (including prebuilt-pipelines.txt) and has been scoped to the sweep. |
Part of #2496 (the stale staging-file sweep half only). The
save()lock half is covered by #2328; this diff does not touchsave(), so it stays disjoint from #2328, #2326 and #2327.use_pipeline_cache()now removes the staging files a cutwrite_atomically()left behind:host-pipelines.bin.tmp-<digits>-<digits>orearly-pipelines.txt.tmp-<digits>-<digits>(ASCII digits, non-empty). Checked withsymlink_metadata(), so symlinks and directories are never followed or removed.use_pipeline_cache().Tests (CPU only,
VICTORY_D3D12_WARP=1):.tmp-foo-1, empty parts,+, extra parts and non-ASCII digits.Checked:
cargo test -p victory-gpu --locked --lib pipeline::library,cargo clippy -p victory-gpu --all-targets --lockedandcargo xtask policyall pass. No game files, dumps, shader names or retail hashes were used.AI-assisted: Claude Code (Claude Sonnet 5.5).
🤖 Generated with Claude Code