GPU: keep the latest pipeline library save across restart #211

Open
avt0m4t48 wants to merge 1 commit from upstream-pr/211 into main
avt0m4t48 commented 2026-11-24 22:34:42 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by avt0m4t48 on 2026-11-24T22:34:42Z.


Refs #27 and #164. If one save falls back to host-pipelines.next and the next save can replace host-pipelines.bin directly, startup promotes the older pending file over the newer save. Keep publishing to the pending path while it exists. Startup can then promote the latest successful save.

Both source-built filesystem tests pass on native Windows in mapped and buffered modes. The Linux buffered-mode probe reproduced rollback on main, #147 and #164. The control where both saves must use the fallback passes before and after the change. Windows tests

The ordering guarantee covers successive saves. #164 adds separate same-process save serialization. Cross-process coordination and application startup performance were outside these tests. AI-assisted using Codex.

<!-- greyfinch-sync:fxceless/victory-fork:issue:6592768825 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/211). Originally posted by [avt0m4t48](https://github.com/avt0m4t48) on 2026-11-24T22:34:42Z. --- Refs #27 and #164. If one save falls back to `host-pipelines.next` and the next save can replace `host-pipelines.bin` directly, startup promotes the older pending file over the newer save. Keep publishing to the pending path while it exists. Startup can then promote the latest successful save. Both source-built filesystem tests pass on native Windows in mapped and buffered modes. The Linux buffered-mode probe reproduced rollback on main, #147 and #164. The control where both saves must use the fallback passes before and after the change. [Windows tests](https://github.com/avt0m4t48/victory-fork/actions/runs/45501596136) The ordering guarantee covers successive saves. #164 adds separate same-process save serialization. Cross-process coordination and application startup performance were outside these tests. AI-assisted using Codex.
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/211:upstream-pr/211'
git switch 'upstream-pr/211'

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