Skip to content

fix(updates): show gateway and worker lifecycle states - #1096

Merged
nixuuu merged 1 commit into
devfrom
fix/gateway-worker-status-display
Nov 21, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/gateway-worker-status-display

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 21, 2026

Copy link
Copy Markdown
Member

Change

  • Report when the gateway is starting or shutting down, even while GetUpdates can still answer. The Updates panel shows the live phase, refreshes automatically, and brings update actions back when the gateway is ready.
  • Show the selected version for an active update and only show an available target when there is a newer release. Refresh after a request loses a race with startup or shutdown.
  • Show binary worker preparation, downloading, restart and reconnection. Keep the restart visible during the expected disconnect and wait for the worker to confirm readiness before recording success.

Verification

  • Ran 44 focused tests covering the updater, gRPC lifecycle, durable update state and bulk scheduling. Re-ran the seven shared status tests after the final precedence change.
  • Generated the protobuf bindings and ran typechecks for gateway, worker, mobile and web. Checked lint, formatting and the diff for changed files.
  • Exercised the shared web and desktop renderer in Chrome at 390 px and 1280 px, including rejected update requests, automatic refresh and action recovery.
  • Native sheet verification is pending. There is no configured iOS simulator and the Android emulator host lacks the required build SDK.
  • CI owns the repository-wide checks and builds.

Copy audit

  • “Updated” → “Starting” or “Shutting down” when the gateway is transitioning. The badge and short second line explain when updates resume.
  • “Updating” → “Downloading” while a binary downloads. “Preparing” and “Reconnecting” identify separate phases with a short explanation in the row.
  • The rejection message now names the gateway transition and says when to retry. Labels use sentence case and convey state in text. Checked short and long worker names and both browser widths.

Fixes: #743

@nixuuu
nixuuu enabled auto-merge (squash) November 21, 2026 21:53
@nixuuu
nixuuu force-pushed the fix/gateway-worker-status-display branch from 6d665f3 to 5da8930 Compare November 21, 2026 21:57
@nixuuu
nixuuu merged commit 2cbfb93 into dev Nov 21, 2026
16 checks passed
@nixuuu
nixuuu deleted the fix/gateway-worker-status-display branch November 21, 2026 22:07
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