warm: a full disk no longer leaves pipelines out for good (black skin) #81
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem!81
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-81"
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?
@TreXito on GitHub · 2026-12-01 17:22 UTC · original
TreXito:fix/warm-bad-crashes-only→main· +66 −5 · 3 files · 1 commits · merged 2026-12-01 20:55 UTCWhat went wrong
victory warmwrites every pipeline whose worker ended abnormally twice towarm-bad.txt, and the title then leaves every pipeline named there out for good ("not made: the driver's compiler crashed on it before"). Nothing checked how the worker ended.Here the disk filled up during a warm. A worker could not save a generated rectangle-list stage (
prepared::rectangle: "Disk full. (os error 112)") and ended withstd::process::exit(2). Workers kept ending that way, so 26 pipelines went intowarm-bad.txtas<key> exit code: 2. Freeing the disk does not undo it: the list is only ever added to.22 of those 26 were character pipelines. 18 of them are first bound on the same frame as the face draws in the intro, so their draws were dropped for the whole run (a median of about 175 a frame once characters are on screen, up to about 800), and skin came out black on every character.
Change
known::ends_compiler(why): a worker's end counts as the compiler's only if it is an exception code (0xC..., whatend_on_crashexits with) or a hang (unresponsive for 45 s). An ordinary exit code does not count.victory warmwrites only those ends towarm-bad.txt. A pipeline whose worker failed in another way is tried again on the next warm, and the title still makes it under its own crash guard. A real crash there still lands in the list ("ended the compiler in a run").known::bad_line_key(line): both readers, the title's loader inmake.rsand warm's skip set, pass over lines whose recorded end is an ordinary exit code. Lists written before this change heal on their own, with no manual cleanup. Comments, bare keys and the title's own lines are read as before.+66/−5 in
known.rs,make.rsandwarm.rs, two new unit tests.Measured
New-game intro, the same shot about 130 s in, diagnostics build. The runs used a local branch that carries this change on top of
mainplus unrelated local patches, so I compare them by pipeline counts, not frame times:The title made all 22 itself, so the compiler never failed on any of them. With this change the old list stays on disk (26 lines) and simply stops leaving them out.
Checks
cargo test -p victory-gpu --lib pipeline::known::tests: 5 passed (2 new).cargo test -p victory --bin victory warm::: 3 passed.WINEDLLOVERRIDES='d3d12,d3d12core,dxgi=n'. Without it, the test executables fail to loadd3d12.dll.cargo clippy --all-targetsfor both packages: no warnings in the changed lines. The two inwarm.rsaround line 214 are already onmain.rustfmt --checkis clean on the three files.Not measured: a real compiler crash during a warm. That path is unchanged apart from the new check, and the exception codes are covered by the unit test.
AI-assisted (Claude Code); no game data.
🤖 Generated with Claude Code
https://claude.ai/code/session_01WNCfbX5dPKJzSkgbf16GX4