Skip to content

fix(mobile): clear stale same-version restart notices - #1101

Merged
nixuuu merged 1 commit into
devfrom
fix/mobile-status-restart-correctness
Nov 22, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/mobile-status-restart-correctness

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 22, 2026

Copy link
Copy Markdown
Member

Change

  • Clear a same-version restart notice when a fresh read confirms that the standalone binary gateway is ready. Keep the notice during shutdown and startup, and ignore replays of a dismissed restart.
  • Close the restart details sheet when the notice is dismissed and let the sidebar show the current connection status.

Verification

  • All 22 tests in mobile-routes.test.ts and paired-app-updates.test.ts passed through check:tmp. The regression test covers a delayed read, the restart phases, and replay after dismissal.
  • On the Android emulator, a test gateway kept serving the old announcement after reporting readiness. The details sheet closed, the banner cleared, and the footer changed from “Restarting…” to “Connected”.
  • Mobile typecheck, scoped formatting and lint, and the diff check passed. CI runs the repository-wide checks. The native check covered Android.

Copy audit

The existing status labels and Details action stay in use. “Restarting…” remains visible during the restart and “Connected” appears when the live connection is restored.

Fixes: #370
Related: #1095

@nixuuu
nixuuu enabled auto-merge (squash) November 22, 2026 12:00
@nixuuu
nixuuu merged commit 04aba20 into dev Nov 22, 2026
8 checks passed
@nixuuu
nixuuu deleted the fix/mobile-status-restart-correctness branch November 22, 2026 12:03
nixuuu added a commit that referenced this pull request Nov 24, 2026
Backport #1101 and #1125 to the open 0.7.0 beta series. The published beta.1 encountered a required Back-merge failure after publication. The new beta will run Release for the hotfix revision.

- Clear the mobile restart notice when a fresh read confirms the standalone gateway is ready, and ignore replays of the completed restart.
- Pass the release deploy key to the reusable Back-merge workflow. The environment key takes precedence.
- Record the selected source revision on OCI image indexes and manifests.

The mobile source and regression test match #1101. On this branch 22 focused tests passed through check:tmp, including the same-version restart regression. The diff check passed. The Android emulator scenario passed in #1101. CI runs the repository checks for this backport.

A local squash-merge simulation against the current next and dev branches verified the return merge into dev. The merged tree adds one backport note in each of the two domain documents. The implementation and tests already match dev.

The backport retains the existing mobile status text. Only its dismissal conditions change.

Fixes: #370
Related: #1101
Related: #1125
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