Skip to content

fix: unblock console staged updates - #102

Merged
caigee-cmd merged 3 commits into
mainfrom
fix/console-update-flow
Sep 6, 2026
Merged

fix: unblock console staged updates#102
caigee-cmd merged 3 commits into
mainfrom
fix/console-update-flow

Conversation

@caigee-cmd

Copy link
Copy Markdown
Owner

Summary

  • Console staged updates were stuck on “Updating…” while the running image stayed on the current version. The System page now shows image-download progress and host-updater errors, and adopts a host ready_to_apply job so confirm restart is not blocked by a stale in-memory preparing snapshot.
  • Checking GitHub no longer replaces the update card. After a successful restart the console reloads only when the running version actually changes. Operators can cancel a hung image download or discard a prepared image and prepare again.
  • Changelog is frozen for v0.2.47 in this PR so the release workflow does not need to push the freeze onto protected main.

Test plan

  • go test ./internal/api ./internal/updater ./internal/update
  • npx oxlint on the System page / i18n / API client
  • After merge, run the Release workflow from main to publish v0.2.47
  • On us1, install the new host updater and pin CLI2API_IMAGE to ghcr.io/caigee-cmd/cli2api:v0.2.47

Show staged image-download progress and host-updater errors on the System page, and adopt a ready host job so confirm restart is not blocked by a stale preparing_image snapshot.
Let the System page cancel a hung image download or discard a prepared image, keep the update card visible while checking GitHub, and reload only after the running version actually changes.
Keep the console update-flow notes ready for the next patch release so GitHub Actions does not have to push the freeze to protected main.
@caigee-cmd
caigee-cmd merged commit 80e77dc into main Sep 6, 2026
6 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