omi icon indicating copy to clipboard operation
omi copied to clipboard

macOS desktop: sessions finalize as `local_segments` and never upload (`HTTP error: 422`) — silent recording loss, reproducible

Open phattytuna opened this issue 2 months ago • 3 comments

macOS desktop: sessions finalize as local_segments and never upload (HTTP error: 422) — silent recording loss, reproducible

Summary

Since 2026-09-26 19:51:01 PDT, every voice-capture session recorded in the macOS desktop app is transcribed and stored locally but never reaches the account. Each one fails with HTTP error: 422. Nothing appears in the app — no conversation, no title, no summary, no task — and no error is shown to the user at any point. The only trace is in omi.db.

Same account, same night, different platform

A 23-second voice note recorded on the phone at 21:51 PDT, same account, uploaded and completed the full pipeline — titled, summarised, categorised, and a task extracted and linked to the conversation — 32 seconds after recording began.

Phone (21:51) Mac (19:51–21:23)
Upload ✅ ❌ HTTP 422
Conversation created ✅ titled + summarised ❌ none
Task extracted ✅ linked to conversation ❌ none

This rules out account state, plan, quota and provider keys. Everything downstream of the upload works correctly; the Mac client never completes it.

The dividing line is the finalization strategy, not an entitlement

~/Library/Application Support/Omi/users/<uid>/omi.db → transcription_sessions:

id  local (PDT)          backendSynced  finalizationStrategy
36  2026-09-26 21:23:05  0              local_segments
27  2026-09-26 20:26:28  0              local_segments
25  2026-09-26 20:22:06  0              local_segments
24  2026-09-26 20:20:11  0              local_segments
23  2026-09-26 20:10:15  0              local_segments
21  2026-09-26 19:57:34  0              local_segments
20  2026-09-26 19:54:33  0              local_segments
19  2026-09-26 19:51:01  0              local_segments   ← switch flips here
17  2026-09-26 18:34:41  1              (cloud/legacy)
15  2026-09-26 12:01:50  1              (cloud/legacy)

Every local_segments session fails; every cloud/legacy session succeeds. 10 sessions, zero exceptions. The strategy flipped at 19:51:01 and never reverted — it survived an app restart.

Failed rows consistently carry: status failed, retryCount 5, lastError "HTTP error: 422", backendSynced 0, conversationStatus in_progress, cacheCompleteness list, title null, localSummaryJson null. 47+ segments of real transcribed speech are stranded on disk.

This is not quota or fair-use exhaustion: that day's total capture was 26.8 minutes across 11 sessions, and uploads succeeded at 12:01 and 18:34 the same day.

Reproduction

  1. macOS app → Settings → General → Audio Recording → Always On
  2. Speak for ~2 minutes, touching no key
  3. Toggle Audio Recording off
  4. Inspect transcription_sessions: a new row with backendSynced = 0, lastError = "HTTP error: 422"
  5. Nothing appears in the app

Reproduced twice, including a controlled run with a marker phrase that is present in the stored transcription_segments but never reached the account. CoreAudio confirms the mic and the omi.systemaudio.* tap both open normally (log show --predicate 'process == "Omi Computer"' | grep setPlayState), so capture itself is healthy.

Against published promises

  • Pricing page, Free tier: "Unlimited on-phone transcription plus 300 cloud minutes every month. No subscription needed to get started." — the advertised path is the one failing.
  • Changelog: "Bring Your Own Keys (BYOK): Deepgram live + pre-recorded transcription… bypass the freemium cap."
  • App copy: "Deepgram is optional and only powers transcription." (SettingsContentView+DeveloperKeys.swift:187)
  • The desktop Plan card reads "Free plan active" with 0 / ∞ chat questions while the desktop chat lane separately refuses with a managed-lane billing 402. The card and the server disagree.

Why this matters

Recordings are lost silently, with no alert and no user-visible error. No audio is stored anywhere on disk (the support directory holds only Screenshots/ and Videos/), so the transcript is the sole artifact — a failed upload means the recording is gone. Because titles and overviews are generated backend-side, a failed upload shows a blank recap, which makes it look like the recording was discarded when the window is closed.

Diagnostic commands

DB=~/Library/Application\ Support/Omi/users/<uid>/omi.db
cp "$DB" /tmp/x.db; cp "$DB"-wal /tmp/x.db-wal        # live file is locked while the app runs
sqlite3 -readonly /tmp/x.db "SELECT id, datetime(startedAt,'-7 hours'), backendSynced, finalizationStrategy, lastError, retryCount FROM transcription_sessions ORDER BY startedAt DESC LIMIT 12;"

# did the mic physically open? app state cannot prove this; the OS log can
log show --last 90m --predicate 'process == "Omi Computer"' --style compact | grep setPlayState

Related

  • #9083 — "macOS audio capture sessions fail reconciliation after recording, causing missing conversations" (session_reconciliation_failed, "could not be reconciled after 5 attempts"; ~1,595 events / 339 users in one week)
  • #15501 — "sync-backup: silent multi-day recording loss, no 'not syncing' alert" (severity:high, 10 reporters / 16 signals)
  • #10486 — "offline sync fails repeatedly and only a small minority of recordings become conversations"
  • #4354 — "Missing Conversations: Any way to re-process Offline Sync recordings?"
  • #10975 — "a recording older than 30 days fails with no explanation and burns its retry budget"

phattytuna avatar Sep 27 '26 04:09 phattytuna

Build context, since this is the first thing you'll ask for:

  • Build: 0.12.395 (CFBundleVersion 12395), installed 2026-09-26 09:13 PDT by auto-update. 0.12.402 is already published (same day — seven builds newer).
  • First local_segments session: 2026-09-26 19:51:01 PDT, ~10.5 h after that update. Every session after it used local_segments and failed; nothing has reverted to the cloud/legacy path since, across restarts.
  • #9120 — "recover recordings from local segments when finalization errors out (#9083)" — is already merged (2026-07-06) and therefore already in this build. The stranded sessions have not been recovered, so whatever recovery path #9120 added is either not firing on this failure mode (an upload/422, not a finalization fault) or is firing and failing. Both are worth knowing.

I'm on the newest build within the day and will re-test and report back if it changes anything. Happy to run instrumented builds or hand over the omi.db schema dump and the stranded rows if that helps.

phattytuna avatar Sep 27 '26 05:09 phattytuna

Update: appears fixed on 0.12.402. Same account, same finalization strategy, ~24 h apart:

0.12.395, Sep 26 19:51–21:23 0.12.402, Sep 27 20:07
sessions on local_segments 8 1
backendSynced 0 (all 8) 1
retryCount 5 (all 8) 0
lastError HTTP error: 422 none
conversation in account no yes

The test session uploaded and produced conversation 8aa74588-4787-5fed-a468-c9a16a4eb03b (20:07:39 → 20:10:19 PDT, finalizationReason: recording_disabled). A spoken marker phrase is present verbatim in the local transcript and in the uploaded conversation, so capture, on-device transcription and upload all completed end to end.

Two things did not change, worth knowing:

  1. The previously stranded sessions were not recovered. Both retained sessions still show backendSynced 0, retryCount 5, conversationStatus in_progress after updating. The fix looks forward-only; the backlog stays stranded. If #9120's recovery path is meant to pick these up, it did not fire.
  2. Title/overview on the new session is poor — the title is a fragment of the first utterance and overview is empty while conversationStatus: processing. Might just be still processing; I'll note it if it stays empty.

Treating this as fixed given one clean run against 8 consecutive failures on the identical strategy. I'll reopen or follow up if it recurs. Thanks to whoever shipped the upload-durability work on Sep 26 — prevent silent upload death / make live capture uploads durable and self-healing (#19199) / bound v2 persistence retries (#19262) all landed after the build that was failing.

phattytuna avatar Sep 28 '26 03:09 phattytuna

This issue is linked to our feedback platform. For feedback and updates, please visit this link.

featurebase-for-github avatar Oct 01 '26 16:10 featurebase-for-github