Repository navigation
Closed
Labels
Description
Summary
PostHog shows recurring macOS desktop update failures, especially on older builds. Some users may be unable to move forward because update retrieval/download fails or because Sparkle reports the app is running from a read-only, temporary, or downloaded location.
No existing issue found for Update Check Failed / read-only temporary-location updater failures.
Evidence
Sanitized observability sweep run: 2026-06-29 UTC.
PostHog project: 302298 (OMI / Omi), filter properties['$os'] = 'macOS'.
Volume
Latest 24h:
| Event | Events | Users |
|---|---|---|
Update Check Failed |
187 | 34 |
Last 7d daily signal:
| Day | Events | Users |
|---|---|---|
| 2026-06-29 | 176 | 34 |
| 2026-06-28 | 221 | 25 |
| 2026-06-27 | 281 | 37 |
| 2026-06-26 | 302 | 46 |
| 2026-06-25 | 302 | 46 |
| 2026-06-24 | 273 | 47 |
| 2026-06-23 | 235 | 46 |
Top error shapes by version, 7d
| Error message | App version | Events | Users |
|---|---|---|---|
An error occurred in retrieving update information. Please try again later. |
0.11.420 |
422 | 72 |
An error occurred while downloading the update. Please try again later. |
0.11.420 |
242 | 34 |
An error occurred in retrieving update information. Please try again later. |
0.11.360 |
37 | 17 |
An error occurred while downloading the update. Please try again later. |
0.11.360 |
127 | 10 |
omi can't be updated because it was opened from a read-only or a temporary location. |
0.11.420 |
117 | 3 |
omi can't be updated because it's running from the location it was downloaded to. |
0.11.329 |
157 | 1 |
No raw user IDs or payloads included.
Suggested investigation / fix direction
- Trace the desktop updater/Sparkle integration and confirm what analytics properties are emitted with
Update Check Failed. - For retrieval/download failures on older builds, verify whether the appcast URL, signing keys, CDN/GitHub release asset URLs, and beta/stable channels are still valid for those versions.
- For read-only/download-location errors, improve the user-facing guidance and recovery path. Users may need a one-click explanation to move Omi into
/Applicationsand relaunch, or a fallback manual download link. - Add a stable
update_failure_reasonenum and channel/build metadata so future analysis does not need to parse localized human messages. - Consider whether older builds need an out-of-band rescue path if their updater cannot reach the current appcast or cannot install from their current launch location.
Acceptance criteria
Update Check Faileddrops materially for active macOS users, especially on old builds that should be able to update.- Retrieval/download failures distinguish network/appcast/signature/download-location reasons in sanitized analytics.
- Users running from read-only/download locations get clear recovery instructions and a manual download fallback.
- Add a desktop updater smoke test or mocked Sparkle failure-path test that verifies analytics reason bucketing and user-facing recovery text.
Activity
Git-on-my-level commentedon Jun 29, 2026
Additional code pointers from the repo:
Desktop client / Sparkle:
desktop/macos/Desktop/Sources/UpdaterViewModel.swift:96-126handlesSPUUpdaterDelegate.updater(_:didAbortWithError:)and logs:Sparkle: Update check failed - <message> [domain=<domain> code=<code>]userInfofields.UpdaterViewModel.swift:119-124special-casesSUSparkleErrorDomaincode4005as installer launch failure and only logs/retries later.UpdaterViewModel.swift:128-136selects allowed update channels fromkUpdateChannelKey.UpdaterViewModel.swift:181-193records update installation analytics viaAnalyticsManager.shared.updateInstalled(version:).Backend update/appcast route:
desktop/macos/Backend-Rust/src/routes/updates.rs:137-160servesGET /appcast.xmlfrom Firestore desktop releases and returns an empty appcast on Firestore fetch failure fallback.updates.rs:164-201serves/updates/latest.updates.rs:204-235serves/download, currently redirecting stable downloads to a GCS URL shaped likehttps://storage.googleapis.com/omi_macos_updates/releases/v<version>/Omi.Beta.dmg.Instrumentation gap: the PostHog event has only human error strings by app version. The fix should add sanitized structured analytics such as
update_failure_domain,update_failure_code,underlying_domain,underlying_code,update_channel, andlaunch_location_bucketwithout logging raw paths.Suggested checks for the implementer:
0.11.420,0.11.360, etc.), verify their appcast/channel URL still resolves and includes a valid update chain.Improve desktop updater recovery (#8648)