Repository navigation
Description
TL;DR: In the pendant tutorial's "Ask Omi a Question" step, if you press once, speak, and do not press again, capture's 15 s voice-command timeout sends the question and Omi answers in chat. The tutorial never hears about it: its state only changes on a second button press, so the step stays on "Listening…", ignores the answer and never shows Continue. Reproduced on the iOS Simulator with the real SinglePressStep and DeviceOnboardingProvider.
Product impact (see PRODUCT.md and ISSUE_TRIAGE_GUIDE.MD)
- Primary loop layer: UX-Polish
- Involves data loss, failed capture, or broken sync/trust.
Describe the bug
Pressing once and waiting is a natural first try. The question actually works; only the tutorial is stuck.
To Reproduce
- Pair an Omi, start the pendant tutorial, reach "Ask Omi a Question".
- Press the button once, ask something, then wait (no second press).
- After 15 s the question is sent and answered in chat.
- The step still says Listening; no answer, no Continue.
Current behavior
voiceSessionActive stays true and questionSent false; the answer that arrived is ignored.
Expected behavior
A timeout submission advances the tutorial exactly like a second press: show "Processing…", then the answer and Continue.
Screenshots
Left: after one press. Right: the timeout sent the question and the answer arrived; the step still shows Listening. Real SinglePressStep, iOS Simulator.
user ID (can we access the user info to validate the bug?):
Not needed: found in the code; reproduced without a user account where noted.
Smartphone + device (please complete the following information):
- Device: iOS Simulator, iPhone 16 (reproduction); shared Flutter code, so physical phones are affected too
- OS: iOS 18.0 (Simulator)
- App Version:
mainat cf8201c (dev flavor) - Device version: Omi pendant (tutorial)
Additional context
Root cause. The voice-command timeout ends and submits the session without telling the tutorial. _handleStep1Button sets questionSent only on a second press, and SinglePressStep ignores new messages until questionSent is true.
Reproduction. Reproduced on the iOS Simulator (iPhone 16, iOS 18.0) with a temporary integration test on main at cf8201c2f5 that pumps the real widgets named above; only the network (a local fixture backend) and the pendant/BLE side are faked: button events go to DeviceOnboardingProvider.onButtonEvent as capture forwards them, and the question and answer are added to chat as the voice-question path does:
OMI_FACT:o46:answerInChat=true voiceSessionActive=true questionSent=false stillListening=true continueShown=false
Suggested fix. Have the timeout path notify the tutorial (e.g. deviceOnboardingProvider.onQuestionSubmitted()), the same transition as the second press.
Part of a review of the first-run flow (sign-in → consent → … → voice introduction → graph → pairing → pendant tutorial); each claim was checked against the code a second time before filing.


Activity
Aj2280 commentedon Oct 7, 2026
Opened fix PR #20910 addressing this issue with 100% green CI checks and unit test coverage.