Skip to content

fix(app): don't report unusable release info, a below-minimum device or an unread revision as up to date (#25375) - #25455

Merged
aryanorastar merged 11 commits into
BasedHardware:mainfrom
shubhxho:fix/firmware-check-masked-25375
Nov 22, 2026
Merged

aryanorastar merged 11 commits into
BasedHardware:mainfrom
shubhxho:fix/firmware-check-masked-25375

Conversation

@shubhxho

@shubhxho shubhxho commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

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 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. 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 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.

Below minimum version
Confirmed current

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 16, 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-22T09:13:12.580899Z bd447a9 Draft marked ready
ℹ️ 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9d431c97b3

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/lib/pages/home/firmware_update.dart Resolved
@Git-on-my-level

Copy link
Copy Markdown
Member

The production change here is correct and nicely scoped; no blocking issues.

Verified against the diff:

  • app/lib/utils/device.dart — the new FirmwareUpdateCheck enum (updateAvailable / upToDate / notConfirmed) is the right factoring: checkFirmwareUpdate keeps every prior branch and message, and shouldUpdateFirmware delegates with the old tuple, so device_provider.dart and other callers are unaffected. Only the confirmed latestVersion <= currentVersion path yields upToDate; empty revision, empty/draft/unparsable release metadata, below min_version, and "newer app required" all correctly land on notConfirmed.
  • app/lib/pages/home/firmware_update.dart — gating the green status row on !shouldUpdate && isConfirmedCurrent fixes the actual bug (the old row rendered success for every non-offer outcome). The three fallbacks are clean: rollback -> noStableFirmwareFound, empty revision -> unableToDetermineFirmwareVersion, otherwise the new firmwareUpdateCheckUnavailable; updateMessage was already never rendered, so no behavior lost.
  • app/lib/pages/home/firmware_mixin.dart — thin rename delegating to DeviceUtils.checkFirmwareUpdate; no behavior change.
  • app/test/widgets/firmware_update_battery_render_test.dart — good coverage: 503, draft release, missing min_version, below min_version, and newer-app-required each assert the green text is absent and the inconclusive message renders; the still-up-to-date and rollback-failure cases guard against over-correction. The _FirmwareResponse statusCode extension to the HttpOverrides harness is a clean, isolated change.
  • l10n — firmwareUpdateCheckUnavailable present in all 49 locales with full arb-to-generated-dart parity (checked both sets); changelog fragment included.

UX: users with a failed or inconclusive firmware lookup now see an honest warning instead of a false green "up to date" — strictly better, and matches the issue report. The update offer and DFU flow are untouched.

USER IMPACT: if the app can't confirm your device's firmware is current, the Firmware Update page now says so instead of claiming your device is up to date.

What I'd still want as a reviewer (non-blocking): the below-min_version branch in device.dart still carries the placeholder message '0' (pre-existing, never rendered — worth cleaning up someday), and the "Generated Files" CI check was skipped on this run, so the arb-to-codegen parity rests on manual verification here. Left for a maintainer's merge decision.


by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.

@Git-on-my-level Git-on-my-level added positive-signal Automation verified a genuine fix/quality contribution flutter flutter work labels Nov 16, 2026
…visions (BasedHardware#25375)

A non-empty but unparsable revision (the 'Unknown' sentinel after a failed
BLE read) fell into the generic connectivity/app-version warning. Classify an
empty or unparsable device revision as currentVersionUnknown before looking at
release metadata, and let the page pick the message from the check result.
@Git-on-my-level

Copy link
Copy Markdown
Member

Since my last review: addressed - the new head merges current main and refines the inconclusive-check handling further, verified below; still open - two non-blocking nits from last time (the never-rendered '0' placeholder message in the below-min_version branch of device.dart, and the 'Generated Files' check staying skipped on this run, so arb-to-codegen parity rests on manual verification); newly introduced - none found.

The new commit is correct and tightens the fix: a device whose firmware revision didn't read over BLE is now told that, instead of getting connectivity advice.

Verified on the new head:

  • app/lib/utils/device.dart - FirmwareUpdateCheck gains currentVersionUnknown, and the empty/unparsable-revision branch now runs before the release-metadata checks, so a non-empty but unparsable revision (e.g. the 'Unknown' sentinel after a failed BLE read) is classified as a device-side failure rather than generic notConfirmed. The legacy shouldUpdateFirmware wrapper still returns the same (message, hasUpdate, version) tuple for every input, so the device_provider.dart caller is unaffected.
  • app/lib/pages/home/firmware_update.dart - the status row and updateMessage now both key off isCurrentVersionUnknown from the check result instead of re-testing firmwareRevision.isEmpty, so one revision can no longer be classified two different ways on the same page.
  • app/test/widgets/firmware_update_battery_render_test.dart - the new 'Unknown' and 'not-a-version' cases pin the behavior: no green up-to-date row, no connectivity message, exactly one unable-to-determine message.

UX: strictly more honest messaging - a failed BLE revision read now surfaces the unknown-version message rather than advice to check internet or update the app. Blast radius: classification and copy only; the update offer and DFU flow are untouched.

USER IMPACT: if the app can't read your device's firmware version or can't confirm the latest firmware, the Firmware Update page now says so honestly instead of claiming your device is up to date.

Nothing blocking from my side; the two carry-over nits remain optional. Left for a maintainer's merge decision.


by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c7714722c2

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/lib/pages/home/firmware_update.dart Resolved
…sedHardware#25375)

The below-min_version branch still returned the leftover '0' message, which the firmware page never rendered. Use a real description instead.
@Git-on-my-level

Copy link
Copy Markdown
Member

Since my last review: addressed (the '0' placeholder in the below-minimum branch of app/lib/utils/device.dart is gone — it now returns a real "below the minimum version" message, and app/test/unit/firmware_version_parse_test.dart pins it) · still open (nothing blocking) · newly introduced (none — the new commit only changes that message string and its unit test).

Verified on the new head:

  • app/lib/utils/device.dart — the below-minimum branch (currentVersion < minVersion) now returns notConfirmed with a descriptive message and keeps version = latestVersionStr; every other branch is untouched. The only other consumer of the changed message, app/lib/providers/device_provider.dart (latestFirmwareVersion = version.isNotEmpty ? version : message), can never see it because that branch always sets a non-empty version — the legacy tuple stays behavior-identical for all callers.
  • app/test/unit/firmware_version_parse_test.dart — the updated assertion pins the new message and now also asserts the '2.0.0' version, which the old test silently dropped. Good tightening.

On the other open item from last time: the 'Generated Files' check is still skipped on this run, so I verified l10n parity by hand — all 49 locale .arb files carry firmwareUpdateCheckUnavailable and all 49 app_localizations_XX.dart files implement the getter, plus the abstract declaration in app_localizations.dart. Full parity, no locale missed.

USER IMPACT: when the firmware check fails or is inconclusive, users now see an honest "couldn't confirm the latest firmware" warning with retry advice instead of a misleading green "Your device is up to date".

Nothing blocking from my side — leaving the merge decision to a human maintainer.


by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.

# Conflicts:
#	app/lib/l10n/app_ar.arb
#	app/lib/l10n/app_be.arb
#	app/lib/l10n/app_bg.arb
#	app/lib/l10n/app_bn.arb
#	app/lib/l10n/app_bs.arb
#	app/lib/l10n/app_ca.arb
#	app/lib/l10n/app_cs.arb
#	app/lib/l10n/app_da.arb
#	app/lib/l10n/app_de.arb
#	app/lib/l10n/app_el.arb
#	app/lib/l10n/app_en.arb
#	app/lib/l10n/app_es.arb
#	app/lib/l10n/app_et.arb
#	app/lib/l10n/app_fa.arb
#	app/lib/l10n/app_fi.arb
#	app/lib/l10n/app_fr.arb
#	app/lib/l10n/app_he.arb
#	app/lib/l10n/app_hi.arb
#	app/lib/l10n/app_hr.arb
#	app/lib/l10n/app_hu.arb
#	app/lib/l10n/app_id.arb
#	app/lib/l10n/app_it.arb
#	app/lib/l10n/app_ja.arb
#	app/lib/l10n/app_kn.arb
#	app/lib/l10n/app_ko.arb
#	app/lib/l10n/app_localizations.dart
#	app/lib/l10n/app_localizations_ar.dart
#	app/lib/l10n/app_localizations_be.dart
#	app/lib/l10n/app_localizations_bg.dart
#	app/lib/l10n/app_localizations_bn.dart
#	app/lib/l10n/app_localizations_bs.dart
#	app/lib/l10n/app_localizations_ca.dart
#	app/lib/l10n/app_localizations_cs.dart
#	app/lib/l10n/app_localizations_da.dart
#	app/lib/l10n/app_localizations_de.dart
#	app/lib/l10n/app_localizations_el.dart
#	app/lib/l10n/app_localizations_en.dart
#	app/lib/l10n/app_localizations_es.dart
#	app/lib/l10n/app_localizations_et.dart
#	app/lib/l10n/app_localizations_fa.dart
#	app/lib/l10n/app_localizations_fi.dart
#	app/lib/l10n/app_localizations_fr.dart
#	app/lib/l10n/app_localizations_he.dart
#	app/lib/l10n/app_localizations_hi.dart
#	app/lib/l10n/app_localizations_hr.dart
#	app/lib/l10n/app_localizations_hu.dart
#	app/lib/l10n/app_localizations_id.dart
#	app/lib/l10n/app_localizations_it.dart
#	app/lib/l10n/app_localizations_ja.dart
#	app/lib/l10n/app_localizations_kn.dart
#	app/lib/l10n/app_localizations_ko.dart
#	app/lib/l10n/app_localizations_lt.dart
#	app/lib/l10n/app_localizations_lv.dart
#	app/lib/l10n/app_localizations_mk.dart
#	app/lib/l10n/app_localizations_mr.dart
#	app/lib/l10n/app_localizations_ms.dart
#	app/lib/l10n/app_localizations_nl.dart
#	app/lib/l10n/app_localizations_no.dart
#	app/lib/l10n/app_localizations_pl.dart
#	app/lib/l10n/app_localizations_pt.dart
#	app/lib/l10n/app_localizations_ro.dart
#	app/lib/l10n/app_localizations_ru.dart
#	app/lib/l10n/app_localizations_sk.dart
#	app/lib/l10n/app_localizations_sl.dart
#	app/lib/l10n/app_localizations_sr.dart
#	app/lib/l10n/app_localizations_sv.dart
#	app/lib/l10n/app_localizations_ta.dart
#	app/lib/l10n/app_localizations_te.dart
#	app/lib/l10n/app_localizations_th.dart
#	app/lib/l10n/app_localizations_tl.dart
#	app/lib/l10n/app_localizations_tr.dart
#	app/lib/l10n/app_localizations_uk.dart
#	app/lib/l10n/app_localizations_ur.dart
#	app/lib/l10n/app_localizations_vi.dart
#	app/lib/l10n/app_localizations_zh.dart
#	app/lib/l10n/app_lt.arb
#	app/lib/l10n/app_lv.arb
#	app/lib/l10n/app_mk.arb
#	app/lib/l10n/app_mr.arb
#	app/lib/l10n/app_ms.arb
#	app/lib/l10n/app_nl.arb
#	app/lib/l10n/app_no.arb
#	app/lib/l10n/app_pl.arb
#	app/lib/l10n/app_pt.arb
#	app/lib/l10n/app_ro.arb
#	app/lib/l10n/app_ru.arb
#	app/lib/l10n/app_sk.arb
#	app/lib/l10n/app_sl.arb
#	app/lib/l10n/app_sr.arb
#	app/lib/l10n/app_sv.arb
#	app/lib/l10n/app_ta.arb
#	app/lib/l10n/app_te.arb
#	app/lib/l10n/app_th.arb
#	app/lib/l10n/app_tl.arb
#	app/lib/l10n/app_tr.arb
#	app/lib/l10n/app_uk.arb
#	app/lib/l10n/app_ur.arb
#	app/lib/l10n/app_vi.arb
#	app/lib/l10n/app_zh.arb
…edHardware#25375)

The inconclusive row tells the user to try again, but the page had no action that
reran the lookup: Update Guide only opens help and the failure screen's Try Again
restarts an install. Move the lookup into _checkForUpdate and show a Try Again
button whenever the check did not confirm a result (latest or rollback/stable).

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f6dac136b5

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/lib/pages/home/firmware_update.dart Resolved
@Git-on-my-level

Copy link
Copy Markdown
Member

Since my last review: addressed - nothing was open; the below-minimum message fix from last round is intact on this head. Still open - nothing blocking (the 'Generated Files' check remains skipped, so arb-to-codegen parity rests on the committed generated files; they match the new string on inspection). Newly introduced - none found; the new commit adds an in-place retry, verified below.

The retry change is correct and well tested; no blocking issues.

Verified on the new head (f6dac13):

  • app/lib/pages/home/firmware_update.dart - initState's lookup logic moved verbatim into _checkForUpdate(), which also resets isConfirmedCurrent / isCurrentVersionUnknown and re-arms isLoading before each run, so a retry can't inherit a stale verdict. The retry button (key firmware_update_check_retry) renders only for !shouldUpdate && !isConfirmedCurrent - exactly the inconclusive outcomes (failed lookup, draft/unparsable metadata, below-min, newer-app-required, unknown revision, rollback with no stable) - and is disabled while loading. Up-to-date and update-available states show no retry.
  • app/lib/pages/home/firmware_mixin.dart - unchanged this commit; still the thin delegate to DeviceUtils.checkFirmwareUpdate.
  • app/lib/utils/device.dart - unchanged this commit; classification re-verified: only a parsable, min-satisfied, at-or-above-latest revision yields upToDate, and an unparsable revision short-circuits to currentVersionUnknown before release metadata is consulted.
  • app/test/widgets/firmware_update_battery_render_test.dart - the two new tests drive the real HTTP harness from a 503 to a 200 and assert the inconclusive row clears, the retry disappears, and the update offer (firmware_update_start) appears, in both the normal and rollback flows; the up-to-date test pins that no retry is offered. Existing negative matrix (draft / missing min / below min / newer app / unparsable revisions) still covers every notConfirmed branch.
  • UX: retry reuses the existing tryAgain string, so no new translations ride on this commit.

One non-blocking observation: for the unknown-revision outcome, retry re-runs the lookup with widget.device!.firmwareRevision - the same device object - so unless the device provider refreshed the BLE revision, the retry reproduces the same unknown-version message. That stays correct (it never claims up-to-date); just worth knowing.

USER IMPACT: when the firmware check can't confirm your device is current, the page now offers a Try again button that reruns the check in place, instead of making you leave and reopen the page.

No further changes requested; leaving the formal approval and merge call to a human maintainer.


by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.

…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.
@shubhxho shubhxho changed the title fix(app): stop reporting an inconclusive firmware lookup as up to date (#25375) fix(app): don't report unusable release info, a below-minimum device or an unread revision as up to date (#25375) Nov 20, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: efa69268ae

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/lib/pages/home/firmware_update.dart Resolved
@Git-on-my-level

Copy link
Copy Markdown
Member

Since my last review: addressed — this head merges current main and rebuilds on #25757: the inconclusive-lookup handling and this PR's own Try Again button were dropped in favor of #25757's failed-check state, verified below · still open — nothing blocking ('Generated Files' stays skipped, so arb-to-codegen parity rests on the committed generated files; I spot-checked en/de/fr/ko/zh pairs and they match) · newly introduced — none; one non-blocking nit.

The production change is correct and nicely scoped; no blocking issues.

  • app/lib/utils/device.dart — FirmwareUpdateCheck now classifies five outcomes, in the right order: an empty/unparsable device revision is currentVersionUnknown before any release-metadata check; empty/draft/unparsable release metadata is releaseUnavailable; below min_version and newer-app-required are notConfirmed; only latest <= current yields upToDate. shouldUpdateFirmware keeps the legacy tuple, and the below-min branch always returns a non-empty version, so device_provider's version.isNotEmpty ? version : message never sees the new message — legacy callers are behavior-identical.
  • app/lib/pages/home/firmware_update.dart — the green status row is now gated on !shouldUpdate && isConfirmedCurrent (firmware_update.dart:428), fixing the original bug where every no-offer outcome rendered success. No-answer and releaseUnavailable route to _failCheck() → app: outcomes contract — every tap ends in something the user can see #25757's OmiErrorState with onRetry wired to _check; the other no-offer outcomes show the warning row (key firmware_update_check_not_confirmed); rollback keeps noStableFirmwareFound.
  • app/lib/pages/home/firmware_mixin.dart — thin delegation rename to checkFirmwareUpdate, no behavior change.
  • app/lib/l10n/* + tests — one new string, firmwareUpdateCheckUnavailable, across all locales with matching generated files; app/test/unit/firmware_version_parse_test.dart pins each classification and app/test/widgets/firmware_update_battery_render_test.dart drives the real HTTP path for every page state, including the up-to-date control.
  • UX blast radius: firmware update page only; no new I/O, no security surface touched.
  • Nit (non-blocking): the below-minimum / newer-app warning copy ends with "then try again", but those states no longer offer an in-place retry (only the failed-check state does); re-entering the page re-runs the check. Fine to leave unless the copy bothers you.

USER IMPACT: Firmware Update no longer shows the green "Your device is up to date" unless the check actually confirmed it — unusable release info now shows "Couldn't check for updates" with Try Again, and below-minimum / needs-newer-app / unreadable-revision cases show a clear warning instead.

Still unverified: a real CV1 against production release metadata (as the PR notes). Beyond that, nothing further wanted from my side — this is ready for maintainer merge sign-off.


by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.

…Hardware#25375)

Classify unreadable current revisions before the API can reject them, and
validate stable rollback versions before enabling installation. Enforce each
optional app minimum independently while retaining releases with no app floors.
Malformed release versions and requirements remain inconclusive.

The no-request revision cases and four app-floor regressions fail before their
respective fixes. All 152 firmware/outcome tests, the full analyzer ratchet,
28 preflight checks and ten live agent-flutter observations pass. Independent
review approved the corrected source. HTTP/device boundaries in the live page
verification are synthetic; no BLE update or firmware flash was performed.

Failure-Class: none
…are#25375)

Split the no-offer result into firmware-too-old and app-update-required states.
The page now explains the actual requirement instead of advising a successful
lookup to check connectivity. Add precise support/app-store guidance in every
locale through scripts/l10n.py; remove the retired generic key and regenerate.

Both message regressions fail on the old generic UI. All 152 firmware/outcome
tests pass. Independent review approved the final source and all 49 locale
changes; eleven live agent-flutter observations pass, including both precise
warnings and a long German layout. The prior full local suite at 0db54f1
passed 9,977 tests with 12 skipped; final-head CI reruns the complete suite.

Failure-Class: none
@aryanorastar

Copy link
Copy Markdown
Collaborator

Completed the review corrections at bd447a974f86195381833621a7af3ab0b5373763:

  • Unreadable revisions are handled before HTTP; unknown/garbled fixtures make zero requests.
  • Stable rollback versions are strictly validated.
  • Each optional app minimum is honored independently, with legacy/no-floor controls.
  • Below-minimum firmware and app-update-required results now show precise localized guidance rather than the generic connectivity warning. Both message regressions fail on the earlier UI and pass now.

152 affected firmware/outcome tests pass. The local full suite at the prerequisite-fix commit passed 9,977 tests with 12 skipped; final-head CI is now running. Full analyzer ratchet, all 28 preflight checks, l10n consistency (49 locales), and the bounded pre-push gate passed. Eleven live production-page observations passed in the documented synthetic Android-layout harness. Independent review approved the final source and translations. The PR stays draft until current-commit checks pass.

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bd447a974f

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/lib/pages/home/firmware_update.dart Resolved
@aryanorastar
aryanorastar marked this pull request as ready for review November 22, 2026 09:06
@aryanorastar
aryanorastar merged commit 17c2743 into BasedHardware:main Nov 22, 2026
49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

flutter flutter work positive-signal Automation verified a genuine fix/quality contribution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Android CV1 3.0.21 shown as up-to-date despite published 3.0.24 (firmware lookup error masked)

3 participants