Surface pipeline journal read errors during warm and preload #3588

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

@⁠Yoshi-233 on GitHub · 2026-11-30 01:24 UTC · original
Yoshi-233:fix/warm-journal-read-error → main · +49 −6 · 3 files · 1 commits · open

Related to #3548.

What it changes

Both the warm scheduler and the library-fill step now report I/O errors reading known-pipelines.bin, including its path. Previously a failed read produced the same empty key list as a fresh cache. A missing journal remains valid. When there are early keys but no complete pipeline records, warm prints the paths of both files so a user can check which cache was selected.

This distinguishes cases that can produce “0 pipelines known”. The reporter's cache and frame rate have not been reproduced here.

How it was tested

  • Exercised the production Rust scanner/key-reader functions in a standalone Linux harness. With a directory in place of the journal, the previous reader returned an empty list; the checked reader returned the OS error. Missing and empty files still yielded zero keys, a complete record yielded the expected key, and adding an incomplete record retained the first key.
  • Added a library regression and a Windows CLI regression that checks the exit status and diagnostic path. cargo check --locked --target x86_64-pc-windows-gnu -p victory-gpu -p victory --tests passed on Linux. This type-checked both Windows regressions. Executing them still requires a Windows runner.
  • A native Linux cargo test --locked -p victory-gpu -p victory stopped at existing Windows-only imports on both main and the patch. No game or GPU run.

Windows CI stopped in the first Clippy step on the unchanged crash.rs:804 unused-function diagnostic for unwind_copy. The test step did not run. PR check · Same main commit

Checked for overlap

  • Checked open PRs touching the journal and warm scheduler. #2249 covers write failures, #2289 covers completion history, and #1921 concerns worker requests for individual indices.
**@⁠Yoshi-233** on GitHub · 2026-11-30 01:24 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3588) `Yoshi-233:fix/warm-journal-read-error` → `main` · +49 −6 · 3 files · 1 commits · open Related to #3548. ## What it changes Both the warm scheduler and the library-fill step now report I/O errors reading `known-pipelines.bin`, including its path. Previously a failed read produced the same empty key list as a fresh cache. A missing journal remains valid. When there are early keys but no complete pipeline records, warm prints the paths of both files so a user can check which cache was selected. This distinguishes cases that can produce “0 pipelines known”. The reporter's cache and frame rate have not been reproduced here. ## How it was tested - Exercised the production Rust scanner/key-reader functions in a standalone Linux harness. With a directory in place of the journal, the previous reader returned an empty list; the checked reader returned the OS error. Missing and empty files still yielded zero keys, a complete record yielded the expected key, and adding an incomplete record retained the first key. - Added a library regression and a Windows CLI regression that checks the exit status and diagnostic path. `cargo check --locked --target x86_64-pc-windows-gnu -p victory-gpu -p victory --tests` passed on Linux. This type-checked both Windows regressions. Executing them still requires a Windows runner. - A native Linux `cargo test --locked -p victory-gpu -p victory` stopped at existing Windows-only imports on both main and the patch. No game or GPU run. Windows CI stopped in the first Clippy step on the unchanged `crash.rs:804` unused-function diagnostic for `unwind_copy`. The test step did not run. [PR check](https://github.com/trustno1-coder/VIctory-NVIDIA/actions/runs/46334672399/job/141572152264) · [Same main commit](https://github.com/trustno1-coder/VIctory-NVIDIA/actions/runs/46320380085) ## Checked for overlap - [x] Checked open PRs touching the journal and warm scheduler. #2249 covers write failures, #2289 covers completion history, and #1921 concerns worker requests for individual indices.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 01:26:08 +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/3588/head:github-bot/gh-3588'
git switch 'github-bot/gh-3588'

Merge

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