warm: a pipeline the compiler once crashed on is never retried (and VICTORY_WARM_BAD=0 is ignored) #280
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/Belobug--VIctory-Belobug-AMD#280
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@itsonewi on GitHub · 2026-11-26 18:51 UTC · original
What happens
In
apps/victory/src/warm.rsthe two listsvictory warmkeeps are treated differently:"{fingerprint} {key}"(:82) and only those matchingknown::fingerprint()are read back (:41-46);:49-50) and every key in it is excluded unconditionally (:57), so--againcannot retry them (again || !done.contains(key)is still ANDed with!bad.contains(key)) and no driver or translator change ever expires them;crates/victory-gpu/src/pipeline/make.rs:109-131, which reads the same file from a running title, honoursVICTORY_WARM_BAD=0;warm.rsdoes not read that switch at all.A pipeline whose compilation hung or crashed the driver's compiler under one driver, or one translator build, therefore stays excluded from
victory warmfor the life of the cache.Why it matters
A driver update is exactly when the fingerprint moves and everything else is re-warmed. The refused pipelines are skipped silently, the title compiles them at their first draw, and the first-run stutter
victory warmexists to remove comes back. The only workaround is deletingwarm-bad.txtby hand from the cache folder.Suggested fix
Store bad entries as
"{fingerprint} {key} {why}"like the done list and skip only the keys of the current fingerprint; or at least let--againandVICTORY_WARM_BAD=0clear them. While there:make.rs:119-127skips#comment lines,warm.rs:50does not, though the file is documented as accepting them.AI use
Found by reading
apps/victory/src/warm.rs,crates/victory-gpu/src/pipeline/make.rsandpipeline/known.rs. No code was built or run.github-bot referenced this issue2026-11-26 19:22:36 +00:00
github-bot referenced this issue2026-11-26 19:49:13 +00:00
@lerapeurdu62280-debug on GitHub · 2026-11-26 21:20 UTC · original
Two open PRs touch this and conflict with each other (
warm.rs,known.rs,make.rs): #294 (@BlueCatsz) and #305 (@loyodea, which describes itself as "a narrower option alongside #294"). I tested both ona-publiercd8dfc0plus #330 (fora-publier's own Clippy lint), on Windows 10 Pro 19045, RX 6600, Rust 1.98.1:known::fingerprint()(retried automatically after a driver or translator change: the core of this issue)<fingerprint> <key> <reason>; legacy bare keys still applyvictory warmhonoursVICTORY_WARM_BAD=0#comments and blank lines inwarm-bad.txtcargo test -p victoryvictory-gpupipeline::make/known::tests-D warnings(victory,victory-gpu)Both are sound. Only #294 fixes the stale-quarantine problem itself; #305 gives a manual way out. So #294 is the one that closes this issue, and #305's CLI regression test (default skips, explicit retries,
--again,--used,--limit) would be worth carrying over if #294 lands.AI-assisted: yes (Claude Code)