release: v1 pipeline: Mandy Setup (our installer, launcher look, Git + Rust + Build Tools), draft releases (RELEASE-V1-CI-INSTALLER) #3346
Open
github-bot
wants to merge 11 commits from
github-bot/gh-3346 into main
AGit
pull from: github-bot/gh-3346
merge into: github:main
github:main
github:perf/darner-title-priority-ceiling
github:gh-readonly-queue/main/pr-3311-b5c45b663dbc5a9c3532bb3f307e5f81b32faefa
github:gh-readonly-queue/main/pr-3088-af22e7847ff5808f72d1a1881c24be2fafd20b54
github:gh-readonly-queue/main/pr-3123-7f3fa026a94c6646e89244f28e1ce22290361867
github:gh-readonly-queue/main/pr-3354-637baa0b77ba47222e7280b17c1a59c6a1781d57
github:gh-readonly-queue/main/pr-3365-d7a0e0196a43834813014b4bd3aa5502a8263b14
github:gh-readonly-queue/main/pr-3361-5dfe8bbd05ed12fb2f2e1718d9af77a7c5f46fd8
github:gh-readonly-queue/main/pr-3366-8da9148204e9d12c585efa9ac2b7cc1ab08c7682
github:fix/runtime-test-conservative-fixtures
github:ci/shard-semantic-linux
github:docs/fg-limit-fps-switch
github:fix/runtime-test-fixture-paths
github:fix/runtime-test-fixture-readers
github:fix/read-file-hard-link
github:fix/book-slot-heap-never-read
github:fix/depth-resolve-spv-path
github:fix/indirect-unused-batched
github:gh-pr/3358/base
github:fix/xmem-refusal-diagnostics
github:gh-pr/3357/base
github:ci/shorten-ci-time
github:fix/alias-later-queued-submissions
github:claude/gallant-sagan-aamatr
github:gh-pr/3342/base
github:gh-pr/3341/base
github:d3d12/agility-sdk-621
github:gh-pr/3293/base
github:gh-pr/3319/base
github:gh-pr/3318/base
github:gh-pr/3315/base
github:gh-pr/3313/base
github:gh-pr/3314/base
github:claude/fervent-curie-m19lnr
github:gh-pr/3216/base
github:gh-pr/3272/base
github:gh-pr/3276/base
github:gh-pr/3279/base
github:gh-pr/3257/base
github:gh-pr/3258/base
github:gh-pr/3271/base
github:codex/skip-no-hit-ray-passes
github:gh-pr/3230/base
github:gh-pr/3266/base
github:gh-pr/3247/base
github:gh-pr/3246/base
github:gh-pr/3244/base
github:claude/sharp-sagan-1jqnp3
github:t3/preserve-fsr-sdk-restart-path
github:t3/propagate-host-failure-hresult
github:t3/launcher-custom-parameters
github:t3/series-x-2160-startup
github:codex/d3d12-uncapped-simulation
github:ci/less-to-run
github:perf/native-compute-shader-forms
github:claude/blissful-franklin-ukp7ag
github:codex/full-precompile-default
github:gh-pr/3166/base
github:gh-pr/3148/base
github:gh-pr/3138/base
github:gh-pr/3106/base
github:gh-pr/3057/base
github:gh-pr/2756/base
github:gh-pr/2812/base
github:gh-pr/3032/base
github:gh-pr/2992/base
github:notes/card-time-and-plant-flicker
github:gh-pr/2986/base
github:gh-pr/3000/base
github:gh-pr/2966/base
github:gh-pr/2924/base
github:gh-pr/726/base
github:gh-pr/2761/base
github:gh-pr/2663/base
github:gh-pr/2861/base
github:gh-pr/2862/base
github:gh-pr/2820/base
github:gh-pr/2811/base
github:gh-pr/2803/base
github:rt-call-trace
github:gh-pr/2802/base
github:gh-pr/2766/base
github:perf/ahead-split
github:gh-pr/2589/base
github:gh-pr/2699/base
github:gh-pr/2696/base
github:docs/readme-runtime-proposal
github:gh-pr/1346/base
github:codex/coord-claim-check-20261124-7e48
No reviewers
Labels
Clear labels
accessibility
Barrier affecting people with disabilities
area: ci
.github/ workflows and settings
area: d3d12
The D3D12 runtime in d3d12/ (Rust: leonida.exe and its crates)
area: docs
Documentation
area: launcher
The launcher (launcher/)
area: runtime (legacy)
The earlier Vulkan runtime in runtime/
area: shader translator
The shader translator (leonida-shader, tools/rdna2spirv) and its tests
area: tools
tools/ and scripts/
area: viewer
The map viewer (viewer/)
bug
Something isn't working
dependencies
Pull requests that update a dependency file
documentation
Improvements or additions to documentation
duplicate
This issue or pull request already exists
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
invalid
This doesn't seem right
missing claim
Needs a claim in #14
needs in-game run
Changes the code a frame runs through: needs the 300 s in-game gate (docs/game_gate.md)
needs rebase
Conflicts with the base branch: rebase it on main
needs-triage
Needs maintainer evaluation before the next triage state
question
Further information is requested
ready-for-agent
Fully specified and ready for an AFK agent
submodules
Pull requests that update submodules code
wontfix
This will not be worked on
No labels
accessibility
area: ci
area: d3d12
area: docs
area: launcher
area: runtime (legacy)
area: shader translator
area: tools
area: viewer
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs in-game run
needs rebase
needs-triage
question
ready-for-agent
submodules
wontfix
Milestone
Clear milestone
No items
No milestone
Assignees
Clear assignees
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/ubiquitarianism--leonida!3346
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3346"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@OreoFR on GitHub · 2026-12-03 15:00 UTC · original
OreoFR:ci/release-v1→main· +3236 −1 · 12 files · 11 commits · openItem: RELEASE-V1-CI-INSTALLER (claimed in #3312). Pairs with #3348 (LAUNCHER-EXE-PREBUILT). Depends on: #3348 for
tools/mandy_deps.py(see below).What this does
A tag
v*(or a manual run with an existing tag) builds Mandy Setup and attaches it to a draft release. A maintainer reads the draft and publishes it; the workflow never publishes.The one asset is
Mandy-Setup-<tag>.exe. No runtime is released: the launcher buildsleonida.exeon the player's PC, with DLSS on NVIDIA cards (NVIDIA's DLSS library may not be redistributed), so the runtime always matches the code on the PC.Mandy Setup: our own installer, in the launcher's look
tools/mandy_setup.py, frozen with PyInstaller (--onefile) around the frozen launcher (zipped inside). Inno Setup is gone. It is one window in the launcher's colours, fonts and gradient pill, translated like the launcher (en, fr, es, pt, de):Install folder:
%LOCALAPPDATA%\Programs\Mandywith a Change button. Per user, no administrator rights for Mandy itself.Desktop shortcut: ticked by default. Mandy always goes in the Start menu. Both shortcuts carry Mandy's icon and the launcher's AppUserModelID (
ProjectLeonida.Mandy). An existingMandy.lnkthat starts something else is left alone.What this PC needs, found live: Git (new: Update Mandy and the first-run clone need it), Rust and the C++ Build Tools. Each is installed with winget, without a console window, and its output goes to a "Show details" log. Only the Build Tools ask Windows for admin rights. A tool that does not install is shown in red and does not fail the install: the launcher offers it again.
Installed-apps entry:
HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\Mandy. Its uninstall (Mandy-Setup.exe --uninstall) removes:It never touches the game folder.
Launch Mandy at the end, with the PATH the newly installed tools added.
Preview:
python -I tools/mandy_setup.py --preview(with--preview-missingand--preview-start) shows the window with a pretend install that changes nothing.Shared with the launcher:
tools/mandy_deps.pyThe probes (Git, cargo, vswhere with
-prerelease), the winget plan, the shortcut writer (with AppUserModelID) andpng_to_icocome from #3348's shared module, so the Setup and the launcher look in the same places and install the same packages.The file is copied as is from #3348's head
bd465fb02, identical byte for byte. That keeps this PR's CI green on its own, and the identical file merges away whichever PR lands first. The release icon is now made withpng_to_ico(standard library), so Pillow is no longer installed in CI. Both PyInstaller bundles carrytools/mandy_deps.py.Checks
packaging/windows/check_release_assets.pyruns on the installer and every file of the frozen launcher before the draft is created: no game-data format, no SDK library (DLSS, Streamline, FidelityFX, Agility).Tested
tests/test_mandy_setup.py: 27 tests, 1 skipped (APP_ID equality with the launcher, skipped until #3348 is in). They cover:tests/test_release_pipeline.py: 19 OK. Also OK:test_leonida_launcher,test_docs_links,test_docs_cli_flags,test_text_write_line_endings,check_no_game_data.The installer is unsigned: SmartScreen shows "More info → Run anyway" (see
packaging/windows/README.md).AI-assisted (oreofr-agent).
🤖 Generated with Claude Code
Without winget (official installers)
When winget is absent (debloated Windows, LTSC, no Store), Git, Rust and the C++ Build Tools are installed from their official installers instead: Git for Windows' latest 64-bit installer (GitHub API),
rustup-init.exeandvs_BuildTools.exe(run elevated). Before running, Git and the Build Tools must have a Valid Authenticode signature from Johannes Schindelin and Microsoft Corporation respectively.rustup-init.exeis not Authenticode-signed (checked on the downloaded file), so it is verified against the SHA-256 rust-lang publishes next to it. A refused file is deleted and not run. Shared code intools/mandy_deps.py(byte-identical in #3346 and #3348). Tests mock the network, the signature check and the runner.@merzleckeier on GitHub · 2026-12-03 15:07 UTC · original
All 28 release-pipeline tests passed on
8bff45c4. I found one tool-discovery mismatch in the new DLSS task.CargoPresentinpackaging/windows/mandy.iss:120only checks%USERPROFILE%\.cargo\bin\cargo.exe. After #3342, the build also accepts Cargo onPATHor in%CARGO_HOME%\bin. With a synthetic Cargo stub only in a custom Cargo home, the checked-in build script onacb0657e2reached Cargo while the installer’s file check was false. Since the task is preselected on NVIDIA systems, this sends an already usable Rust setup through the winget install path. Could the installer recognize the custom Cargo home andPATHbefore attempting that install?The installer’s
vswherecall also omits-prerelease, which the build-tool preflight in #3187 uses for Visual Studio Preview/Insiders. Aligning the probes would avoid offering the Build Tools again for a layout that the build preflight accepts. I exercised the Cargo decision with a local stub and checked thevswherearguments from source.AI-assisted with OpenAI Codex.
- The release holds only Mandy-Setup-<tag>.exe: no leonida.exe, .sha256 or build-info.json, and no Rust build step. The launcher builds leonida.exe on the player's PC (DLSS on NVIDIA cards), so it always matches the code there. - mandy.iss: Rust and the C++ Build Tools are a fixed step after Mandy's files, for every card and in silent installs (the "dlsstools" task and its NVIDIA preselection are gone); the Ready page says so. The graphics cards WMI lists are logged ("NVIDIA GPU detected: ...", or the WMI error's text). - cargo is probed where build-nvidia.ps1 finds it (#3342): PATH, %CARGO_HOME%\bin, %USERPROFILE%\.cargo\bin; vswhere takes -prerelease as the build preflight does (#3187) (review of #3346). - assets/mandy.png lands at the bundle's root, where the launcher looks first. - tests/test_docs_cli_flags.py scans *.iss too: the Build Tools' options in README live in mandy.iss. Co-Authored-By: Claude Opus 5.5 <[email protected]>@OreoFR on GitHub · 2026-12-03 15:40 UTC · original
Thanks, both fixed in
ef10f31987.CargoPresentnow probes wherebuild-nvidia.ps1finds cargo (#3342):FileSearch('cargo.exe', GetEnv('PATH')), then%CARGO_HOME%\bin\cargo.exe, then%USERPROFILE%\.cargo\bin\cargo.exe.vswheretakes-prerelease, as the build preflight in #3187 does.tests/test_release_pipeline.py(BuildTools.test_each_tool_is_skipped_when_present); 27 tests OK.The same commit also follows OreoFR's change of plan:
Mandy-Setup-<tag>.exe. The runtime is always built on the PC, with DLSS on NVIDIA cards.🤖 Addressed by Claude Code
@OreoFR on GitHub · 2026-12-03 15:49 UTC · original
Test of the release pipeline on a fork (RTX 4070 Laptop, Windows 11). Tags
v0.0.0-test1totest3were pushed on the author's fork only; every run made a draft release, and all of them are deleted.b22d7e832) publishes onlyMandy-Setup-<tag>.exe, 11.4 MB. The first run'sleonida.exesha256 matched its.sha256file andbuild-info.json./SILENTwith a log:mandy.pngpath, and one AppUserModelID shared by the shortcuts and the window.AI-assisted (oreofr-agent).
release: v1 pipeline (prebuilt leonida.exe, Mandy Setup installer, draft releases) (RELEASE-V1-CI-INSTALLER)to release: v1 pipeline: Mandy Setup (our installer, launcher look, Git + Rust + Build Tools), draft releases (RELEASE-V1-CI-INSTALLER)- Before Install: one line saying what changes on the PC (install folder, shortcuts, the Windows apps entry, the tools winget installs). - During the install: the step running is named ("Installing Rust..."), a step running for 10 s or more shows its time ("3 min 12 s"), the Build Tools step says it can take several minutes, the bar counts the real steps, the log stays folded, and Cancel stops after the step running and keeps what is done. - At the end: all in, "Mandy is installed" and LAUNCH MANDY. Some out: how many are in ("3 of 4 installed"), that Mandy is installed and nothing is lost, each tool not in with a plain cause (winget missing, the admin prompt declined, the download, no package, the exit code) and whether trying again can help; RETRY <tool> retries those only, Launch Mandy is the second choice and the launcher offers the tools again. Nothing retries on its own. A tool found on the PC after a non-zero winget exit counts as installed. - The uninstall lists exactly what goes: the install folder, each shortcut that starts our Mandy.exe, the Windows apps entry. - --preview-fail and --preview-slow show the partial end and the elapsed time without installing anything. - Every new text in the five languages. Co-Authored-By: Claude Opus 5.5 <[email protected]>@OreoFR on GitHub · 2026-12-03 16:47 UTC · original
Review request: this is one of the two PRs for the Mandy v1 installer (#3348 launcher side, #3346 Setup and release CI). @merzleckeier and @fiestorra, could you take a look when you have time? You already reviewed the earlier pieces (#3310 is folded into #3348).
What changed since your last look is in the PR body. The shared
tools/mandy_deps.pyis byte-identical in both PRs. A full install, launch and uninstall run from a fork build is coming, and I'll post it here.AI-assisted (oreofr-agent).
@merzleckeier on GitHub · 2026-12-03 16:55 UTC · original
I reviewed #3346 at
7eece312together with #3348 at8d01e4caandmainat717b9023. The merge is clean and both heads carry the samemandy_deps.pyblob. I found two install/uninstall blockers and a Linux test failure.tools/mandy_setup.py:866accepts an existing folder namedMandy. Installation keeps unrelated files in it, butuninstall_targetsat line 489 hands that entire tree tormtree, even with “Also delete my Mandy folder” unchecked. In a temporary fixture, a file present before installation survived the install and was deleted on uninstall. Restrict removal to installer-owned files, or reject an existing nonempty folder unless it is a verified installation.uninstall_mainignores the failed paths returned byuninstall(), deletes the Installed Apps entry, and returns 0. I simulated a file-in-use error: the install directory remained, the registry deletion was called, and the command returned 0. The interactive worker also clears the entry on partial failure. Keeping the registration until removal succeeds would let the user retry from Installed Apps.test_ours_is_replaceduppercases a temporary POSIX path, but the code deliberately uses the host’s case rules. The adjacent uninstall fixture already changes path case only on Windows. The installer suite had 42 passes and one failure.All 19 release-pipeline tests passed. The combined launcher suite still reports the Windows-PATH failure from my #3348 review. I used temporary files and stubbed Windows integration. The frozen installer was not run. Review assisted by OpenAI Codex.
@fiestorra on GitHub · 2026-12-03 16:57 UTC · original
Revisión pedida: aplica limpia y sus cinco suites pasan, y el dato que más importa de la pareja está confirmado
Medido sobre el
mainde ahora (717b90233):Y la afirmación de la PR que se puede comprobar en un comando, comprobada:
tools/mandy_deps.pyes byte-idéntico entre#3346y#3348—Lo que eso implica para el orden de fusión, y es lo único que le falta a la pareja: las dos PRs añaden ese fichero, así que la segunda que se fusione va a chocar en él aunque el contenido sea el mismo. Lo comprobé:
#3346y luego#3348da conflicto enmandy_deps.py(además delauncher.mdy los cuatroi18n), y el bloque es el mismodark_title_barque las dos añaden. La resolución es descartar el lado duplicado, porque es literalmente el mismo blob — pero hay que hacerlo, y es el paso que puede parecer un conflicto real y no lo es.Lo que no he verificado: que
Mandy-Setup-<tag>.exese construya y se adjunte al release (necesita un tagv*y Actions) ni el instalador en sí (es un.exede Windows y aquí no hay nada que lo ejecute con un usuario real). Lo que sí: que aplica sobre elmainde hoy, que sus tests pasan, y que el fichero compartido con#3348es el mismo.@merzleckeier on GitHub · 2026-12-03 16:58 UTC · original
I checked the merge-order concern with two sequential Git merges from
717b9023. Both #3346 (7eece312) then #3348 (8d01e4ca) and the reverse order succeeded without conflicts and produced the same tree93f32e0e. Both retainedmandy_deps.pyat blob70531ab9. This checks the PR heads as they would be merged. Individual cherry-picks can have different intermediate states. AI-assisted with OpenAI Codex.@merzleckeier on GitHub · 2026-12-03 17:27 UTC · original
Follow-up on #3346
3dfd5fceand #334845b0b6df, tested together on09273248. The two merge orders produce the same tree8f2e7295. All 56 Setup tests and all 19 release-pipeline tests passed on Linux, including the shortcut case comparison.os.makedirsintools/mandy_deps.py:260raisesPermissionErroroutside the direct-install error handling. The worker emits only thestartevent, then exits without a failure or completion event. Reporting a local-file failure through the existing dependency status path would let the UI finish and offer retry.ask_build_toolsprompt withfind_winget()returningNone. The banner already explains the direct-installer path; using that information in the PLAY prompt would make the two offers agree.Both uninstall cases in my earlier review still reproduce on the new Setup head. The existing Linux PATH fixture also still fails in the combined launcher suite. This follow-up used temporary files and a simulated filesystem error. I did not download or run the Windows installers. AI-assisted with OpenAI Codex.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.