Pipeline record: one that cannot be read is not taken for an empty one #603
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/603"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from readmet3xt-lab/foxhound. Originally posted by fromthemoonx on 2026-12-04T15:21:54Z.
Closes #74.
The fault
A failed read of
known-pipelines.binorknown-shaders.binwas taken for a file whose whole entries end at 0.victory warmknew no pipelines and did not say why (#74).open_recordcuts a torn end off at that place. So where the file could not be read but could be opened for writing, it was cut to nothing.Seed::open(a title profile's list) and a run withVICTORY_PIPELINE_BOOK=1both go through it.noteandSeed::open).victory warmon a made-up record, one file held by a handle that shares writing but not reading (Windows error 32), with a list given inVICTORY_PIPELINE_LIST:main(5e44415b)known-pipelines.binknown-shaders.binHow often this happens to players I can't say; it takes a read that fails at that moment.
The change
victory warmandtitle-profile pipelinessay what failed. The launcher starts the game after a failedwarmas before; the reason is inprepare.log.warmchild process that cannot read the record ends with an error once its other threads are done. The warm then stops with its existing message and counts no pipeline bad. It used to end well, having made nothing.#87 did the first part for the pipelines' file. #589 also changes
Seed::opentoio::Result; the two conflict inknown.rs, and I'm glad to rebase whichever way round they land.Tested
b93dc5aaon Windows 11, RTX 3060 12 GB, Ryzen 7 5700X, 16 GB RAM:cargo test --workspace --locked: 1402 passed, 0 failed, 51 ignored (main: 1400, 0, 51).open_recordtakes a failed read of either file as 0.cargo xtask policy: clean.victory warmruns above, and one withknown-shaders.binheld and pipelines to make (debug builds).Not tested
VICTORY_PIPELINE_BOOK=1) is covered only throughopen_record.AI use
Written and tested with Claude Code (Claude Opus 5.5).
🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.