Explain shader cache reuse and pipeline warm-up history #2289

Open
ThePerfomance wants to merge 1 commit from upstream-pr/2289 into main
ThePerfomance commented 2026-11-29 11:26:06 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ThePerfomance on 2026-11-29T11:26:06Z.


Related to #1262.

What it changes

  • The shader preload prints how many successful translations were read from disk cache and how many were translated this run. It takes the existing hit counter once per batch, so a translation on another preload worker cannot turn an individual cache hit into a miss in the summary.
  • Pipeline warm-up explains when no completion history exists, the file cannot be read, or the available records belong to another fingerprint. Matching records for pipelines absent from the current list do not inflate the displayed completed count. The existing to make total still reflects the scheduled work.
  • The existing progress lines remain available to the PowerShell preload window. The patch adds no changes to cache formats, fingerprint inputs, or pipeline scheduling.

How it was tested

  • Windows, Rust 1.98.1 MSVC. All 83 tests in the victory package passed.
  • The new history test failed before the fix. It now covers missing, malformed, matching, mixed and incompatible records, including the existing missing-library rule.
  • Ran preload and warm with empty synthetic input and a separate cache. Checked the old progress lines, a different fingerprint, obsolete keys under the current fingerprint, and a missing shared pipeline library. No title data was needed.
  • The staged asset policy and git diff --check passed.

Checked for overlap

  • Checked current main and the open PRs touching the two reporting paths. #1921 and #1931 address worker progress and error attribution. #1505 added the existing progress totals.
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5550241882 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2289). Originally posted by [ThePerfomance](https://github.com/ThePerfomance) on 2026-11-29T11:26:06Z. --- Related to #1262. ## What it changes - The shader preload prints how many successful translations were read from disk cache and how many were translated this run. It takes the existing hit counter once per batch, so a translation on another preload worker cannot turn an individual cache hit into a miss in the summary. - Pipeline warm-up explains when no completion history exists, the file cannot be read, or the available records belong to another fingerprint. Matching records for pipelines absent from the current list do not inflate the displayed completed count. The existing `to make` total still reflects the scheduled work. - The existing progress lines remain available to the PowerShell preload window. The patch adds no changes to cache formats, fingerprint inputs, or pipeline scheduling. ## How it was tested - Windows, Rust 1.98.1 MSVC. All 83 tests in the `victory` package passed. - The new history test failed before the fix. It now covers missing, malformed, matching, mixed and incompatible records, including the existing missing-library rule. - Ran `preload` and `warm` with empty synthetic input and a separate cache. Checked the old progress lines, a different fingerprint, obsolete keys under the current fingerprint, and a missing shared pipeline library. No title data was needed. - The staged asset policy and `git diff --check` passed. ## Checked for overlap - [x] Checked current `main` and the open PRs touching the two reporting paths. #1921 and #1931 address worker progress and error attribution. #1505 added the existing progress totals.
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/2289:upstream-pr/2289'
git switch 'upstream-pr/2289'

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/2289'
git switch 'upstream-pr/2289'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2289'
git switch 'upstream-pr/2289'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2289'
git switch 'main'
git merge --squash 'upstream-pr/2289'
git switch 'main'
git merge --ff-only 'upstream-pr/2289'
git switch 'main'
git merge 'upstream-pr/2289'
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
trustno1-coder/VIctory-NVIDIA!2289
No description provided.