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

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

@⁠avt0m4t48 on GitHub · 2026-11-24 22:34 UTC · original
avt0m4t48:fix/pipeline-cache-restart-order → main · +54 −2 · 1 files · 1 commits · open

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.

**@⁠avt0m4t48** on GitHub · 2026-11-24 22:34 UTC · [original](https://github.com/fxceless/victory-fork/pull/211) `avt0m4t48:fix/pipeline-cache-restart-order` → `main` · +54 −2 · 1 files · 1 commits · open 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:38:27 +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/211/head:github-bot/gh-211'
git switch 'github-bot/gh-211'

Merge

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