Skip to content

macOS realtime token mint failures affect hundreds of 0.12.0 users across Gemini and OpenAI #9080

Closed

Description

@Git-on-my-level

Summary

The 2026-07-05 Desktop health telemetry shows realtime token mint failures affecting hundreds of macOS 0.12.0 users across both Gemini and OpenAI providers.

This likely blocks user-facing voice/realtime flows and should be separated from the noisy expected-idle teardown telemetry.

Evidence

Source: Omi Improvements Daily Report — 2026-07-05, posthog_desktop_health_breakdown.

Top affected rows:

app version/build health_event provider events users first seen last seen
0.12.0 / 12000 realtime_token_mint_failed gemini 541 317 2026-07-03T07:28:56Z 2026-07-05T13:14:38Z
0.12.0 / 12000 realtime_token_mint_failed openai 251 196 2026-07-03T07:33:37Z 2026-07-05T12:55:58Z

Related but lower-confidence noisy rows:

  • realtime_provider_session_error, category expected_idle_teardown: huge volume, probably benign/misclassified.
  • realtime_provider_session_error, category unclassified: also present and should be separated from token-mint failure root cause.

Why this is not covered by an existing issue

No existing open issue was found for realtime_token_mint_failed, token mint failed, or realtime token in BasedHardware/omi.

Suggested investigation

  1. Trace the token mint endpoint/path used by macOS 0.12.0 for Gemini and OpenAI.
  2. Break down by auth state, BYOK state, subscription/paywall state, and provider config availability.
  3. Ensure failures include structured reason fields: HTTP status, backend route, provider, auth/user state, and retry eligibility.
  4. Add client retry/backoff or user-facing recovery only if the backend failure is transient.

Acceptance criteria

  • Token mint failure events include actionable reason fields.
  • Gemini/OpenAI mint failures are reduced or mapped to a known external/provider status.
  • Realtime voice flow recovers gracefully when token mint fails.

Activity

  1. added
    bug
    p1
    on Jul 5, 2026
  2. added a commit that references this issue on Jul 6, 2026
    7bf057b
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

    bugdesktopmacOSp1reliability

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions