Repository navigation
v3: an already-closed Finish is not a failure - #26241
Conversation
Failure-Class: none Co-Authored-By: Codex <[email protected]>
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
@kodjima33 UI changes involving Git-on-my-level require your approval. Review the current diff, then comment |
Failure-Class: none Co-Authored-By: Codex <[email protected]>
|
@kodjima33 UI changes involving Git-on-my-level require your approval. Review the current diff, then comment |
The 404 branch opened the most recent server close when it was newer than the previous Finish. The previous window's own close routinely arrives after that Finish, so a 404 on the next window could open the old conversation. A close now counts only when it names the verified recording being finished or, without one, arrived after this tap; otherwise Finish returns to the pending Home row. Failure-Class: wrong-target Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
@kodjima33 UI changes involving Git-on-my-level require your approval. Review the current diff, then comment |
Process Now can close a recording before Listen announces its successor, so the verified recording at tap time may be the previous window's. A verified recording the server already closed no longer counts as the one being finished, and its late close cannot open from a 404. Failure-Class: wrong-target Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
@kodjima33 UI changes involving Git-on-my-level require your approval. Review the current diff, then comment |
|
/approve-ui 7b33f86 |
What changed and why
End, the live Finish page, and Wrap Up send the owned live window ID when known. Backend PR #26242 consumes
live_conversation_id. Older servers ignore it, and requests with no known window still send{}.A v3 404 can mean the server already closed the window or had nothing to capture. Finish opens a recent server close when one is known. Otherwise, it returns to Home without a failure or “Already saved” toast. The Processing row keeps the known target and is replaced when the matching conversation starts processing or reaches a terminal state. If no result arrives, the existing 20-minute deadline clears it.
Product invariants affected
INV-CAP-1 preserves the capture and WAL close flow. INV-UI-3 keeps typed Finish results and uses the existing Home Processing row.
How it was verified
306 focused Flutter tests passed through the workspace heavy-command gate, and scoped Flutter analysis reported no issues. The Home widget fixture rendered the pending row and its handoff to the matching conversation.
/Users/david/workspace/omi-workspace/bin/omi-heavy run -- bash -c 'cd app && flutter test -j "${OMI_HEAVY_CPUS:-4}" test/widgets/v3_outcomes_test.dart test/pages/conversations/home_v3_test.dart test/widgets/finish_opens_conversation_test.dart test/widgets/finish_outcome_test.dart test/widgets/process_now_conversations_tab_test.dart test/widgets/home_recording_bar_render_test.dart test/widgets/capturing_finish_swipe_back_test.dart test/providers/force_processing_placeholder_test.dart test/unit/process_in_progress_conversation_test.dart test/services/capture/capture_coordinator_test.dart test/services/capture/first_capture_finish_result_test.dart test/services/capture/mic_denied_start_test.dart test/services/capture/capture_one_source_test.dart'Tests
UI evidence
Flutter widget renders using the iOS layout and synthetic conversation fixtures.
Failure class (fixes)
Failure-Class: none
File size exceptions
Line-Count-Exception: app/lib/services/capture/capture_controller.dart | 5093 -> 5103 | Carries the optional window ID into the process stage and exposes a transport recorder for the serialized request regression test.
Line-Count-Exception: app/lib/services/capture/capture_coordinator.dart | 3259 -> 3261 | Keeps the optional window identity on the existing Finish event and process stage.