fix(setup): a failed update gives the installed Builder its tools back #447

Open
jarynclouatre wants to merge 1 commit from jarynclouatre/Longshot:fix/setup-reused-tools-back into main
Contributor

Type: fix · Risk: low · Tested on: Linux x86-64 (game-free checks only) · Needs: none

Why

On an ordinary (not portable) Builder install, an update that fails part way (a download or unpack error, or the setup closed) leaves the installed Builder without its tools: it can no longer build, and the next update downloads them all again (llvm-mingw alone is 191 MB).

reuse_part in builder/setup/setup.c moves the folders of the parts that did not change (Python, llvm-mingw, emsdk) out of the installed version into versions\<tag>.part (if (!g_home.portable) return MoveFileW(from, to) != 0;). Nothing moves them back when the new version is not published, and the next start removes the staging folder with them (rmtree(install) in work).

How to reproduce

Seen on: found reading the code; not run on Windows. Game-free checks on Linux x86-64.
Settings and switches: an ordinary (not portable) Builder install.
Steps: Start an update, then have it fail part way with a download or unpack error, or close setup before the new version is published. Start the installed Builder or try the update again.
Expected: The installed Builder gets its unchanged tools back; after setup was closed, its next start restores them before removing the staging folder.
Actual: The installed Builder has no tools and can no longer build; the next update downloads them all again (llvm-mingw alone is 191 MB).

What changed

A failed update returns the unchanged tools it moved out of the installed Builder. If setup was closed, its next start returns them before removing the staging folder.

  • setup (builder/setup/setup.c): the move stays (it keeps an update small and quick).
    • note_reused: reuse_part names each folder in the staging folder's reused.txt before it moves it. A setup stopped between the two leaves a name whose folder is still in the installed version, and nothing moves. When the name cannot be written the part is downloaded instead.
    • restore_reused: moves the folders named in reused.txt back into the installed version (current.txt), only where that version has none, so a part this attempt downloaded and unpacked (perhaps half) never goes into it. Names are checked with list_name_ok, as the setup list's are.
    • fail calls it once the staging has begun (g_staged), and work calls it before it removes an old staging folder, which covers a setup that was closed. After the version is published reused.txt is deleted from it.
    • Portable homes copy as before and write no list.
  • tests (tests/test_setup_tool_merge.py): case 5 runs the real reuse_part and restore_reused over a POSIX stand-in: an ordinary update moves an unchanged Python folder over and lists it; (a) after a failure the installed version has it again, bytes the same, and the staging has none; (b) a second attempt moves it over again, no download; (c) a stopped setup: the next start's restore and removal of the staging leave the installed version whole; (d) a folder this attempt unpacked, not listed, stays in the staging; (e) a listed folder whose move failed is not replaced; (f) portable still copies and lists nothing. The stand-in's CreateFileW gained an append mode and WriteFile; the extractor skips a declaration ahead of its definition.
  • tests, Windows-only fixtures kept in step: tests/test_portable_setup_transaction.py extracts note_reused with reuse_part and checks the ordinary move's reused.txt; tests/test_setup_runtime_paths.py declares g_staged for the publication block it extracts.

Measurements

Verdict: case 5 fails on main and passes here; the suite has no new failures.

Hardware: none used (game-free checks on a Linux x86-64 PC, gcc 15.2, Python 3.14)
Scene: none, the game was not run
Method: 2026-11-14; branch fix/setup-reused-tools-back. python3 -I -B tests/run_all.py, two runs each, interleaved (main, PR, the other branch, twice). Case 5 also runs against main's setup.c, with no-op stand-ins for the two new functions.
How to reproduce: the commands above in a checkout of each commit

Before: main @ 5e072fc8 After: this PR @ 80f44a4f
tests/run_all.py (run 1, run 2) 474 passed, 4 failed, 83 skipped (both) 474 passed, 4 failed, 83 skipped (both)
failing checks test_bake_portability.py, test_menu_keys.py, test_module_ids.py, test_pad_layout.py the same four
tests/test_setup_tool_merge.py case 5 fails: after a failed update the installed version has no Python passes

test_bake_portability.py fails here for a missing Python module (zstandard). test_menu_keys.py doesn't build with g++ and test_pad_layout.py's fixture lacks host/hold_toggle.h, both on main since #137 (#331 and #338 fix them). test_module_ids.py looks for a source marker that main no longer has.

Flags and settings

None.

Testing

Tested: the game-free suite on a Linux PC, as in Measurements. setup.c compiles (-fsyntax-only -Wall -Wextra) with llvm-mingw 20261104's x86_64-w64-mingw32-clang with the same 6 warnings as main's. The Windows-only setup checks (test_portable_setup_transaction, test_setup_runtime_paths, test_portable_setup_start, test_setup_runtime, test_portable_setup_paths, test_setup_tar_diagnostics) and the Windows variant of test_setup_tool_merge's fixture build with that compiler (-Werror).

Not tested: those Windows-only checks were built but not run (no Windows PC for them here); the setup itself on Windows: an update of an ordinary install with the network cut after the first parts.

Must be tested: None.

Risks

What could break: A setup that was closed (not failed) gives the folders back at its next start, before anything is downloaded; the installed Builder started on its own before then still lacks them. A failed move back leaves the folder in the staging, where the next start tries again before removing it (as before this change, it would then be downloaded).

Turning it off: Reverting the commit is enough.

Compatibility: Failed updates restore the installed Builder's reused tools; portable homes still copy as before and write no list.

Checklist

Everyone

  • One topic.
  • The title is a Conventional Commit (type(scope): description) of the status line's type.
  • Why gives the reason plainly and links the issues that fit (the tracker searched).
  • Tested on my own PC where it runs (in the game, for a change the game runs), as Testing's Tested says; what
    can't be run by hand is in Testing's Not testable by hand, with why.
  • Measurements has a verdict, or one line saying why there is nothing to measure.
  • Nothing gets worse that I know of: any cost (speed, latency, memory, a setup that worked before) is measured and
    in Risks.
  • Testing names what was tested, what wasn't, and what must still be tested, where and how.
  • Rebased on current main.
  • python -I -B tests/run_all.py passes (any failure that also fails on main is named).
  • No game files, dumps, build output or generated files.
  • third_party/ untouched (a new folder with a PROVENANCE.md instead).
  • The license is OK: GPL-3.0-or-later, nothing incompatible and nothing decompiled.

When it applies

  • Numbers from the same PC, scene and settings, at least 2 interleaved runs each, the median reported.
  • A game-free test added for the fix, failing on main and passing here.
  • A check under tests/ that reads changed source updated in this PR, not weakened.
**Type:** fix · **Risk:** low · **Tested on:** Linux x86-64 (game-free checks only) · **Needs:** none ## Why On an ordinary (not portable) Builder install, an update that fails part way (a download or unpack error, or the setup closed) leaves the installed Builder without its tools: it can no longer build, and the next update downloads them all again (llvm-mingw alone is 191 MB). `reuse_part` in `builder/setup/setup.c` moves the folders of the parts that did not change (Python, llvm-mingw, emsdk) out of the installed version into `versions\<tag>.part` (`if (!g_home.portable) return MoveFileW(from, to) != 0;`). Nothing moves them back when the new version is not published, and the next start removes the staging folder with them (`rmtree(install)` in `work`). ## How to reproduce **Seen on:** found reading the code; not run on Windows. Game-free checks on Linux x86-64. **Settings and switches:** an ordinary (not portable) Builder install. **Steps:** Start an update, then have it fail part way with a download or unpack error, or close setup before the new version is published. Start the installed Builder or try the update again. **Expected:** The installed Builder gets its unchanged tools back; after setup was closed, its next start restores them before removing the staging folder. **Actual:** The installed Builder has no tools and can no longer build; the next update downloads them all again (llvm-mingw alone is 191 MB). ## What changed A failed update returns the unchanged tools it moved out of the installed Builder. If setup was closed, its next start returns them before removing the staging folder. - setup (`builder/setup/setup.c`): the move stays (it keeps an update small and quick). - `note_reused`: `reuse_part` names each folder in the staging folder's `reused.txt` before it moves it. A setup stopped between the two leaves a name whose folder is still in the installed version, and nothing moves. When the name cannot be written the part is downloaded instead. - `restore_reused`: moves the folders named in `reused.txt` back into the installed version (`current.txt`), only where that version has none, so a part this attempt downloaded and unpacked (perhaps half) never goes into it. Names are checked with `list_name_ok`, as the setup list's are. - `fail` calls it once the staging has begun (`g_staged`), and `work` calls it before it removes an old staging folder, which covers a setup that was closed. After the version is published `reused.txt` is deleted from it. - Portable homes copy as before and write no list. - tests (`tests/test_setup_tool_merge.py`): case 5 runs the real `reuse_part` and `restore_reused` over a POSIX stand-in: an ordinary update moves an unchanged Python folder over and lists it; (a) after a failure the installed version has it again, bytes the same, and the staging has none; (b) a second attempt moves it over again, no download; (c) a stopped setup: the next start's restore and removal of the staging leave the installed version whole; (d) a folder this attempt unpacked, not listed, stays in the staging; (e) a listed folder whose move failed is not replaced; (f) portable still copies and lists nothing. The stand-in's `CreateFileW` gained an append mode and `WriteFile`; the extractor skips a declaration ahead of its definition. - tests, Windows-only fixtures kept in step: `tests/test_portable_setup_transaction.py` extracts `note_reused` with `reuse_part` and checks the ordinary move's `reused.txt`; `tests/test_setup_runtime_paths.py` declares `g_staged` for the publication block it extracts. ## Measurements **Verdict:** case 5 fails on main and passes here; the suite has no new failures. Hardware: none used (game-free checks on a Linux x86-64 PC, gcc 15.2, Python 3.14) Scene: none, the game was not run Method: 2026-11-14; branch `fix/setup-reused-tools-back`. `python3 -I -B tests/run_all.py`, two runs each, interleaved (main, PR, the other branch, twice). Case 5 also runs against main's `setup.c`, with no-op stand-ins for the two new functions. How to reproduce: the commands above in a checkout of each commit | | Before: main @ 5e072fc8 | After: this PR @ 80f44a4f | |---|---|---| | `tests/run_all.py` (run 1, run 2) | 474 passed, 4 failed, 83 skipped (both) | 474 passed, 4 failed, 83 skipped (both) | | failing checks | `test_bake_portability.py`, `test_menu_keys.py`, `test_module_ids.py`, `test_pad_layout.py` | the same four | | `tests/test_setup_tool_merge.py` case 5 | fails: `after a failed update the installed version has no Python` | passes | `test_bake_portability.py` fails here for a missing Python module (zstandard). `test_menu_keys.py` doesn't build with g++ and `test_pad_layout.py`'s fixture lacks `host/hold_toggle.h`, both on main since #137 (#331 and #338 fix them). `test_module_ids.py` looks for a source marker that main no longer has. ### Flags and settings None. ## Testing **Tested:** the game-free suite on a Linux PC, as in Measurements. `setup.c` compiles (`-fsyntax-only -Wall -Wextra`) with llvm-mingw 20261104's x86_64-w64-mingw32-clang with the same 6 warnings as main's. The Windows-only setup checks (`test_portable_setup_transaction`, `test_setup_runtime_paths`, `test_portable_setup_start`, `test_setup_runtime`, `test_portable_setup_paths`, `test_setup_tar_diagnostics`) and the Windows variant of `test_setup_tool_merge`'s fixture build with that compiler (`-Werror`). **Not tested:** those Windows-only checks were built but not run (no Windows PC for them here); the setup itself on Windows: an update of an ordinary install with the network cut after the first parts. **Must be tested:** None. ## Risks **What could break:** A setup that was closed (not failed) gives the folders back at its next start, before anything is downloaded; the installed Builder started on its own before then still lacks them. A failed move back leaves the folder in the staging, where the next start tries again before removing it (as before this change, it would then be downloaded). **Turning it off:** Reverting the commit is enough. **Compatibility:** Failed updates restore the installed Builder's reused tools; portable homes still copy as before and write no list. ## Checklist ### Everyone - [x] One topic. - [x] The title is a Conventional Commit (`type(scope): description`) of the status line's type. - [x] Why gives the reason plainly and links the issues that fit (the tracker searched). - [x] Tested on my own PC where it runs (in the game, for a change the game runs), as Testing's Tested says; what can't be run by hand is in Testing's Not testable by hand, with why. - [x] Measurements has a verdict, or one line saying why there is nothing to measure. - [x] Nothing gets worse that I know of: any cost (speed, latency, memory, a setup that worked before) is measured and in Risks. - [x] Testing names what was tested, what wasn't, and what must still be tested, where and how. - [x] Rebased on current `main`. - [x] `python -I -B tests/run_all.py` passes (any failure that also fails on `main` is named). - [x] No game files, dumps, build output or generated files. - [x] `third_party/` untouched (a new folder with a `PROVENANCE.md` instead). - [x] The license is OK: GPL-3.0-or-later, nothing incompatible and nothing decompiled. ### When it applies - [x] Numbers from the same PC, scene and settings, at least 2 interleaved runs each, the median reported. - [x] A game-free test added for the fix, failing on `main` and passing here. - [x] A check under `tests/` that reads changed source updated in this PR, not weakened.
fix(setup): a failed update gives the installed Builder its tools back
Some checks are pending
CI / Conventional Commit title (pull_request) Blocked by required conditions
CI / Python source checks (ubuntu-24.04, part 1/2) (pull_request) Blocked by required conditions
CI / Python source checks (ubuntu-24.04, part 2/2) (pull_request) Blocked by required conditions
CI / SPIR-V fixtures (global narrow load/store, direct surface atomics, F2I immediate) (pull_request) Blocked by required conditions
CI / Workflow lint (actionlint) (pull_request) Blocked by required conditions
Third-party parts / As their notes say (pull_request) Blocked by required conditions
Third-party parts / The same as upstream (pull_request) Blocked by required conditions
Website / Website on Cloudflare (pull_request_target) Has been skipped
beanstalk/approval Test farm not requested
PR description / Description follows the template (pull_request_target) Successful in 6s
80f44a4f38
On an ordinary (not portable) install, reuse_part moves the folders of
the parts that did not change (Python, llvm-mingw, emsdk) out of the
installed version into versions\<tag>.part. When a later part's download
or unpack failed, or the setup was closed, nothing moved them back: the
installed Builder had lost its tools, and the next start deleted the
moved copies with the staging folder, so they were downloaded again
(llvm-mingw alone is 191 MB).

reuse_part now names each folder in the staging folder's reused.txt
before it moves it. restore_reused moves the named folders back into the
installed version, only where it has none, so a part this attempt
downloaded and unpacked never goes into it. fail() calls it once the
staging has begun, and work() calls it before removing an old staging
folder, which covers a setup that was closed. The move itself stays, and
portable homes still copy.
jarynclouatre changed title from WIP: fix(setup): a failed update gives the installed Builder its tools back to fix(setup): a failed update gives the installed Builder its tools back 2026-11-14 14:31:42 +00:00
HumanBean left a comment

Code review only (read the diff and setup.c around it; nothing was run).

What I checked and found sound:

  • Every fail() after the staging begins goes through restore_reused once (g_staged is cleared first, so a failure inside the restore can't loop), and g_staged is cleared right after publish_install, so a late failure can't pull folders out of a published version.
  • Crash order is right: the name is appended to reused.txt before the move, so a death between the two leaves a name whose folder is still in the installed version, and the restore's "source missing" / "destination exists" checks make that a no-op. A part this attempt downloaded is never listed, so it can't be moved into the installed version.
  • Paths stay wide (MoveFileW, CreateFileW, home_path); the names read back from reused.txt go through list_name_ok, as the setup list's do. No CP_ACP.
  • Tests: case 5 covers the failure, retry, stopped-setup, unlisted and portable cases, and the Windows-only fixtures are kept in step.

One gap, not a regression (this is strictly better than main), so a comment and not a block:

  • restore_reused in work only looks at versions\<this tag>.part. If setup is closed mid-update and a newer release is published before the next run, the next setup is for a different tag: it never visits the old <oldtag>.part, its own reuse_part finds no tools in the installed version and downloads them all again (the 191 MB the PR is about), and the old staging with the real folders sits there for good. The description says "its next start restores them", which holds only for the same tag. A small fix would be to walk versions\*.part at the start of work and call restore_reused(versions, <that name minus .part>, <that dir>) for each, before the rmtree. Worth doing here or as a follow-up; I left it alone because it changes behaviour.

Nit-free otherwise. Not marking it approved only because the setup itself was never run on Windows (the description says so, and it lists no must-test), so this stays a comment for a human to take the gap above or not; I see nothing else that should block a merge.

Code review only (read the diff and `setup.c` around it; nothing was run). What I checked and found sound: - Every `fail()` after the staging begins goes through `restore_reused` once (`g_staged` is cleared first, so a failure inside the restore can't loop), and `g_staged` is cleared right after `publish_install`, so a late failure can't pull folders out of a published version. - Crash order is right: the name is appended to `reused.txt` before the move, so a death between the two leaves a name whose folder is still in the installed version, and the restore's "source missing" / "destination exists" checks make that a no-op. A part this attempt downloaded is never listed, so it can't be moved into the installed version. - Paths stay wide (`MoveFileW`, `CreateFileW`, `home_path`); the names read back from `reused.txt` go through `list_name_ok`, as the setup list's do. No `CP_ACP`. - Tests: case 5 covers the failure, retry, stopped-setup, unlisted and portable cases, and the Windows-only fixtures are kept in step. One gap, not a regression (this is strictly better than main), so a comment and not a block: - `restore_reused` in `work` only looks at `versions\<this tag>.part`. If setup is closed mid-update and a newer release is published before the next run, the next setup is for a different tag: it never visits the old `<oldtag>.part`, its own `reuse_part` finds no tools in the installed version and downloads them all again (the 191 MB the PR is about), and the old staging with the real folders sits there for good. The description says "its next start restores them", which holds only for the same tag. A small fix would be to walk `versions\*.part` at the start of `work` and call `restore_reused(versions, <that name minus .part>, <that dir>)` for each, before the `rmtree`. Worth doing here or as a follow-up; I left it alone because it changes behaviour. Nit-free otherwise. Not marking it approved only because the setup itself was never run on Windows (the description says so, and it lists no must-test), so this stays a comment for a human to take the gap above or not; I see nothing else that should block a merge.
Member

Review findings retained as an ordinary comment. I am following this PR as a watcher; another reviewer should make the final approval decision. The code findings and validation gaps below still need consideration.

Code-only review of 80f44a4f384eea7c5d2c602101b7278d157cae40; no builds, tests, generators or runtime runs performed by me. COMMENT, pending native Windows recovery evidence; no confirmed newly introduced merge blocker found.

The ordinary update journals a destination before moving it, restores only when staging has it and the installed version lacks it, and clears the rollback hook immediately after publication. Portable reuse remains a separate copy; no hard-link sharing is introduced. I read the full diff, surrounding failure/publication/pruning paths, all changed fixtures, and the existing review.

Two limits should stay explicit:

  • builder/setup/setup.c:737–738: recovery visits only this release's <tag>.part. As the earlier review notes, restarting with a different release does not restore the abandoned release's tools. A successful later install's prune() eventually deletes that staging directory (:599–604), so it does not necessarily remain forever. This is an incomplete fix of an existing path, not a new regression.
  • builder/setup/setup.c:555 ignores a failed restore move; :738 then deletes staging regardless. If the old destination cannot be recreated or renamed into, recoverable tool files can still be discarded and require downloading again. The PR acknowledges this existing limitation. A useful follow-up is to return restoration status and retain unresolved journal entries/directories, with a fixture that injects a restore failure and verifies the files survive cleanup.

The author reports Linux fixture/suite runs (474 passed, four named baseline failures, 83 skipped) and Windows cross-compilation. Case 5 invokes restore_reused directly; it does not exercise the real fail() hook or interrupted setup process. Before approval I would want Windows execution of the authored fixtures plus an ordinary update interrupted after reuse and a failed-download rollback, checking byte preservation and successful reuse on retry. “Must be tested: None” does not establish that evidence. No game/GPU run is needed for this installer-only change.

Overlap: PR 286 retries tool-placement/publication moves and adjusts the same publication error branch. It complements this rollback change; neither replaces the other. No required merge order identified, but preserve both changes around publish_install when combining them. Cached forge state says mergeable; substantive CI jobs are pending/blocked, not passing.

Review findings retained as an ordinary comment. I am following this PR as a watcher; another reviewer should make the final approval decision. The code findings and validation gaps below still need consideration. Code-only review of `80f44a4f384eea7c5d2c602101b7278d157cae40`; no builds, tests, generators or runtime runs performed by me. **COMMENT**, pending native Windows recovery evidence; no confirmed newly introduced merge blocker found. The ordinary update journals a destination before moving it, restores only when staging has it and the installed version lacks it, and clears the rollback hook immediately after publication. Portable reuse remains a separate copy; no hard-link sharing is introduced. I read the full diff, surrounding failure/publication/pruning paths, all changed fixtures, and the existing review. Two limits should stay explicit: - `builder/setup/setup.c:737–738`: recovery visits only this release's `<tag>.part`. As the earlier review notes, restarting with a different release does not restore the abandoned release's tools. A successful later install's `prune()` eventually deletes that staging directory (`:599–604`), so it does not necessarily remain forever. This is an incomplete fix of an existing path, not a new regression. - `builder/setup/setup.c:555` ignores a failed restore move; `:738` then deletes staging regardless. If the old destination cannot be recreated or renamed into, recoverable tool files can still be discarded and require downloading again. The PR acknowledges this existing limitation. A useful follow-up is to return restoration status and retain unresolved journal entries/directories, with a fixture that injects a restore failure and verifies the files survive cleanup. The author reports Linux fixture/suite runs (474 passed, four named baseline failures, 83 skipped) and Windows cross-compilation. Case 5 invokes `restore_reused` directly; it does not exercise the real `fail()` hook or interrupted setup process. Before approval I would want Windows execution of the authored fixtures plus an ordinary update interrupted after reuse and a failed-download rollback, checking byte preservation and successful reuse on retry. “Must be tested: None” does not establish that evidence. No game/GPU run is needed for this installer-only change. Overlap: [PR 286](https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/286) retries tool-placement/publication moves and adjusts the same publication error branch. It complements this rollback change; neither replaces the other. No required merge order identified, but preserve both changes around `publish_install` when combining them. Cached forge state says mergeable; substantive CI jobs are pending/blocked, not passing.
TrashPanda left a comment

A failed update puts the unchanged tools back into the installed Builder, and a setup that was closed puts them back at its next start before the staging folder is removed. I read head 80f44a4f. That path is right, and this is a comment, not an approval.

The name is written to reused.txt before the folder is moved. fail clears g_staged and restores once, so a failure inside the restore does not loop. g_staged is cleared after a successful publish, so a later failure cannot pull folders out of a version that is already installed. A folder this attempt unpacked is not on the list, so it is not moved into the installed version. Portable homes still copy and write no list. The names read back go through list_name_ok.

It does not apply onto main 544229a2. #1138 added the Windows error to the publish failure and a move_retry. A rebase keeps that error code, keeps g_staged = NULL after a successful publish, and keeps move_retry in the lists the tests extract, beside note_reused and restore_reused.

restore_reused looks only at this release's versions\<tag>.part. If setup is closed and the next run is a newer tag, that staging folder is never visited, the installed Builder still has no tools, and the next update downloads them again. The description's "next start" holds for the same tag.

The setup itself was not run on Windows. The game-free case covers the failure, the retry and a stopped setup.

A failed update puts the unchanged tools back into the installed Builder, and a setup that was closed puts them back at its next start before the staging folder is removed. I read head `80f44a4f`. That path is right, and this is a comment, not an approval. The name is written to `reused.txt` before the folder is moved. `fail` clears `g_staged` and restores once, so a failure inside the restore does not loop. `g_staged` is cleared after a successful publish, so a later failure cannot pull folders out of a version that is already installed. A folder this attempt unpacked is not on the list, so it is not moved into the installed version. Portable homes still copy and write no list. The names read back go through `list_name_ok`. It does not apply onto main `544229a2`. #1138 added the Windows error to the publish failure and a `move_retry`. A rebase keeps that error code, keeps `g_staged = NULL` after a successful publish, and keeps `move_retry` in the lists the tests extract, beside `note_reused` and `restore_reused`. `restore_reused` looks only at this release's `versions\<tag>.part`. If setup is closed and the next run is a newer tag, that staging folder is never visited, the installed Builder still has no tools, and the next update downloads them again. The description's "next start" holds for the same tag. The setup itself was not run on Windows. The game-free case covers the failure, the retry and a stopped setup.
Owner

Brought up to the ready-for-review standard (#1454): the checklist's Everyone list has two new boxes, added here from what this PR's description and comments show (please check they match what you know).

  • Tested on my own PC: ticked: Testing's Tested: the author ran the game-free suite on a Linux PC, two runs each, and compiled setup.c.
  • Nothing gets worse that I know of: ticked: Measurements gives a verdict with the suite counts, and Risks explains the one gap it leaves.
Brought up to the [ready-for-review standard](https://git.magicbean.dev/MagicBeanDev/Longshot/src/branch/main/CONTRIBUTING.md#ready-for-review-out-of-wip) (#1454): the checklist's Everyone list has two new boxes, added here from what this PR's description and comments show (please check they match what you know). - *Tested on my own PC*: ticked: Testing's Tested: the author ran the game-free suite on a Linux PC, two runs each, and compiled setup.c. - *Nothing gets worse that I know of*: ticked: Measurements gives a verdict with the suite counts, and Risks explains the one gap it leaves.
HumanBean added this to the WIP project 2026-11-19 06:31:39 +00:00
Some checks are pending
CI / Conventional Commit title (pull_request) Blocked by required conditions
CI / Python source checks (ubuntu-24.04, part 1/2) (pull_request) Blocked by required conditions
CI / Python source checks (ubuntu-24.04, part 2/2) (pull_request) Blocked by required conditions
CI / SPIR-V fixtures (global narrow load/store, direct surface atomics, F2I immediate) (pull_request) Blocked by required conditions
CI / Workflow lint (actionlint) (pull_request) Blocked by required conditions
Third-party parts / As their notes say (pull_request) Blocked by required conditions
Third-party parts / The same as upstream (pull_request) Blocked by required conditions
Website / Website on Cloudflare (pull_request_target) Has been skipped
beanstalk/approval Test farm not requested
PR description / Description follows the template (pull_request_target) Successful in 6s
This pull request has changes conflicting with the target branch.
  • builder/setup/setup.c
  • tests/test_portable_setup_transaction.py
  • tests/test_setup_tool_merge.py
Some workflows are waiting to be reviewed.
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u 'fix/setup-reused-tools-back:jarynclouatre-fix/setup-reused-tools-back'
git switch 'jarynclouatre-fix/setup-reused-tools-back'
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
4 participants
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
MagicBeanDev/Longshot!447
No description provided.