ADR 0075: auto-update and rollback to IG1-IG6 (proposed, supersedes #537) #1183

Open
kayg wants to merge 1 commit from docs/auto-update-ig into dev
Owner

Docs only. Supersedes #537 (ADR 0049, never accepted). Status: proposed; kayg accepts.

docs/adr/0075-auto-update-and-rollback.md (0074 is taken), written to IG1-IG6: one container owns updates (no sidecar), Stable from main / Development from dev, window 00:00-06:00 in the first user's timezone, rollback with health/version/data checks and update safety copies ported from deploy-prod.sh (keep 3), podman 5+, no feature flags. Covers fetch and verify (digest pull + cosign via policy.json), one-way migrations (refuse without a verified backup, keep it 7 days), the Settings channel switch, what users see (only "Updated to X"), operator pin/pause/rollback, a failure table and an 8-slice plan.

Podman auto-update / Quadlet: we use Quadlet to run the container but our own update loop (reasons in the ADR). Four open questions for kayg at the end of the ADR; the first is whether an ephemeral podman run --rm of the previous image counts as "no sidecar".

Not carried over from #537: docs/ops/auto-update.md and docs/dev/migrations.md (to be written with the slices).

Generated with Claude Code

Docs only. Supersedes #537 (ADR 0049, never accepted). Status: **proposed**; kayg accepts. `docs/adr/0075-auto-update-and-rollback.md` (0074 is taken), written to IG1-IG6: one container owns updates (no sidecar), Stable from `main` / Development from `dev`, window 00:00-06:00 in the first user's timezone, rollback with health/version/data checks and update safety copies ported from `deploy-prod.sh` (keep 3), podman 5+, no feature flags. Covers fetch and verify (digest pull + cosign via policy.json), one-way migrations (refuse without a verified backup, keep it 7 days), the Settings channel switch, what users see (only "Updated to X"), operator pin/pause/rollback, a failure table and an 8-slice plan. Podman `auto-update` / Quadlet: we use Quadlet to run the container but our own update loop (reasons in the ADR). Four open questions for kayg at the end of the ADR; the first is whether an ephemeral `podman run --rm` of the previous image counts as "no sidecar". Not carried over from #537: `docs/ops/auto-update.md` and `docs/dev/migrations.md` (to be written with the slices). Generated with Claude Code
docs(adr): 0075 auto-update and rollback to IG1-IG6 (proposed, supersedes #537)
Some checks failed
CI / server (pull_request) Has been cancelled
CI / rust (pull_request) Has been cancelled
CI / web (pull_request) Has been cancelled
Markdown extraction contract / markdown-native-contract (pull_request) Has been cancelled
Markdown extraction contract / markdown-editor-contract (pull_request) Has been cancelled
fc3604125b
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Some checks failed
CI / server (pull_request) Has been cancelled
CI / rust (pull_request) Has been cancelled
CI / web (pull_request) Has been cancelled
Markdown extraction contract / markdown-native-contract (pull_request) Has been cancelled
Markdown extraction contract / markdown-editor-contract (pull_request) Has been cancelled
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'docs/auto-update-ig:docs/auto-update-ig'
git switch 'docs/auto-update-ig'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'dev'
git merge --no-ff 'docs/auto-update-ig'
git switch 'docs/auto-update-ig'
git rebase 'dev'
git switch 'dev'
git merge --ff-only 'docs/auto-update-ig'
git switch 'docs/auto-update-ig'
git rebase 'dev'
git switch 'dev'
git merge --no-ff 'docs/auto-update-ig'
git switch 'dev'
git merge --squash 'docs/auto-update-ig'
git switch 'dev'
git merge --ff-only 'docs/auto-update-ig'
git switch 'dev'
git merge 'docs/auto-update-ig'
git push origin 'dev'
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal!1183
No description provided.