Skip to content

Desktop: reduce macOS update check/download failures and read-only launch-location dead ends #8635

Closed

Description

@Git-on-my-level

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

  1. Trace the desktop updater/Sparkle integration and confirm what analytics properties are emitted with Update Check Failed.
  2. 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.
  3. 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 /Applications and relaunch, or a fallback manual download link.
  4. Add a stable update_failure_reason enum and channel/build metadata so future analysis does not need to parse localized human messages.
  5. 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 Failed drops 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

  1. added
    bug
    p2
    on Jun 29, 2026
  2. Git-on-my-level commented on Jun 29, 2026

    @Git-on-my-level
    MemberAuthor

    Additional code pointers from the repo:

    Desktop client / Sparkle:

    • desktop/macos/Desktop/Sources/UpdaterViewModel.swift:96-126 handles SPUUpdaterDelegate.updater(_:didAbortWithError:) and logs:
      • Sparkle: Update check failed - <message> [domain=<domain> code=<code>]
      • optional underlying error and userInfo fields.
    • UpdaterViewModel.swift:119-124 special-cases SUSparkleErrorDomain code 4005 as installer launch failure and only logs/retries later.
    • UpdaterViewModel.swift:128-136 selects allowed update channels from kUpdateChannelKey.
    • UpdaterViewModel.swift:181-193 records update installation analytics via AnalyticsManager.shared.updateInstalled(version:).

    Backend update/appcast route:

    • desktop/macos/Backend-Rust/src/routes/updates.rs:137-160 serves GET /appcast.xml from Firestore desktop releases and returns an empty appcast on Firestore fetch failure fallback.
    • updates.rs:164-201 serves /updates/latest.
    • updates.rs:204-235 serves /download, currently redirecting stable downloads to a GCS URL shaped like https://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, and launch_location_bucket without logging raw paths.

    Suggested checks for the implementer:

    1. For older versions in the evidence (0.11.420, 0.11.360, etc.), verify their appcast/channel URL still resolves and includes a valid update chain.
    2. Verify the GCS download redirect path/name is correct for stable/beta branding and does not strand users on old builds.
    3. Reproduce Sparkle errors for apps launched from Downloads/read-only/temp locations and add clearer in-app recovery guidance or a manual download fallback.
  3. added a commit that references this issue on Jun 30, 2026
    1562280
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugdesktopmacOSp2reliability

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions