Show loaded, skipped and newly created pipeline counts during startup #547

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

@⁠christopear on GitHub · 2026-12-06 02:21 UTC · original
christopear:codex/pipeline-cache-counts → main · +120 −41 · 11 files · 1 commits · open

Related to #341.

A large progress total can look like a full recompile on every launch. The old label compares successful blob loads with creations without a blob. It misses a third case where a graphics entry is already on disk and the worker skips creation. A batch consisting entirely of those skips can display “Compiling pipelines”.

This keeps the queue total and progress bar, uses a neutral heading and shows three per-batch counts.

  • Loaded means the driver accepted a cached blob.
  • Skipped means an entry existed on disk and creation could wait until first use.
  • New means creation succeeded without a cached blob.

The first batch includes work already completed when the progress thread starts. The counters are sampled independently and can briefly differ from the queue total. A skipped entry can still hitch on first use. The change leaves scheduling, cache contents and startup waits alone.

Checks

Built Windows MSVC tests and ran them under Proton Experimental. The pipeline filter passed 11 tests with 2 existing opt-in tests ignored. All 5 localization tests passed. The new test exercises empty, skipped-only, warm and mixed counts, panel width and batch reset. Updated all nine catalogs and the troubleshooting guide. In-game layout and translation review would still be useful.

If #481 lands, its additional index skips happen before scheduling and should be accounted for separately. #475 also edits the progress loop. This PR addresses the ambiguity in #341 and leaves any actual cache invalidation investigation open.

**@⁠christopear** on GitHub · 2026-12-06 02:21 UTC · [original](https://github.com/gamingwithhomie/larp/pull/547) `christopear:codex/pipeline-cache-counts` → `main` · +120 −41 · 11 files · 1 commits · open Related to #341. A large progress total can look like a full recompile on every launch. The old label compares successful blob loads with creations without a blob. It misses a third case where a graphics entry is already on disk and the worker skips creation. A batch consisting entirely of those skips can display “Compiling pipelines”. This keeps the queue total and progress bar, uses a neutral heading and shows three per-batch counts. * **Loaded** means the driver accepted a cached blob. * **Skipped** means an entry existed on disk and creation could wait until first use. * **New** means creation succeeded without a cached blob. The first batch includes work already completed when the progress thread starts. The counters are sampled independently and can briefly differ from the queue total. A skipped entry can still hitch on first use. The change leaves scheduling, cache contents and startup waits alone. ### Checks Built Windows MSVC tests and ran them under Proton Experimental. The pipeline filter passed 11 tests with 2 existing opt-in tests ignored. All 5 localization tests passed. The new test exercises empty, skipped-only, warm and mixed counts, panel width and batch reset. Updated all nine catalogs and the troubleshooting guide. In-game layout and translation review would still be useful. ### Related work If #481 lands, its additional index skips happen before scheduling and should be accounted for separately. #475 also edits the progress loop. This PR addresses the ambiguity in #341 and leaves any actual cache invalidation investigation open.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-06 02:25:31 +00:00
This pull request can be merged automatically.
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/547/head:github-bot/gh-547'
git switch 'github-bot/gh-547'

Merge

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