victory warm: a number the pipelines' file does not hold is told as not made #368

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

@⁠DiosET3RN0 on GitHub · 2026-11-26 19:44 UTC · original
DiosET3RN0:warm-missing-entry → main · +36 −2 · 1 files · 1 commits · open

Refs #227 (the optional last bullet, "Silent skip in warm").

What

known::make skipped a wanted number that has no entry in
known-pipelines.bin without telling anything. victory warm names the
pipeline a worker ended at by counting the made lines it heard
(run_batches: rest[made]), so one skipped number moved the blame in
warm-bad.txt to the wrong pipeline.

How

In known.rs only, as the issue asks (warm.rs is left to #186): a number
without an entry is told before and after like any other, as one without a host
pipeline, the same way an entry that cannot be read already is.

The trade, stated plainly: the parent treats made n 0.00 0 like a refused
pipeline: it is counted under "have no host pipeline", its 0.0 ms joins the
timings, and its key goes to warm-done.txt, so it is not tried again for this
fingerprint without --again. Before, it was recorded nowhere and tried again
on the next run. With an append-only file this needs the file to shrink or a
read to fail between the parent's keys() and the worker's walk. (#333 would
record such a line as refused and retry it, which fits this change as it is.)

Not changed: when known-shaders.bin cannot be opened make still returns
without telling anything; the worker then exits 0 with no lines, and the parent
blames and records nothing.

Tests

New a_number_the_file_does_not_hold_is_told_as_not_made (a temp folder with a
one-entry book; asks for three numbers it does not hold; needs no device).

  • cargo test -p victory-gpu --lib --locked pipeline::known: 7 passed.
  • Control: with the old continue put back, the new test fails.
  • cargo clippy -p victory-gpu --all-targets --locked -- -D warnings: clean
    apart from main's own watch.rs:3626 (unnecessary_mut_passed, fixed by #324).

Windows 11, Rust 1.98.1. No game run (none needed: the path never reaches a host pipeline).

AI-assisted: yes (Claude Code)

🤖 Generated with Claude Code

**@⁠DiosET3RN0** on GitHub · 2026-11-26 19:44 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/368) `DiosET3RN0:warm-missing-entry` → `main` · +36 −2 · 1 files · 1 commits · open Refs #227 (the optional last bullet, "Silent skip in warm"). ## What `known::make` skipped a wanted number that has no entry in `known-pipelines.bin` without telling anything. `victory warm` names the pipeline a worker ended at by counting the `made` lines it heard (`run_batches`: `rest[made]`), so one skipped number moved the blame in `warm-bad.txt` to the wrong pipeline. ## How In `known.rs` only, as the issue asks (`warm.rs` is left to #186): a number without an entry is told before and after like any other, as one without a host pipeline, the same way an entry that cannot be read already is. **The trade, stated plainly:** the parent treats `made n 0.00 0` like a refused pipeline: it is counted under "have no host pipeline", its 0.0 ms joins the timings, and its key goes to `warm-done.txt`, so it is not tried again for this fingerprint without `--again`. Before, it was recorded nowhere and tried again on the next run. With an append-only file this needs the file to shrink or a read to fail between the parent's `keys()` and the worker's walk. (#333 would record such a line as refused and retry it, which fits this change as it is.) Not changed: when `known-shaders.bin` cannot be opened `make` still returns without telling anything; the worker then exits 0 with no lines, and the parent blames and records nothing. ## Tests New `a_number_the_file_does_not_hold_is_told_as_not_made` (a temp folder with a one-entry book; asks for three numbers it does not hold; needs no device). - `cargo test -p victory-gpu --lib --locked pipeline::known`: 7 passed. - Control: with the old `continue` put back, the new test fails. - `cargo clippy -p victory-gpu --all-targets --locked -- -D warnings`: clean apart from `main`'s own `watch.rs:3626` (`unnecessary_mut_passed`, fixed by #324). Windows 11, Rust 1.98.1. No game run (none needed: the path never reaches a host pipeline). AI-assisted: yes (Claude Code) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
known::make skipped a wanted number without an entry and told nothing.
victory warm names the pipeline a worker ended at by counting the
"made" lines it heard, so a skipped number moved the blame to the
wrong pipeline. Such a number is now told before and after like any
other, as one without a host pipeline (as an unreadable entry already
is). Fixed in known.rs only, as #227 asks.

Refs #227.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 19:47:01 +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/368/head:github-bot/gh-368'
git switch 'github-bot/gh-368'

Merge

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