Repository navigation
Desktop clean-machine CI: install the universal Windows installer - #19243
Merged
Merged
Conversation
…8621) #18621 ships Unsloth-Desktop-Windows-x64.exe and -ARM64.exe plus Unsloth-Desktop-Windows.exe, which runs the one for the machine. The clean-machine job treated every non-ARM64 asset as the x64 installer, found two on AMD64 and stopped ("expected exactly one AMD64 installer"), so the desktop windows job fails for every PR since v0.1.923-beta. Recognise the two release shapes by name: with native x64 and ARM64 installers, install Unsloth-Desktop-Windows.exe (where the release notes send every Windows user); on older releases keep the per-architecture pick. Any other set still fails. Then check the installed app's PE machine type against the runner, so the universal installer picking the wrong payload fails here.
Member
Author
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. What shall we delve into next? Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
danielhanchen
deleted the
ci/desktop-clean-machine-universal-installer
branch
November 24, 2026 13:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The
desktop windowsclean-machine job fails on every PR that runs it since releasev0.1.923-beta. For example #19238:The next step then fails with "the app wrote no tauri.log", because nothing was installed.
Cause
#18621 (one Windows installer that selects x64 or ARM64) is correct. Releases now ship:
Unsloth-Desktop-Windows-x64.exeUnsloth-Desktop-Windows-ARM64.exeUnsloth-Desktop-Windows.exe, which runs the right one for the machine. The release notes send every Windows user to this one.The clean-machine job treated every asset that is not ARM64 as the x64 installer, so on AMD64 it found two and stopped. Stopping was the job's intended reaction to a packaging change. It just was not updated for this one.
Fix
The
Silent installstep indesktop-app-clean-machine-ci.ymlnow recognises the release by name:Unsloth-Desktop-Windows.exeon both architectures, which is the path a user takes. It forwards/Sto the native installer and returns its exit code.After the install, a new check reads the installed app's PE machine type (
0x8664/0xAA64) and compares it with the runner's architecture. If the universal installer ever picks the wrong payload, this job now fails.Verification
pwshagainst fakedl/folders:-ARM64on ARM64;desktop windowsjob.