Repository navigation
Description
Summary
On a fresh install, Offline Sync never makes progress: every uploaded chunk's server job stays queued with processedSegments: 0 / totalSegments: 0, the Pending count grows by about one chunk every 10 s while the pendant listens, and the app polls GET /v2/sync-local-files/{job_id} continuously, receiving HTTP 429 on almost every request. Live transcription works normally at the same time. Related: #21278 (phone-call live transcription stuck on "Reconnecting").
Environment
- Omi app 1.0.558 (build 1400), Android, Samsung Galaxy Z Fold7 (SM-F966U), Android build CP2A.260605.016
- Omi DevKit 2 (Seeed XIAO BLE Sense), firmware 2.0.10
- Settings: Store Audio on Phone = Off, Store Audio on Cloud = Off
Clean-state steps already taken
- Cleared app cache and cleared all app data.
- Uninstalled the app, waited 10 minutes.
- Installed a fresh copy from Google Play, signed in, re-paired the pendant.
The problem reproduced immediately on the fresh install, so it is not a stale local backlog.
What I see (screenshots in the first comment)
- 23:42 local: Offline Sync shows Processing 0/110 · 0%, Pending 116, Synced 4.
- 23:46 local: Processing 0/138 · 0%, Pending 144, Synced 4. New 10 s items keep appearing, first as "Waiting to sync", then "Uploaded · processing on Omi", and none ever complete.
- 23:46 local: Listening · Pendant screen shows my speech transcribed within seconds, so the live
/v4/listenpath works on this account.
Debug log evidence (exported from the app)
Log A, 2026-10-12 03:03–03:13 UTC (10 min), before reinstall:
- 3,222
fetch_sync_job_statusevents withhttpStatus: 429,outcome: transient, peaking at 18 requests per second. - 181
reconcile_pollnon-terminal results, allserverStatus: queued,processedSegments: 0,totalSegments: 0. - About 2,650 distinct job IDs being polled.
wal_admission_pressure:cap: 720,retained_countabout 14,750.sdcard_ble_download_started(343 MB opus), thenWARN ... TimeoutException: SD card read stalled15 s later.
Log B, 2026-10-12 03:42–03:47 UTC (5 min), after reinstall:
- 426
fetch_sync_job_statusresponses with HTTP 429 (outcome: transient), about 1.4 per second. - 138
reconcile_pollnon-terminal results, allserverStatus: queued, 0/0 segments. - 13
local_upload_started/ 12local_upload_finishedwithbatchesUploaded: 1, batchesFailed: 0. Uploads succeed; server-side processing never starts. - Repeated "Sync Phase -1: Uploading live-capture phone files first" followed by "coordinated recording transfer completed with no new conversations".
Code observations (main branch)
- Why Pending grows while live works:
LocalWalSyncImpl.confirmSessionTranscription()keeps any chunk that the saved transcript does not cover (_keepForTranscriptRepairsetsstatus = miss,keptForTranscriptRecovery = true), so silence/background chunks are queued for a repair upload. That is reasonable as a safety net, but combined with a server queue that never drains, Pending grows without bound during normal wear. - 429 handling: on current main,
syncJobFetchOutcomeForStatusCode(429)returnsthrottledand_reconcileUploadedWals()is serial and should stop the pass on throttling. My build 1400 logs every 429 asoutcome: transientand keeps polling, so either the released build predates that fix or the throttled path is not reached. Please confirm which release includes it. - Server side:
GET /v2/sync-local-files/{job_id}returns 429 fromadmit_sync_job_poll(uid), and the jobs that are reachable reportqueuedwith 0/0 segments indefinitely. It looks like the jobs are never dispatched to a worker for this account (/v2/sync-jobs/run?).
Expected
- Uploaded repair chunks are processed (or acknowledged as empty) so Pending drains.
- On 429, the client backs off per
Retry-Afterinstead of polling continuously. - If jobs cannot be processed, the UI shows an error instead of "Processing 0%" forever.
Questions for maintainers
- Can you check the server-side sync job queue for my account? Jobs created after 2026-10-12 03:42 UTC are all stuck in
queued. - Is there a supported way to discard "Uploaded · processing on Omi" items from the app? Manage Storage → Delete Pending only removes
missitems.
I can provide the full device diagnostics export and both debug logs on request.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsIn review
Activity
fix(sync): stop reconcile polling loop on rate limit and clear upload…
fix(sync): terminate reconcile polling pass on 429 edge cooldown (Bas…
fix(sync): stop reconcile polling loop on rate limit and clear upload…
fix(sync): stop reconcile polling loop on rate limit and clear upload…
docs(changelog): add mobile changelog fragment for sync rate limit an…
fix(sync): stop reconcile polling loop on rate limit and clear upload…
fix(app): release idle ring downloads without discarding received aud…