fix(warm): retry refused pipelines and count successful builds #333

Open
brainbudt wants to merge 1 commit from upstream-pr/333 into main
brainbudt commented 2026-11-26 17:26:09 +00:00 (Migrated from github.com)

Imported from avatarmanz/VIctory-7900XTX. Originally posted by brainbudt on 2026-11-26T17:26:09Z.


Problem

When a worker reported that it had produced no host pipeline, victory warm counted the attempt as made and wrote a completion record, so subsequent warm --used runs skipped that pipeline. This explains why refusals in #302 persisted across warm runs.

Change

Record each attempt as made or refused for the current fingerprint. Retry refusals oldest-first after untried pipelines so repeated --limit 1 runs rotate through every key. Count successful builds separately and print a victory warm --these <n> command to inspect the first refusal. Legacy records without an outcome are rechecked once.

Scope

Addresses the reproducible warm bookkeeping bug in #302 (apps/victory/src/warm.rs). The initial RX 7900 XTX driver refusal cause remains to be captured on hardware.

Verification

  • Reproduced baseline skip under Windows CrossOver; patched CLI retried refused keys, rotated under --limit 1, and retried failed --again attempts.
  • All 22 application unit tests (including 5 warm tests) passed under CrossOver; Windows MSVC workspace cargo check --tests and app strict Clippy (default & diagnostics) passed; 265 files passed cargo xtask policy.

Reviewed with mistral-loop: APPROVE (2 rounds, mistral-large-4-0 + deepseek-v4-1-flash-1017).
Created with gpt-6.2-astra in Codex (orchestrated with Gemini 4 Neon in T3 Code).

<!-- greyfinch-sync:avatarmanz/VIctory-7900XTX:issue:6631926063 --> Imported from [avatarmanz/VIctory-7900XTX](https://github.com/avatarmanz/VIctory-7900XTX/pull/333). Originally posted by [brainbudt](https://github.com/brainbudt) on 2026-11-26T17:26:09Z. --- ## Problem When a worker reported that it had produced no host pipeline, `victory warm` counted the attempt as made and wrote a completion record, so subsequent `warm --used` runs skipped that pipeline. This explains why refusals in #302 persisted across warm runs. ## Change Record each attempt as `made` or `refused` for the current fingerprint. Retry refusals oldest-first after untried pipelines so repeated `--limit 1` runs rotate through every key. Count successful builds separately and print a `victory warm --these <n>` command to inspect the first refusal. Legacy records without an outcome are rechecked once. ## Scope Addresses the reproducible warm bookkeeping bug in #302 (`apps/victory/src/warm.rs`). The initial RX 7900 XTX driver refusal cause remains to be captured on hardware. ## Verification - Reproduced baseline skip under Windows CrossOver; patched CLI retried refused keys, rotated under `--limit 1`, and retried failed `--again` attempts. - All 22 application unit tests (including 5 warm tests) passed under CrossOver; Windows MSVC workspace `cargo check --tests` and app strict Clippy (default & `diagnostics`) passed; 265 files passed `cargo xtask policy`. --- Reviewed with mistral-loop: APPROVE (2 rounds, `mistral-large-4-0` + `deepseek-v4-1-flash-1017`). Created with gpt-6.2-astra in Codex (orchestrated with Gemini 4 Neon in T3 Code).
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/333:upstream-pr/333'
git switch 'upstream-pr/333'

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.

git switch 'main'
git merge --no-ff 'upstream-pr/333'
git switch 'upstream-pr/333'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/333'
git switch 'upstream-pr/333'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/333'
git switch 'main'
git merge --squash 'upstream-pr/333'
git switch 'main'
git merge --ff-only 'upstream-pr/333'
git switch 'main'
git merge 'upstream-pr/333'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
avatarmanz/VIctory-7900XTX!333
No description provided.