Repository navigation
docs(pm-stack): runbook to doc/pm-stack + first restore rehearsal record (#6816) - #12824
Merged
Merged
Conversation
…ord (#6816) Criterion-3 slice of #6816 (feature-slice: one criterion part passes, measured numbers move, with its test): - Move the cold-restore runbook from pm-stack/ to doc/pm-stack/, the home #6816's acceptance criteria name; pointer stub left at the old path so existing links (STORE-MIGRATION-PLAN-6816.md) keep resolving. Status updated from DRAFT to operative-for-pre-cutover-shape; drill-record path corrected to doc/pm-stack/restore-drills/. - First isolated restore rehearsal executed 2026-11-22 against the #1514 daily generation of 2026-11-22 and recorded in doc/pm-stack/restore-drills/2026-11.md: pg_restore exit 0 (45 public tables, 90,139 live rows), Grist + Pad integrity_check ok, all three apps smoke-passed in scratch containers (Kaneo /api/health 200, Grist HTTP 302, Pad /api/v1/health 200); data-plane restore ~36s. - Measured gaps recorded, not papered over: Kaneo 1h RPO is NOT met pre-cutover (daily dump cadence bounds loss at ~24h; met only once criterion 1 lands Kaneo on Supabase); Kaneo app boot needs AUTH_SECRET as well as DATABASE_URL (runbook step 6 now says so); off-machine sources (R2/Drive) and the laptop-off drill itself are still owed on #6816. - Repeatable driver: pm-stack/scripts/restore-rehearsal.sh (the test this slice ran; bash -n clean, executed end-to-end 2026-11-22).
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 58 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
This was referenced Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Criterion-3 slice of #6816 — the runbook half of the criterion now passes, with measured rehearsal numbers:
pm-stack/COLD-RESTORE-RUNBOOK.md→doc/pm-stack/COLD-RESTORE-RUNBOOK.md(the home the acceptance criteria name); pointer stub left at the old path. Status DRAFT → operative for the pre-cutover shape; drill-record path corrected todoc/pm-stack/restore-drills/.doc/pm-stack/restore-drills/2026-11.md), restoring the pm-stack databases (Kaneo Postgres, Grist, Pad) have no backup routine — docker volumes are the only copy #1514 daily generation of 2026-11-22 into scratch containers, production untouched:pg_restoreexit 0 — 45 public tables, 90,139 live rows; app/api/health200integrity_checkok, HTTP 302 · Pad:integrity_checkok,/api/v1/health200pm-stack/scripts/restore-rehearsal.sh.Gaps recorded, not papered over
AUTH_SECRETas well asDATABASE_URL(first rehearsal boot attempt exited on it) — runbook step 6 now names it.Refs #6816.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.