Warm-up: the quarantine follows the fingerprint, so an update tries those pipelines again #779
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/779"
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 trustno1-coder/VIctory-NVIDIA. Originally posted by kibagami-nc on 2026-11-28T05:43:50Z.
Port of TaynanGT's TaynanGT/Vice-Tay#316, its quarantine part. That PR adapts BlueCatsz's Belobug#294. Its other part, unreadable recipes, is #40 here, still open, so it is left to that PR.
What happens
When a pipeline ends a
victory warmprocess (a crash, or more than 180 s), it goes intowarm-bad.txtfor good.warm-done.txtis kept per fingerprint: the translator and driver (known::fingerprint), this program's path and the card. After an update of any of those, everything is made again, except the quarantined pipelines:--againleaves them out too;into_library) leaves them out as well.So a pipeline that crashed an older driver, or hit a translator bug that has since been fixed, is compiled at its first use in the game on every later build.
The change
<key> fp=<fingerprint> <why>. The key stays in column one, as the older readers of the journal expect.bad_keysreads the journal against the current fingerprint:<fingerprint> <key>line, as some builds of the other forks write it, is read too.--again, orVICTORY_WARM_BAD=0: tries every quarantined pipeline again, as Vice-Tay does.into_library: reads the quarantine the same way, so a pipeline thatruntried again and made is not left out of the library by its old line. Vice-Tay's base has no such step, so this part is new here.fingerprint(), shared by both. It is unchanged.Tests
warm::tests::the_quarantine_follows_the_fingerprint_and_keeps_older_lines:<fingerprint> <key>line is read;fp=are handled;#as keys, and misses the key of the<fingerprint> <key>line.cargo test -p victory --locked: 27 passed.--all-features: nothing in the changed files. Main's own lints are fixed in #665.Not run with the game here.