Skip to content

fix(updater): show friendly message when platform assets not yet uploaded#42

Merged
cortexuvula merged 1 commit into
masterfrom
fix/updater-transient-error
Jul 2, 2026
Merged

fix(updater): show friendly message when platform assets not yet uploaded#42
cortexuvula merged 1 commit into
masterfrom
fix/updater-transient-error

Conversation

@cortexuvula

Copy link
Copy Markdown
Owner

Problem

When release builds are still in progress and the user clicks Check for updates, Tauri's updater reports the new version as available (because latest.json is published as soon as the first platform completes), but when the user clicks Download & Install, the call fails with the raw error:

Update failed: None of the fallback platforms ["windows-x86_64-nsis", "windows-x86_64"] were found in the response `platforms` object

Root cause

There is a ~5–15 minute window during the release build where latest.json exists on GitHub Releases but not all platform-specific binaries have been uploaded yet. check() returns available: true based on the version in latest.json, but downloadAndInstall() cannot find the requested platform's asset.

Fix

Catch the fallback platforms ... were found in the response error in both checkForUpdate() and downloadAndInstall() and surface a friendly message instead:

Update is still being built. Please try again in a few minutes.

Verification

  • npm run check — 0 errors, 0 warnings
  • Manual: confirmed the error string match catches the exact Tauri error message

…aded

When a release is published (latest.json exists) but platform-specific
binaries are still building, check() succeeds but downloadAndInstall()
fails with 'None of the fallback platforms... were found in the response'.
Catch this transient error in both checkForUpdate() and downloadAndInstall()
and show a user-friendly message instead of the raw error.
@cortexuvula cortexuvula merged commit 317f841 into master Jul 2, 2026
6 checks passed
@cortexuvula cortexuvula deleted the fix/updater-transient-error branch July 2, 2026 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant