@davoodmehraban89 / LifeMate / commits / f3e5bf4
Fork 0

LifeMate — Personal, Family & Learning Companion

docs: add rollback runbook

davoodmehraban89 committed Oct 5, 2026 at 17:12 UTC f3e5bf42f0c25aee1de77ee8ea1fb522dbb8f20e
1 file changed +11
docs/operations/ROLLBACK.md new
+11
@@ -0,0 +1,11 @@
1 +# Rollback Runbook
2 +
3 +Rollback is preferred over improvising a risky live fix when a release causes authentication, authorization, data-integrity or availability regression.
4 +
5 +1. Stop further rollout and record the affected release/commit and first observed symptom.
6 +2. If schema is backward-compatible, redeploy the last known-good application build.
7 +3. Verify `/live`, `/ready`, `/health` and critical login/family/planner flows.
8 +4. If a data rollback is required, do not run destructive SQL ad hoc. Preserve the current database first, identify the exact backup, and obtain explicit approval before destructive restore/migration actions.
9 +5. Confirm recovery in telemetry and record the incident timeline and follow-up test that prevents recurrence.
10 +
11 +A rollback is complete only when service health and critical user flows are verified, not merely when a previous build reports deployed.