[VS-NfD] Define the offline update path including migrations #221
Labels
No Label
area:auth
area:docs
area:export
area:ops
area:storage
area:supply-chain
auth
backend
blocked
collab
deployment
docs
effort:L
effort:M
effort:S
frontend
plugins
qa
vs-nfd
vs-nfd:blocker
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: stwaidele/dorfteich#221
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Plan reference:
20-massnahmenplan.md-> P1-3ADR: ADR 0024
Effort: M (2–3 AT)
Depends on: #218, #220
Context
An installation that cannot be updated safely will not be updated, and an
unpatched instance in a VS zone is the outcome nobody wants. Migrations are
the risky part.
Current state
MIGRATE_ON_START); there is noseparate migration step and no documented rollback for a failed
migration.
TAGin the stage.envand pulls(
deploy/stages.md); rollback today means deploying the previous tag.prisma migrate resetis not an available toolhere —
migrate deployis the path.Acceptance criteria
(digests), back up, apply, verify health, and roll back.
what a rollback means for the database, and when a restore is the
only way back.
deliberate failed-update rollback.
whether a rolling update is supported or downtime is required.
docs/operations/restore-runbook.md.Out of scope
Automating updates, and long-term support/backport policy.
Done via PR #291 (merged, CI run 624 green, CD 625 deployed Test+Int, readyz fully green on both).
All acceptance criteria met:
docs/operations/update-runbook.md— obtain (airgap: mirror perdeploy/stages.md§5b), verify by digest, back up first, apply, verify health, roll back._prisma_migrationsand block every furthermigrate deploy(P3009) — including a re-deployed old image — untilmigrate resolve --rolled-back; successfully applied irreversible migrations mean restoring the pre-update set.20260731-150833), then P3018division by zero, schema change proven rolled back, image-rollback-alone shown insufficient, documented recovery executed. Evidence:docs/vs-nfd/98-update-rollback-protokoll.md.docs/vs-nfd/70-betriebshandbuch.md§1/§2, #229) anddocs/operations/restore-runbook.md; ADR 0024 decisions 5+6 recorded as executed.