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

Open
github-bot wants to merge 1 commit from github-bot/gh-333 into main AGit
Owner

@⁠brainbudt on GitHub · 2026-11-26 17:26 UTC · original
brainbudt:fix/warm-retry-refused-pipelines → main · +67 −17 · 1 files · 1 commits · open

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).

**@⁠brainbudt** on GitHub · 2026-11-26 17:26 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/333) `brainbudt:fix/warm-retry-refused-pipelines` → `main` · +67 −17 · 1 files · 1 commits · open ## 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).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 17:28:42 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/333/head:github-bot/gh-333'
git switch 'github-bot/gh-333'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-333'
git switch 'github-bot/gh-333'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-333'
git switch 'github-bot/gh-333'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-333'
git switch 'main'
git merge --squash 'github-bot/gh-333'
git switch 'main'
git merge --ff-only 'github-bot/gh-333'
git switch 'main'
git merge 'github-bot/gh-333'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.