[PR #204] make_game: stage the runtime install before replacing the old files (RT-249) #257

Open
opened 2026-11-26 20:17:17 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/204
Author: @Andretuta
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: old-pr/9937


📝 Commits (5)

  • e38ca3e make_game: stage the runtime install before replacing the old files (RT-249)
  • d5df632 make_game: publish the staged runtime all or none, with rollback (RT-249, #5278)
  • 2121918 make_game: keep the old runtime files when the rollback itself is blocked (#5278)
  • 64dda19 Merge remote-tracking branch 'origin/main' into HEAD
  • 560c3fa Merge origin/main: stage main's wine_launcher() text with the rest

📊 Changes

2 files changed (+307 additions, -27 deletions)

View changed files

📝 make_game.py (+107 -27)
➕ tests/test_make_game_runtime_staging.py (+200 -0)

📄 Description

Carried over from old PR 9937 by LouisRiverstone in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch old-pr/9937, exactly that PR's last commit. All carried-over PRs are listed in #17.
Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it.
LouisRiverstone: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one.


Original description (mentions and #N references are disabled; the numbers refer to the old repository):

RT-249: the runtime stage of make_game.py can leave --out half replaced.

Re-submission of #5278. #5278 was closed unmerged during the 2026-11-23 22:45 UTC cleanup, along with the other open PRs. This is the same branch, now merged with current main.

Checked on #5278 by: King1565 (Linux), Atomic258 (Windows Server 2022), JRamos1993 (Windows 11), kapitche (Linux).

No game files.

AI-assisted (Claude Code): I reviewed the change and re-ran its tests on the merge with main.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/204 **Author:** [@Andretuta](https://github.com/Andretuta) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `old-pr/9937` --- ### 📝 Commits (5) - [`e38ca3e`](https://github.com/ubiquitarianism/leonida/commit/e38ca3e2ab6bca4b40c6d662a43e33f59f4119e2) make_game: stage the runtime install before replacing the old files (RT-249) - [`d5df632`](https://github.com/ubiquitarianism/leonida/commit/d5df6320c2a8485cbaa23ac594de29831f1ba7fc) make_game: publish the staged runtime all or none, with rollback (RT-249, #5278) - [`2121918`](https://github.com/ubiquitarianism/leonida/commit/2121918fd9faae29b27077ecedaefc7e7ae044a6) make_game: keep the old runtime files when the rollback itself is blocked (#5278) - [`64dda19`](https://github.com/ubiquitarianism/leonida/commit/64dda19ae9ce9b5901c376e3b2bfaf6eb10c4df2) Merge remote-tracking branch 'origin/main' into HEAD - [`560c3fa`](https://github.com/ubiquitarianism/leonida/commit/560c3fa9246a2f07d1c75c449f1c2fe7376e1aa8) Merge origin/main: stage main's wine_launcher() text with the rest ### 📊 Changes **2 files changed** (+307 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `make_game.py` (+107 -27) ➕ `tests/test_make_game_runtime_staging.py` (+200 -0) </details> ### 📄 Description > Carried over from **old PR 9937** by `LouisRiverstone` in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch `old-pr/9937`, exactly that PR's last commit. All carried-over PRs are listed in #17. > Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it. > `LouisRiverstone`: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one. --- Original description (mentions and `#N` references are disabled; the numbers refer to the old repository): RT-249: the runtime stage of `make_game.py` can leave `--out` half replaced. Re-submission of `#5278`. `#5278` was closed unmerged during the 2026-11-23 22:45 UTC cleanup, along with the other open PRs. This is the same branch, now merged with current `main`. Checked on `#5278` by: King1565 (Linux), Atomic258 (Windows Server 2022), JRamos1993 (Windows 11), kapitche (Linux). No game files. AI-assisted (Claude Code): I reviewed the change and re-ran its tests on the merge with `main`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
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
starred/leonida#257
No description provided.