Repository navigation
app: outcomes contract — every tap ends in something the user can see - #25757
Conversation
…n see Adds §17 Outcomes to the mobile UX contract (INV-UI-3) with four ratchet rules (silent-catch, generic-error, material-page-route, pop-before-await), and fixes the behaviour audit of 2026-11-19: - Finish (C1, C4, C5, C6, C7, C9, C13): one typed FinishOutcome from the live page, Wrap Up and the record button. A failed Finish keeps the reader on the live page with the transcript and Try Again; success opens the result from every entry point; discarded and not-yet-received say so. - S1: C2 mic blocked -> Open Settings, P1 restore reads the error, D1 firmware check error state, V1 share visibility, A1 form dirty guard, G1/G2 goal slider and sheet. - S2: L1 L2 L3 D2 D4 D5 D8 G3 G4 T1 T3 T4 T5 P4 P5 H2 H3 H4 H5 A2 A4 V3 V5 V12. The capture controller still clears live state before Process Now (C1 ownership contract); the live page holds what it showed until the server answers. Failure-Class: new Co-Authored-By: Claude Opus 5.5 <[email protected]>
MicPermissionDenied stays a StateError so the coordinator contract tests (a refused phone start throws StateError) still hold. Three older tests pinned behaviour this PR replaces on purpose: the generic start error (C2), the citation "not found or deleted" copy (H4), and defaults shown when notification settings could not be read (P4). Failure-Class: new Co-Authored-By: Claude Opus 5.5 <[email protected]>
The goal sheet's failed-save toast went to the page's ScaffoldMessenger, which sits under the modal sheet, so the reader never saw it. The sheet now shows an inline notice with Try Again. Adds a render test and screenshots for D1, P4, G2 and C2. Failure-Class: new Co-Authored-By: Claude Opus 5.5 <[email protected]>
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 |
- C6: the processing page reads discarded rows too, so a discarded recording ends the wait on the first poll (the list fetch excluded them). - P5: a late failure of an older setting write no longer rolls back a newer choice. - T1, V3: a fresh first page or a filter change clears a failed load-more. - D1: a firmware lookup that throws is a failed check, not a spinner. - G4: a goal delete whose answer cannot be read puts the goal back. - C5: a retry or a phone page with no lines maps "not received" honestly. - A2: the disabled Submit names capability and pricing details when those are what is missing. - Ratchet: generic-error accepts only a label with its callback, or onRetry:; material-page-route ignores commented-out code. - finishCaptureWithResult had no production caller; removed. Failure-Class: new 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 |
…tus words, swipe to Finish David's rulings and the v3 audit of 2026-11-19: - X5: one isFailedConversation (tile state first) for Home, Activity, the bell and the Summary slot; a failed v3 conversation leaves Home, is listed in Activity with Try Again and lights the bell's attention dot. - X6: a failed older page ends Home, Tasks and Recent Changes with one tappable line, not a button and not silence. - X7: rows still transcribing or writing re-read on the 15 s v3 tick. - X9, X10: the processing page says when its reads keep failing, and "taking longer" only after a read that answered. - X11: one conversationIsLive gates the row and the detail page's changes. - X12: the detail strip names the v3 step and ends with Try Again. - X14: a conversation link tells offline, deleted and locked apart. - X17: a failed pending-work read keeps the last answer. - v3 Home rows show "Listening", "Transcribing…" or "Writing summary…" in place of the time, cross-fading with the tile; the live row this phone captures swipes open to Finish (the live page's path). - Motion rules in ux-contract §10; Tasks first load cross-fades and a tick answers before the row moves; shorter copy. Failure-Class: new Co-Authored-By: Claude Opus 5.5 <[email protected]>
openConversationById now classifies ConversationApi.byId's ApiResult (404 gone, 402 locked, anything else unreachable) instead of a nullable raw call, and conversationOpenFrom is unit-tested. Failure-Class: legacy-nullable-http Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ith X5/X17 AnimatedSwitcher left a fade layer and a clipping stack on every Home row, so the production shell gate counted 30 opacity and 11 clip layers. The new OmiCrossFade draws the bare child at rest and fades only during a change. X17 keeps the last good home_processing_today answer, but a failed read before any answer (or after an account reset) still keeps old Home. The store and Home V3 tests that encoded the old fail-to-off and the failed row on Home now assert the ruled behaviour. Failure-Class: rebuild-storm 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 |
…chet) 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 |
…ing (panel F2, F4) Goal slider: each drag and save bumps a per-goal revision, so a late answer for an older drag neither clears the newer thumb nor offers a retry that would overwrite it. Settings: while writes to one setting overlap, a failure rolls back to the last value the server confirmed, not to that write's own "previous". Each fix has a test that fails without it. Failure-Class: stale-write-overwrites-newer-choice 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 |
l10n: took main's ARBs and generated files, re-added this PR's 42 pending keys, and regenerated (l10n.py check: 49 locales, 4566 keys). conversation_list_item: the V3 "Listening · X" line now uses #25725's duration authority (speech so far), not start to now, and carries its conversation_row_live_length key. Activity strip: #25725's LiveConversationRefresher and LiveSummarySection now own V3 re-reads, so the strip only names the step for V3 and keeps its capped poll and "Still working on it." Try Again for status processing. 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 |
Translation files taken from main, with this PR's 42 pending English keys re-stubbed; firmware_mixin.dart keeps both the test lookup hook and main's CV1 not-installed message. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Filled with bin/omi-l10n-fill (48 locales, 10 batches, review pass with 12 fixes); removes app/l10n-pending.json. 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 4788ffc |
…ardware#25757 BasedHardware#25757 added a failed-check state with Try Again for a lookup that gets no answer. Keep that design and drop this branch's own inconclusive-lookup retry. Keep only what main still lacks: an answered lookup with an unusable release (empty, draft, unparsable) now goes to main's failed-check state, while a device below the release minimum, a release that needs a newer app, an unreadable device revision and a rollback with no usable stable version no longer show the green up-to-date status.
…or an unread revision as up to date (#25375) (#25455) ## Problem and resulting behavior Fixes #25375. Firmware Update could show a green “up to date” status for an unusable release, an unread device revision, or a release the device/app cannot use. Main's #25757 already handles failed requests; this PR completes the status boundary using one typed firmware-check result. Only a conclusive result may show “up to date.” Empty, draft or invalid release metadata uses the existing failed-check state and Try Again. When a successful response supplies usable release metadata, a below-minimum result points to support and an app requirement points to an app-store update. These are separate typed reasons with precise localized warnings. An unreadable device revision is explained before any request, since repeating a backend call cannot repair the BLE read. Rollback validates the stable version before offering installation. Optional app-version and build requirements are each honored; releases with neither remain eligible. The provider's existing offer-only API delegates to the same classification. The update/install flow and its battery gates are preserved. ## Eligibility clarification Current [CV1 3.0.24 metadata](https://github.com/BasedHardware/omi/releases/tag/Omi_CV1_v3.0.24) has general rollout 0%, blocked=false and an account allowlist. Firmware 3.0.21 meets its firmware floor 3.0.6; app minimum is 1.0.74 / build 438. An anonymous representative production lookup returns 404 for no eligible candidate. [Issue audit](#25375 (comment)). Production filters below-floor releases before responding; its 404 has no per-reason diagnostic and remains an inconclusive failed check. The synthetic 200 below-minimum cases prove defensive client classification, not production eligibility integration. No rollout metadata or backend contract changes are included. Reporter-specific eligibility and the separately mentioned SD-transfer symptom are unverified. ## Verification - `flutter test` across all 12 firmware test files and `outcomes_widgets_test.dart`: **152 passed**, including existing battery/install-verification coverage. - New no-request revision regressions failed before the guard. Four optional/crossed app-floor regressions failed before the comparison fix. Final typed-classification cases cover non-string versions, malformed minima, legacy omissions and eligible controls. - Live `agent-flutter` verification drove the production page in a synthetic Android-layout flutter_tester harness: 404 → actual Try Again → eligible offer; unknown/garbled revisions with zero HTTP requests; unusable metadata, below-minimum/app-ineligible states and malformed rollback; eligible and confirmed-current controls. HTTP and device/plugin data were fixtures; a long German warning also fits; no firmware was flashed and no physical BLE or customer session was used. - Independent agent review approved the final production source and regression changes. - Full local Flutter suite at prerequisite-fix commit `0db54f1c83`: **9,977 passed, 12 skipped**. After the final reason-specific copy change, all **152 affected tests** pass. Full analyzer ratchet, localization check (49 locales / 4,571 keys), and all 28 preflight checks pass. [Final-head CI](https://github.com/BasedHardware/omi/actions/runs/45003473711) passed: **10,106 Flutter tests, 8 skipped**, full analyzer ratchet and non-UTC Home boundary checks; Mobile Release Eligibility passed. ## UI evidence The existing warning/confirmed-current layouts are retained. The contributor captures below show the earlier warning wording and unchanged current-version control. Final Android-layout captures (including precise warnings and German copy) were inspected in the live verification described above and retained with its receipt.   ## Product invariants and failure class INV-UI-1, INV-UI-3, INV-PERF-1. Status changes reuse the shared UI and localized copy. Failure-Class: none
What this changes
Every tap now ends in something the reader can see. This PR adds §17 Outcomes to the mobile UX contract, adds four ratchet rules to
check_mobile_ux_contract.py, fixes the Finish path completely, and lands the clear S1 and S2 fixes from the 2026-11-19 behaviour audit (omi-knowledge-base/projects/mobile-ux-behaviour-audit/evidence/2026-11-19-behaviour-audit.md). Each fix that has an injection seam has a test for the failing path; the ones without one are listed under C.This PR changes the INV-UI-3 contract and its guard (
product/invariants/mobile-ux-contract.md): it adds §17 and the new MUST NOT lines, and extends §2 so inline editors and full-page forms also guard unsaved input.Product invariants affected
capture_controller.dartgainsfinishCaptureWithOutcome()and a typed mic-denied start error. The capture ownership order is unchanged (see B).A. Contract and guards
app/docs/ux-contract.md§17 Outcomes keeps all nine rules from the audit draft, tightened. It names the shared pieces:FinishOutcome/presentFinishOutcome,OmiMissingTarget,applyOmiSettingandOmiUnsavedChangesGuard.OmiUnsavedChangesGuard.product/invariants/mobile-ux-contract.md: matching MUST NOT lines.omi-ux-allowescape, and each has a failing case plus precision cases intest_check_mobile_ux_contract.py. The new--totalsflag prints the tree-wide counts below.2779f1adc04)silent-catchcatch (…) {}, and catch bodies that only log, underpages/andproviders/generic-errorsomethingWentWrong*in a call with no way forward (actionLabel:withonAction:, oronRetry:)material-page-routeMaterialPageRoute(in code (not comments)pop-before-awaitNavigator…pop(whose nextawaitin the same block is a requestpop-before-awaitships because it was tuned onapp/libuntil it was precise. The naive version counted 32 hits, about half of them false positives: arrow handlers such as() => Navigator.pop(ctx, true), and a pop followed byawait showOmiConfirm(…)oropenAppSettings(), which moves on to the next surface. The rule now:{}block, not an arrow handler;awaitafter the pop is a request, notshow*,open*,push*orlaunch*;caselabel.That leaves 10 hits on main. All of them are real "close, then request" sites, for example
add_app.dartSubmit, the summary template sheet and the M1 bulk-visibility sheet.B. Finish (C1, C4, C5, C6, C7, C9, C13): done completely
"Finish this capture" now returns one typed outcome everywhere (
services/capture/finish_outcome.dart):FinishOpenedFinishProcessingFinishNothingNew(alreadySaved)FinishDiscardedFinishNotReceivedFinishSavedForLater(phone Transcribe Later)FinishFailed(noAnswer | exception)finishLiveCaptureinpages/episodes/finish_capture.dartis the one path behind the live page's Finish, Home's Wrap Up and the record-button stop. It never throws, so no caller can get a bare null.presentFinishOutcomeshows the outcome the same way from every entry point:finishCapture()directly, and the live page used to skip the request for a phone page with no lines yet. Both now take the same path.Capture ownership contract (kept): the controller still clears its live state before Process Now, inside
forceProcessingCurrentConversation. The C1 ownership and generation contracts depend on that ordering:_systemSurfaceConversationRevisionis bumped synchronously before the request, so lines that arrive afterwards belong to the next conversation, and the placeholder row is added before reset.test/providers/force_processing_placeholder_test.dartandapp/test/spine/c1_*cover this. Following the brief, I kept the contract and fixed what the reader sees at the page level. The live page holds the transcript it showed at the tap (HeldCapture), andLiveTranscriptView(held:)renders it read-only while the server has not answered and after a failure. The controller's only change isfinishCaptureWithOutcome(), which keeps the existing request and returns theProcessAbsencethatfinishCaptureWithResult()used to drop. The processing row is still removed only after the server answers.Outcome tests:
test/widgets/finish_outcome_test.dartruns on the realLiveEpisodePageandCaptureProvider. It covers 5 answers × 3 sources (pendant streaming, pendant batch, phone mic), and each case asserts what is on screen. The 5 answers are: success, server refuses, no answer, exception and discarded. The file also has a mapping test for every Process Now answer.test/services/capture/mic_denied_start_test.dartdrives the real controller through the replay world. Two cases infinish_opens_conversation_test.dartpinned the old behaviour (silent pop to Home on failure; "Nothing to process yet" on a page with preview lines). They now assert the new behaviour.C. Clear fixes
S1, all landed:
MicPermissionDeniedand shows "Omi can't use the microphone…" with Open Settings. Any other start failure says "Couldn't start recording." with Try Again.UsageProvider.restorePurchases()→paid | free | failed. A failed read is never "Free plan" on the trial, outline or web paywall.OmiErrorStatewith Try Again instead of a green "up to date".runConversationShareflow. A sheet that fails after the conversation went public is reverted. A revert that fails says "still shared" and offers Make Private.OmiUnsavedChangesGuard. The create form compares against its presets, so a preset form is not "dirty". The edit page'sclear()now runs only after a real pop.S2, all landed:
OmiMissingTargetmessages replace "Something went wrong" and "not found or deleted". H4 and V12 add Try Again.applyOmiSetting, which rolls back and reports.OmiPartialNotice, and a failed Show More has Try Again.Tests for S1 and S2 are in:
test/widgets/outcomes_widgets_test.dart: D1, G2, G4, A1, P4, P5, D2, D5, C2test/providers/outcomes_provider_test.dart: P1, G1 (provider: a failed save answers null and keeps the saved value; the slider-follow behaviour itself has no widget test), G3, T1, T4, T5, H2, D4, V1/V5, C6test/widgets/home/home_navigation_test.dart: L1, L2test/pages/review/recent_changes_page_test.dart: V3L3, D8, T3, H3, H4, H5, A2, A4 and V12 have no dedicated test. Each is a page-level message on a path with no injection seam: a top-level API call, a platform plugin or a file I/O guard. I did not add seams just for tests.
Not reproduced or out of scope
Turn 2: David's rulings of 2026-11-19 and the V3 findings
Rulings applied
finish_outcome_test.dart(pendant streaming, pendant batch, phone) andfinish_opens_conversation_test.dartassert this.finishstring.app/docs/ux-contract.md§10 as contract text.V3 findings
finish_opens_conversation_test.dart"a Finish that failed offline…"isFailedConversation()(pages/conversations/home_rows.dart) readstileStatefirst, then the legacy fields. Home, the conversation page's Summary retry slot, Activity and the bell all use it. A failed V3 conversation is hidden from Home (shownOnV3Home) and listed under Activity's needs-attention section with Try Again, whether or nothome_processing_todayis on. It lights the bell's attention dot until Activity has shown it.v3_outcomes_test.dart: a predicate test, plus a table from each tile state to Home, Activity and the bell dot, built from the decoder fixture (status completed, tile failed)v3_outcomes_test.dartX6 (provider and widget)ConversationsV3Provider.watch(rowsPending:, refreshRows:)).v3_outcomes_test.dartX7outcomes_widgets_test.dartC6v3_outcomes_test.dartX9/X10conversationIsLive()(conversation_detail/conversation_live_guard.dart) gates the Home row (long-press, delete swipe) and the conversation page's Delete, Reprocess, Rename, Move, Visibility, Link and Share. A refused action says "Wait until it ends to change it."v3_outcomes_test.dartX11conversation_detail_status_test.dartX12openConversationById(newapi/conversation_open.dart), which separates found, deleted (404), locked (402) and unreachable. Offline says "Can't connect right now." with Try Again; deleted and locked each have their own sentence. "Not found or deleted" is gone from this path.v3_outcomes_test.dartX14 (3 cases)home_processing_todayanswer, so Activity's lists stay. Before the first answer, and after an account reset, a failed read still keeps old Home. The two store tests that pinned "every failed read turns it off" now assert this rule.v3_outcomes_test.dartX17Approved design changes
OmiMotion.standardthrough a newOmiCrossFade(ui/components/omi_cross_fade.dart). At rest it draws the bare child:AnimatedSwitcherkept a fade layer and a clipping stack on every Home row, and the production shell gate caught it (30 opacity layers against a budget of 11). WithOmiCrossFadethe gate passes with no budget change. A screen reader hears "Summary ready" when a row goes from transcribing or writing to done.finishlabel.finishLiveCaptureonce: the live page's typed outcome from part B, thenpresentFinishOutcomeopens the result.OmiMotion.quickbefore the row moves to Completed.Not done, and why
widgets/conversation_bottom_bar.dart, which fix(app): v3 Home pages on server has-more and cursor; live tile shows speech span and End #25725 changes. Today the bar cannot tell "still being built" from "unavailable" when the budget ends, so this needs a new state, not a string swap.getConversationById, which folds 402 into null. Moving it toopenConversationByIdchanges the citation test seam; I left it for a follow-up.live_summary_section.dart, which fix(app): v3 Home pages on server has-more and cursor; live tile shows speech span and End #25725 owns.After PR #25725 merged (merge
06f73ba2a56)#25725 landed on main at 11:12 UTC. I merged it in and resolved the overlap:
l10n.py checkpasses: 49 locales, 4566 keys.conversation_list_item.dart(the only code conflict, in imports):conversation_row_live_lengthkey, so its test finds the live row's one length.LiveConversationRefresher(live, transcribing) andLiveSummarySection(writing) now own V3 re-reads. The strip only names the V3 step. It keeps its capped poll, and "Still working on it." with Try Again, for statusprocessing. Tests: "X12: v3 names the step and leaves its reads to the page" (no strip reads) and "X12: when the reads run out it says so with Try Again".page.dart,conversation_detail_header.dart,conversations_page.dartandconversation_provider.dartmerged without conflicts.After merging main again (merge
b36880a4e9a, translations4788ffc0fa2)Main had moved 78 commits. Resolved:
omi-l10n-fill stub.app/lib/pages/home/firmware_mixin.dart: both sides added a top-level declaration in the same spot: this PR'sdebugLatestFirmwareLookuptest hook, and main'sfirmwareNotInstalledMessage(CV1). Both are kept.omi-l10n-fill filltranslated all 42 strings into the 48 other locales, with a review pass that made 12 fixes.app/l10n-pending.jsonis removed.Other polish I noticed (not done here)
app/lib/pages/episodes/finished_capture_page.dart:176: the processing page becomes the conversation through aMaterialPageRouteslide. Under the §10 motion rules, content changing in the same place should cross-fade.app/lib/pages/conversations/widgets/conversation_list_item.dart:737: legacy Home rows still carry "Summary failed · Retry", a button on a row. For legacy accounts withhome_processing_todayoff, that contradicts the no-buttons-on-rows ruling; those failures could go to Activity the same way as V3.app/lib/widgets/conversation_bottom_bar.dart:1108: audio still being built when the 90 s budget ends reads "Audio Unavailable". It should say "Getting audio ready…" and keep checking.app/lib/pages/chat/widgets/ai_message.dart:836: an offline citation tap shows the generic internet error with no Try Again. It could useOmiMissingTarget.offlinelike links do.app/lib/l10n/app_en.arb:2330: "This conversation cannot be merged (locked or already merging)" is technical. "This one can't be merged right now." would do.app/lib/pages/action_items/action_items_page.dart:1256: a failed task tick showsfailedToUpdateActionItemwith no Try Again, and the tick snaps back with no motion.app/lib/pages/conversations/widgets/conversation_list_item.dart:1111: the "New" badge blinks at 1 s for a minute. A static badge would be calmer, and the blink ignores Reduce Motion.app/lib/pages/conversations/conversations_page.dart:750: scroll-to-top uses a literal 500 ms instead ofOmiMotion.emphasized.app/lib/pages/conversations/widgets/conversation_list_item.dart:523: the card's selection and opacity changes use literal 200 ms durations instead ofOmiMotiontokens, so they ignore Reduce Motion.app/lib/pages/conversations/conversations_page.dart:1347:Logger.debug('loading more conversations')runs on every build of the list end, which is noise in support logs.Strings
All new copy is English-only, stubbed with
omi-l10n-fill stub.app/l10n-pending.jsonlists 30 keys for the coordinator's translation fill.python3 app/scripts/l10n.py checkpasses.Review panel (omi-panel review-20261119t060850-6128, FIX-FIRST at
0538116473)The fifth commit (
49d171c323a) answers it:includeDiscarded: true. A widget test drives the page's poll with a discarded row.generic-errornow needsactionLabel:withonAction:, oronRetry:. There are tests for a label with no callback and forOmiErrorState(onRetry:).applyOmiSettingtakes asettingkey. A late failure of a superseded write neither rolls back nor reports. Tested.heardSomething: hadContent || retry.material-page-route. The table above is recomputed with the final rules.finishCaptureWithResulthad no production caller and is removed. Its test usesfinishCaptureWithOutcome.app/l10n-pending.jsonis read by the workspace'somi-l10n-fill fill, which the coordinator runs before review. The tool lives in the workspace repo, not here.Screenshots
Rendered from
test/widgets/outcomes_render_test.dart(iPhone size, real fonts, synthetic data).The G2 capture caught a bug in my first fix: the error went to a page toast hidden under the sheet. The third commit moves it into the sheet.
Line-count exceptions
Line-Count-Exception: app/lib/services/capture/capture_controller.dart | 5046 -> 5059 | finishCaptureWithOutcome returns the ProcessAbsence the old wrapper dropped, and the typed mic-denied start (C2) must live where the stage runs; splitting the capture controller is out of scope for a UX outcomes PR
Line-Count-Exception: app/lib/providers/action_items_provider.dart | 1533 -> 1561 | T1 load-more failure state, T4 reminder-after-server ordering and T5 typed clear result belong to the provider that owns these writes
Line-Count-Exception: app/lib/providers/device_provider.dart | 1754 -> 1755 | D1: firmware lookups now return null on failure, and the caller keeps its empty-map default explicitly
Line-Count-Exception: app/lib/pages/action_items/action_items_page.dart | 1468 -> 1507 | T1's quiet load-more line and the first-load cross-fade and tick timing (approved motion) live in the page that owns the list; splitting the Tasks page is out of scope here
Line-Count-Exception: app/lib/providers/conversation_provider.dart | 2350 -> 2358 | X6: a loadMoreFailed flag set in the existing failed-page branch and cleared on success; no paging logic changed (PR #25725 owns paging)
Line-Count-Exception: app/lib/pages/conversation_detail/page.dart | 1734 -> 1738 | X11: the live-conversation guard on the menu and share paths (two imports, two early returns); the share flow itself moved out to share_flow.dart
Panel review (turn 2, review-20261119t101336-51ef)
Only luna ran: deepseek and glm-flash failed to launch.
origin/main(live_episode_page._finishOnce) does the same: the pendant keeps listening, and Finish closes the episode.1c2d6fd50c6with a per-goal revision. Test:outcomes_widgets_test"G1: a late failed save…", which fails without the fix.origin/mainreads the same 10 rows, and the target is the newest.1c2d6fd50c6: a failure rolls back to the last value the server confirmed. Test: "P5: two overlapping failed changes…", which fails without the fix.Verification
All runs on m5, Flutter 3.44.5 (the pinned version),
TZ=UTC, throughomi-heavy.Head
4788ffc0fa2(after the second main merge and the translation fill), Flutter 3.44.5:python3 app/scripts/l10n.py checkapp/scripts/analyze_ratchet.sh(onb36880a4e9a)flutter teston the merge-affected files:finish_outcome,finish_opens_conversation,outcomes_widgets,goal_sheet_and_undoand 12 firmware test files (onb36880a4e9a)scripts/pr-preflight(pre-push hook)The full
app/test.shwas not rerun after this merge; CI runs it.Final head
06f73ba2a56(after merging #25725 from main):bash app/test.shscripts/pr-preflight --pr-body-file <this body>python3 app/scripts/l10n.py check1c2d6fd50c6Turn 2, earlier head
ac37906b563:bash app/test.shscripts/pr-preflight --pr-body-file <this body>python3 app/scripts/l10n.py checkomi-l10n-fill stub)run_journeys.sh --lane hermetic --filter j7_conversation_merge_recoveryac37906b563: 4 testsmake mobile-verify ARGS="fast --all"(ona0c6f1a9bf9plus an uncommitted first draft ofOmiCrossFade)ac37906b563and rerun above. The full fast set was not rerun on the final head.The full suite on
23b0f179aecfailed 15 tests in 5 files. Each failure is fixed inac37906b563:OmiCrossFade.Turn 1 (earlier heads): the full
app/test.shandmobile-verify fast --allpassed onb97e008006f. The UX contract ratchet tests passed (32).After
ac37906b563the branch gained only:origin/main(26 commits, no shared files); the whole-app analyzer then reported no errors.constin a test, for the analyzer ratchet;app/scripts/analyze_ratchet.shpasses.1c2d6fd50c6).outcomes_widgets_testandgoal_sheet_and_undo_testpass (15 tests), and preflight passes (34 checks).The new tests were written against the audit's failing paths. I did not check out the old code to watch each one fail.
Failure-Class: new
🤖 Generated with Claude Code