Skip to content

feat: stage managed updates before restart - #93

Merged
caigee-cmd merged 1 commit into
mainfrom
codex/freeze-changelog-v0.2.41
Sep 4, 2026
Merged

feat: stage managed updates before restart#93
caigee-cmd merged 1 commit into
mainfrom
codex/freeze-changelog-v0.2.41

Conversation

@caigee-cmd

Copy link
Copy Markdown
Owner

Summary

  • Split managed updates into image preparation and operator-confirmed restart.
  • Keep normal API traffic available while the host updater pulls the target image.
  • Persist ready_to_apply so a page refresh or application restart does not lose the confirmation step.
  • Only pause new traffic after confirmation, then create the SQLite backup, recreate the container, health-check, and roll back on failure.
  • Add staged updater protocol support while keeping the legacy /v1/update endpoint.
  • Update the System page, bilingual copy, design notes, changelog, and embedded static assets.

Validation

  • go test ./...
  • cd frontend && npm run sync
  • cd frontend && npm run lint (passes with existing warnings)
  • git diff --check

@caigee-cmd
caigee-cmd merged commit 47bafb8 into main Sep 4, 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