Skip to content

Pendant tutorial: a question sent by the 15 s timeout leaves "Ask Omi a Question" on Listening forever #20786

Closed

Description

@Itaxh1

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

  1. Pair an Omi, start the pendant tutorial, reach "Ask Omi a Question".
  2. Press the button once, ask something, then wait (no second press).
  3. After 15 s the question is sent and answered in chat.
  4. 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

Ask Omi a Question after one press: Listening The answer is in chat but the step still shows Listening

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: main at 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

  1. added
    bug
    flutter
    p1
    on Oct 6, 2026
  2. Aj2280 commented on Oct 7, 2026

    @Aj2280
    Contributor

    Opened fix PR #20910 addressing this issue with 100% green CI checks and unit test coverage.

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

    bugflutterhardwareonboardingp1

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions