Surface pipeline journal read errors during warm and preload #3588

Open
Yoshi-233 wants to merge 1 commit from upstream-pr/3588 into main
Yoshi-233 commented 2026-11-30 01:24:11 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Yoshi-233 on 2026-11-30T01:24:11Z.


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.
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5557321178 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3588). Originally posted by [Yoshi-233](https://github.com/Yoshi-233) on 2026-11-30T01:24:11Z. --- 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.
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/3588:upstream-pr/3588'
git switch 'upstream-pr/3588'

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