omi icon indicating copy to clipboard operation
omi copied to clipboard

bug: pendant tutorial question can stall outside the main chat or after voice failures

Open aryanorastar opened this issue 1 month ago • 4 comments

Report and current evidence

Featurebase: Omi pendant tutorial reports that iOS tutorial transcription initially recognizes words, but pressing the pendant before and after a question in the second step does nothing and blocks progress. App/iOS/firmware versions and a button log are not yet supplied. Do not assume the separate title-only transcription report (#23384) has the same cause.

Existing fixes #20806 (auto-submit), #21069 (empty/no-speech), and #20805 (summary revisit) are merged and present on main 577af33d2b47f161afeb5251d549968dd51b6db5. A store release containing these fixes has not been verified in this investigation.

Remaining main gaps

  • SinglePressStep infers its answer by watching the global main-chat list. MessageProvider correctly keeps pendant voice replies out of an open past/persona/fresh chat. That means a successful voice question can leave the tutorial on Processing forever; unrelated main-chat answers can instead satisfy it.
  • Only empty audio and no_speech reset the tutorial. Codec/device errors, busy/quota, audio-save failures, transport errors/timeouts and incomplete streams have no tutorial outcome.
  • Tutorial state counts a raw press before capture accepts it, including an ignored press immediately after auto-submit. Results are not scoped to a tutorial attempt.

These are app-side gaps, not proof of Andrea's precise root cause or a firmware regression.

Fix / acceptance

  • [ ] Route the submitted request's typed answer/failure through the existing message → external-actions → capture → tutorial pipeline; keep chat-session isolation.
  • [ ] Show a localized retry/limit explanation on every terminal failure and bound pending requests.
  • [ ] Drive listening/submission from admitted capture transitions; ignore old/disposed/replaced tutorial callbacks and overlapping presses.
  • [ ] Verify two presses, auto-submit, no speech, codec/transport failure, retry, unrelated chat traffic, summary revisit, exit and retry isolation.
  • [ ] Run required checks and actual iOS simulator UI acceptance; retain draft until physical pendant BLE/audio/button acceptance is recorded.
  • [ ] Merge and release the mobile app separately; have the reporter verify the question → answer → Continue flow with their actual pendant.

Preserve recordings/settings; no reset, reinstall, production data mutation or backend deployment is needed for this app-side fix.

aryanorastar avatar Oct 23 '26 09:10 aryanorastar

Opened PR #23387 (https://github.com/BasedHardware/omi/pull/23387) to fix this issue by routing pendant voice-question outcomes, transcriptions, and failure states directly to DeviceOnboardingProvider (with attempt-scoped callbacks and a bounded timeout) instead of inferring completion from MessageProvider.messages.

ocakciomursel-pixel avatar Oct 23 '26 12:10 ocakciomursel-pixel

Current status (2026-10-25): #23466 is merged on main. A fresh run of its existing focused suite passes 51 tests. Codemagic maps the fix into iOS 1.0.576 (1474), submitted for Apple review; the public US App Store still lists 1.0.575. No backend deployment is required.

Further verification found a remaining spoken-reply boundary: native output setup can stall before the voice-stream deadline starts, and awaited native audio cleanup can keep the voice busy guard held. A delayed old cleanup can also stop a replacement response. These are reproduced on main; Andrea's exact cause remains unconfirmed.

Draft follow-up #23609 bounds playback admission, revokes late admission, completes failures independently of request-scoped cleanup, and fences old cleanup after async boundaries. 99 targeted tests, analyzer, local preflight and the affected iOS 26.5 simulator integration flow pass. Synthetic audio/OS/provider I/O and a reused native debug host; no physical BLE or live-provider claim. Current-head CI is running, so it remains draft.

Keep this issue/customer incident open: #23609 still needs reviewed CI, merging and a later signed mobile release (it is not in submitted build 1474). After that release, verify press → speak → press, answer → Continue and failure/retry with the actual pendant. Preserve existing recordings/settings.

aryanorastar avatar Oct 25 '26 16:10 aryanorastar

Fixed on main by #23466 and #23609 (follow-up merge 42a18d46ff417c886f8e1e195003af121646da16). The fixes cover request-scoped tutorial outcomes and admitted capture transitions, terminal failure/retry/deadline handling, and bounded spoken-playback admission and cleanup, including skipped-attempt ownership.

Applicable CI passes on the final #23609 head d87ea9ea8ee1467160fa3493f91115a64d7725d1; the PR records 105 focused tests and the affected iOS simulator flow. Simulator evidence uses synthetic native/audio/provider I/O and is not a physical BLE or live-provider claim.

Closing this GitHub issue as completed: fixed on main. A public mobile release containing #23609 remains a release follow-up; customer verification stays with Support and does not gate technical issue closure. No backend deployment is required.

aryanorastar avatar Oct 26 '26 06:10 aryanorastar

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

featurebase-for-github avatar Nov 06 '26 11:11 featurebase-for-github