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

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

@⁠ThePerfomance on GitHub · 2026-11-29 11:26 UTC · original
ThePerfomance:diagnostics/preload-cache-summary → main · +93 −8 · 5 files · 1 commits · open

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.
**@⁠ThePerfomance** on GitHub · 2026-11-29 11:26 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2289) `ThePerfomance:diagnostics/preload-cache-summary` → `main` · +93 −8 · 5 files · 1 commits · open 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.
Summarize shader cache hits for the preload batch and explain when warm-done records are absent, unreadable, or from a different fingerprint. Preserve the existing progress output for the launcher.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 11:28:07 +00:00
github-bot force-pushed github-bot/gh-2289 from d8175fea3b to 4a6ed8f27a 2026-12-01 02:41:44 +00:00 Compare
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/2289/head:github-bot/gh-2289'
git switch 'github-bot/gh-2289'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2289'
git switch 'github-bot/gh-2289'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2289'
git switch 'github-bot/gh-2289'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2289'
git switch 'main'
git merge --squash 'github-bot/gh-2289'
git switch 'main'
git merge --ff-only 'github-bot/gh-2289'
git switch 'main'
git merge 'github-bot/gh-2289'
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!2289
No description provided.