Repository navigation
fix(app): a Finish that failed offline can be retried - #25743
Merged
Merged
Conversation
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
marked this pull request as ready for review
November 19, 2026 02:08
This was referenced Nov 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
CircularProgressIndicatorcycle, 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
a Finish that failed offline is sent again by the next Finishinapp/test/widgets/finish_opens_conversation_test.dart(offline Finish, then Finish again online: one more request and the Processing page). Fails with main'slive_episode_page.dart, passes here.finish_opens_conversation_test,process_now_conversations_tab_test,capturing_finish_swipe_back_test,episodes_ui_test(58 green).Not verified
Product invariants affected
Failure class (fixes)
Failure-Class: none
UI-Evidence: none -- no visible change; the fix only decides whether a retried Finish sends Process Now