Surface failed pipeline library saves during warm-up #4967

Closed
github-bot wants to merge 1 commit from github-bot/gh-4966 into main AGit
Owner

@⁠andrewpozdnakov7-jpg on GitHub · 2026-12-01 15:47 UTC · original
andrewpozdnakov7-jpg:codex2/fix/confirm-warm-library-save → main · +30 −14 · 3 files · 1 commits · closed without merging

What it changes

Shared warm-up removes pipeline names from its pending list, saves the host library, then appends the names to warm-done.txt. The save can fail to acquire its writer lock or fail while preparing the output. Previously the caller still recorded those names as finished.

Return a failed library save to preload and shared warm-up. A periodic shared-library flush puts its names back in the pending list so a later flush can try again. A failed final save reaches the command's exit status. Periodic saves during normal play retain their existing best-effort behavior.

How it was tested

  • A focused Windows fixture ran the exact save and shared flush from 5fabb46e and 07223777dc7af94800e6068eba458f1be261eef8, with a stub D3D12 serializer and real local files. An unavailable writer lock and a serialization failure left the old library in place. Main still wrote all three marks, while the patch retained all three as pending. After the failure was cleared, the patch saved the library and wrote all three marks once.
  • cargo xtask policy --staged accepted all three changed files. The change combined cleanly with #4959 and the shared warm lookup follow-up in #4486.
  • Main's CI check has five existing Clippy errors tracked in #4708.

Checked for overlap

  • Searched PRs and issues for the library save failure, writer lock and warm completion marks. #4786 handles an unreadable input book before workers run. #3895 adds the preload marker. Both branches edit the library save entry point and will need that hunk combined if both are applied.

Please retain the Git author on cherry-pick or rebase, or add Co-authored-by: andrewpozdnakov7-jpg <[email protected]> if folding the change into another commit.

AI-assisted with OpenAI Codex.

**@⁠andrewpozdnakov7-jpg** on GitHub · 2026-12-01 15:47 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4966) `andrewpozdnakov7-jpg:codex2/fix/confirm-warm-library-save` → `main` · +30 −14 · 3 files · 1 commits · closed without merging ## What it changes Shared warm-up removes pipeline names from its pending list, saves the host library, then appends the names to `warm-done.txt`. The save can fail to acquire its writer lock or fail while preparing the output. Previously the caller still recorded those names as finished. Return a failed library save to preload and shared warm-up. A periodic shared-library flush puts its names back in the pending list so a later flush can try again. A failed final save reaches the command's exit status. Periodic saves during normal play retain their existing best-effort behavior. ## How it was tested - A focused Windows fixture ran the exact save and shared flush from `5fabb46e` and `07223777dc7af94800e6068eba458f1be261eef8`, with a stub D3D12 serializer and real local files. An unavailable writer lock and a serialization failure left the old library in place. Main still wrote all three marks, while the patch retained all three as pending. After the failure was cleared, the patch saved the library and wrote all three marks once. - `cargo xtask policy --staged` accepted all three changed files. The change combined cleanly with #4959 and the shared warm lookup follow-up in #4486. - Main's [CI check](https://github.com/trustno1-coder/VIctory-NVIDIA/actions/runs/46563306780/job/142355972539) has five existing Clippy errors tracked in #4708. ## Checked for overlap - [x] Searched PRs and issues for the library save failure, writer lock and warm completion marks. #4786 handles an unreadable input book before workers run. #3895 adds the preload marker. Both branches edit the library save entry point and will need that hunk combined if both are applied. Please retain the Git author on cherry-pick or rebase, or add `Co-authored-by: andrewpozdnakov7-jpg <[email protected]>` if folding the change into another commit. AI-assisted with OpenAI Codex.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 15:50:14 +00:00
github-bot closed this pull request 2026-12-01 18:30:26 +00:00
Author
Owner

@⁠trustno1-coder on GitHub · 2026-12-01 18:27 UTC · original

Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.

**@⁠trustno1-coder** on GitHub · 2026-12-01 18:27 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4966#issuecomment-7320980934) Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.

Pull request closed

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!4967
No description provided.