You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Finish with nothing captured still jumps to Conversations and shows a 'Processing' row #19235
Involves data loss, failed capture, or broken sync/trust
Describe the bug
Finishing a capture in which nothing was heard (no segments, no photos) still runs the process stage: the
optimistic "Processing" placeholder is added and the Live page switches to the Conversations tab. The placeholder
goes away only when the server answers that there was nothing to process, so the user briefly sees a conversation
that will never exist, on a tab they did not ask for.
To reproduce
Start listening (phone or pendant) and stay silent.
Open the Live page and tap Finish.
Current behavior
The app lands on Conversations with a "Processing" row that then vanishes.
Expected behavior
With nothing heard there is nothing to process: no placeholder, and the user stays on (or returns to) Home.
Skip processing (and the placeholder) when the session has no segments or photos, and only switch to
Conversations when something was heard.
Fix available
Fixed with a regression test on the fork branch design/v2-step0-tokens (043db6c3cc, 7a705870d9). The branch's Stop processes only when something was heard and returns to Home otherwise. It will be linked from the draft PR.
Found while testing the Omi v2 Flutter restyle on an iPhone, then confirmed against main at 32c2ed22cf.
Submitted fix with hermetic regression tests in #21324:
Root Cause & Fix:
_stopConversation was unconditionally invoking switchHomeToConversationsTab(context) and triggering optimistic processing through finishCapture().
When nothing was heard (provider.segments.isEmpty && provider.photos.isEmpty), we now skip tab bouncing and optimistic skeleton row creation: active recording is cleanly stopped/paused (stopStreamRecording for phone mic, or pauseCapture on device) and the route pops back to Home directly.
When content was heard, full processing and transition to the Conversations tab are preserved.
Hermetic Tests:
Added regression test with nothing heard, Finish saves nothing and stays on current Home tab to app/test/widgets/process_now_conversations_tab_test.dart (asserts forceProcessingCalls == 0 and preserves current Home tab).
Added a finish with nothing heard closes the page and stays on the current tab to app/test/widgets/capturing_finish_swipe_back_test.dart.
Activity
fix(capture): finish empty capture stays on Home without processing r…
Dragonire9 commentedon Oct 12, 2026
Submitted fix with hermetic regression tests in #21324:
_stopConversationwas unconditionally invokingswitchHomeToConversationsTab(context)and triggering optimistic processing throughfinishCapture().provider.segments.isEmpty && provider.photos.isEmpty), we now skip tab bouncing and optimistic skeleton row creation: active recording is cleanly stopped/paused (stopStreamRecordingfor phone mic, orpauseCaptureon device) and the route pops back to Home directly.with nothing heard, Finish saves nothing and stays on current Home tabtoapp/test/widgets/process_now_conversations_tab_test.dart(assertsforceProcessingCalls == 0and preserves current Home tab).a finish with nothing heard closes the page and stays on the current tabtoapp/test/widgets/capturing_finish_swipe_back_test.dart.fix(capture): finish with nothing heard stays on Home without process…