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

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

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

No issue. Related: #40 (closed for conflicts) went at the same lines another way.

What it changes

known::make skips a wanted number that has no entry in known-pipelines.bin and tells nothing (let Some(entry) = entries.get(n) else { continue };). victory warm names the pipeline a worker ended at by counting the made lines it heard, so after one skipped number a crash or a hang later in the same batch is blamed on the wrong pipeline in warm-bad.txt.

A number without an entry is now told before and after like any other, as one without a host pipeline, the way an entry that cannot be read already is. known.rs only (+36/−2, the test included); warm.rs is not touched.

What the parent does with it, as warm.rs stands: the line is counted (so the count stays in step), it joins "have no host pipeline", its 0.0 ms joins the timings, and it is not written to warm-done.txt, so it is tried again on the next run.

This is robustness, not a fix of something seen: with an append-only file an entry is missing only if the file was cut or replaced between the parent's read and the worker's. Not changed: when known-shaders.bin cannot be opened make still returns without telling anything.

How it was tested

  • GPU and profile: not a rendering change; unit test only, no device needed. Windows 11, Rust 1.98.1, on main 568c5e5. No game run.
  • Before: the new test fails (nothing is told for a missing number).
  • After: cargo test -p victory-gpu --lib --locked pipeline::known: 3 passed, the new a_number_the_file_does_not_hold_is_told_as_not_made included.
  • cargo test passed for the crates it touches: yes, for the pipeline::known tests; the whole victory-gpu suite was not run here.
  • cargo clippy -p victory-gpu --all-targets --locked -- -D warnings stops at main's own error in victory-shader (lower.rs:2356, #1855); nothing in known.rs.

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related: #1651, #1690 and #1268 change other parts of known.rs (the book's reading), not this loop; #40 is closed.

AI-assisted: yes (Claude Code)

🤖 Generated with Claude Code

**@⁠DiosET3RN0** on GitHub · 2026-11-29 02:37 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1921) `DiosET3RN0:warm-missing-entry` → `main` · +36 −2 · 1 files · 1 commits · open No issue. Related: #40 (closed for conflicts) went at the same lines another way. ## What it changes `known::make` skips a wanted number that has no entry in `known-pipelines.bin` and tells nothing (`let Some(entry) = entries.get(n) else { continue };`). `victory warm` names the pipeline a worker ended at by counting the `made` lines it heard, so after one skipped number a crash or a hang later in the same batch is blamed on the wrong pipeline in `warm-bad.txt`. A number without an entry is now told before and after like any other, as one without a host pipeline, the way an entry that cannot be read already is. `known.rs` only (+36/−2, the test included); `warm.rs` is not touched. What the parent does with it, as `warm.rs` stands: the line is counted (so the count stays in step), it joins "have no host pipeline", its 0.0 ms joins the timings, and it is not written to `warm-done.txt`, so it is tried again on the next run. This is robustness, not a fix of something seen: with an append-only file an entry is missing only if the file was cut or replaced between the parent's read and the worker's. Not changed: when `known-shaders.bin` cannot be opened `make` still returns without telling anything. ## How it was tested - GPU and profile: not a rendering change; unit test only, no device needed. Windows 11, Rust 1.98.1, on `main` 568c5e5. No game run. - Before: the new test fails (nothing is told for a missing number). - After: `cargo test -p victory-gpu --lib --locked pipeline::known`: 3 passed, the new `a_number_the_file_does_not_hold_is_told_as_not_made` included. - `cargo test` passed for the crates it touches: yes, for the `pipeline::known` tests; the whole `victory-gpu` suite was not run here. - `cargo clippy -p victory-gpu --all-targets --locked -- -D warnings` stops at `main`'s own error in `victory-shader` (`lower.rs:2356`, #1855); nothing in `known.rs`. ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. Related: #1651, #1690 and #1268 change other parts of `known.rs` (the book's reading), not this loop; #40 is closed. 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). known.rs only.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 02:39:21 +00:00
This pull request has changes conflicting with the target branch.
  • crates/victory-gpu/src/pipeline/known.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

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

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1921'
git switch 'github-bot/gh-1921'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1921'
git switch 'github-bot/gh-1921'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1921'
git switch 'main'
git merge --squash 'github-bot/gh-1921'
git switch 'main'
git merge --ff-only 'github-bot/gh-1921'
git switch 'main'
git merge 'github-bot/gh-1921'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!1921
No description provided.