Skip to content

fix(app): preserve Custom Live recovery on settings refresh (SCA-3616) - #26131

Merged
Git-on-my-level merged 1 commit into
BasedHardware:mainfrom
Git-on-my-level:agent/m1-studio-codex-sol/6e54ea8dcea1
Nov 23, 2026
Merged

Git-on-my-level merged 1 commit into
BasedHardware:mainfrom
Git-on-my-level:agent/m1-studio-codex-sol/6e54ea8dcea1

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Summary

Follow-up to #25975 for SCA-3616. Refreshing transcription settings keeps the Android Custom Live watchdog when the admitted recording and STT configuration still match. The existing timer, one-retry budget, and pending outcome survive the refresh. A changed configuration or retired capture invalidates the old watch.

Verification

  • Both regressions failed before the fix. The public settings refresh replaced the watch, and refreshing after the retry write immediately reported censored while recovery was pending.
  • On Flutter 3.44.5, all 50 focused tests passed across tiered_capture, resume_sync_fence, transcription_settings_retention, limitless_golden, limitless_realtime_health, and recording_lifecycle_telemetry. The pending retry reports exhausted once and issues a single BLE reactivation write. The capture replay also verifies config and account changes invalidate the old watch.
  • Verification used a scripted BLE transport on the M1 host.
  • make preflight passed all 27 selected checks.

Product invariants affected

  • INV-CAP-1. The admitted Limitless recording keeps its bounded recovery watch through an unchanged settings refresh.

Failure-Class: FC-callback-replenishes-link-retry-budget
UI-Evidence: none
Line-Count-Exception: app/lib/services/capture/capture_controller.dart | 5014 -> 5018 | Keep explicit teardown for ineligible recovery while allowing a valid watch to survive settings refresh.
Line-Count-Exception: app/lib/services/devices/connectors/limitless_connection.dart | 2294 -> 2299 | Retain the ownership predicate with the reconnect binding so a refresh reuses the admitted retry budget.

View guided diff

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T11:45:37.980653Z f236836 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Git-on-my-level
Git-on-my-level merged commit bb9685c into BasedHardware:main Nov 23, 2026
43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant