Skip to content

fix(app): a Finish that failed offline can be retried - #25743

Merged
kodjima33 merged 1 commit into
mainfrom
mux/2026-11-18-finish-retry
Nov 19, 2026
Merged

kodjima33 merged 1 commit into
mainfrom
mux/2026-11-18-finish-retry

Conversation

@kodjima33

@kodjima33 kodjima33 commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

Follow-up to #25733 (review should-fix). Finish records the preview's word count before it sends Process Now. When Process Now gets no answer (offline, a server error), nothing was processed. But the next Finish saw no new words, said "Nothing to process yet." and sent nothing, so the capture waited for the server's own quiet close.

Change

app/lib/pages/episodes/live_episode_page.dart: the watermark is still taken at the tap, so words heard during the request still count as new. When Process Now returns no answer (result == null), the previous watermark is restored. Nothing visible changes.

Spinner check from the review: the dark Processing screenshot shows a single dot only because a still frame caught the start of the indeterminate CircularProgressIndicator cycle, where the arc is almost zero. The other dark run, captured at a different moment, shows a normal arc (crops: mobile-ux-agent runs/2026-11-18/p1/spinner-dark-vs-light-frames.png). Same widget and colour in both themes. Not a defect, no change.

Impact estimate

Trust: a Finish tapped while offline now works on the next try instead of silently doing nothing. Base as in #25733: about 51 people in 48 h reported missing, stuck or slow conversations; 13 asked for a refund or return (voice.md). No conversion change modeled.

Evidence

No visible change; widget test only.

At ship

Nothing.

Tests

  • New: a Finish that failed offline is sent again by the next Finish in app/test/widgets/finish_opens_conversation_test.dart (offline Finish, then Finish again online: one more request and the Processing page). Fails with main's live_episode_page.dart, passes here.
  • Also run: the rest of finish_opens_conversation_test, process_now_conversations_tab_test, capturing_finish_swipe_back_test, episodes_ui_test (58 green).

Not verified

  • On device, offline then online (widget test only).

Product invariants affected

  • INV-CAP-1: no change to capture or audio; only whether a retried Finish sends Process Now.

Failure class (fixes)

Failure-Class: none

UI-Evidence: none -- no visible change; the fix only decides whether a retried Finish sends Process Now

View guided diff Turn on auto-fix

The client-Finish watermark was recorded before Process Now. When the
request got no answer (offline, a server error), the next Finish saw no
new preview words, said "Nothing to process yet." and sent nothing. The
previous watermark is now restored when Finish gets no answer.
@kodjima33 kodjima33 added the mux-proposal Mobile UX improver (MUX) proposal; waits for Nik's ship label Nov 19, 2026
@kodjima33
kodjima33 marked this pull request as ready for review November 19, 2026 02:08
@kodjima33
kodjima33 merged commit 7c7b491 into main Nov 19, 2026
55 of 56 checks passed
@kodjima33
kodjima33 deleted the mux/2026-11-18-finish-retry branch November 19, 2026 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mux-proposal Mobile UX improver (MUX) proposal; waits for Nik's ship

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant