GeezerVison is showing github.com — pm-stack: 2026-11-23 laptop-off cold-restore drill record (#10300) by dezren39 · Pull Request #13025 · developing-today/code
Conversation
dezren39
commented
Nov 23, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
The #10300 drill, executed end-to-end per the cold-restore runbook: the full PM stack restored from off-machine copies only (R2 primary; the Drive leg verified byte-identical via its stored MD5) into an isolated namespace — drill10300-* containers on a dedicated network, loopback-only alternate ports, scratch-only storage. Local ~/backups copies were never read; production stayed live and untouched.
Measured results (full record appended to doc/pm-stack/restore-drills/2026-11.md, after the 2026-11-22 rehearsal record):
- RTO 145 s declare → full smoke (target 4 h) — with the stated caveat that new-host provisioning is excluded (no second Docker host exists on this seat; the off-machine fetch, 40 s for 30 MB from R2, is included).
- RPO: Kaneo 20 h 47 m vs 1 h target — miss, the known daily-cadence gap owned by impl(pm-stack): Kaneo/Grist/Pad canonical stores to Supabase-backed homes + cold-restore runbook and first laptop-off drill (#3989 slice) #6816 criterion 1. Grist 20 h 29 m and Pad 20 h 29 m vs 24 h — met, margin only ~3.5 h. Aggregator 20 h 40 m vs 15 min — miss, owned by impl(pm-stack): move the aggregator laptop-local JSON stores to Supabase muse-dev2 (#3989 slice) #6815.
- Integrity/smoke: pg_restore exit 0, 45 tables, 90,139 rows (matches the rehearsal's independent count of the same generation), Kaneo app
/api/health 200; Grist integrity_check ok ×2 + HTTP 302; Pad integrity_check ok + health 200; 57/57 aggregator store files parse.
- Fencing, proven: sentinel table created in the restored DB is absent from production; the restored DB contains 0 of production's 3,008 post-generation rows; all four production containers show identical StartedAt before/after and kept serving (production's own counters advanced normally during the drill).
Two new findings:
globals.sql installs the production kaneo role password hash — after a globals restore the app cannot authenticate with a fresh local password (run 1 failed 28P01 until the role password was reset inside the drill DB). This PR amends runbook steps 3 and 6 with the note, and the status header now records the first laptop-off drill. Felix: the runbook touches are small and flagged here — strip them if you'd rather they ride separately.
- The Drive leg's download ran at ~8 KB/s in run 1 (abandoned; identity proven by stored MD5 instead) — filed as Backup Drive leg: restore download throughput measured at ~8 KB/s during the #10300 drill #13024 and enqueued (task 21145).
Refs #10300 (the drill is its acceptance), #6816 (its first-drill leg), #1514 (backup routine), #13024 (Drive follow-up). Unmerged for Felix's review.

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
chatgpt-codex-connector[bot] reacted with thumbs up emoji
Full-stack cold restore from off-machine copies only (R2 primary,
Drive leg verified byte-identical by stored MD5) into an isolated
namespace; local backups never read. Measured RTO 145s against the
4h core target; per-store RPO: Kaneo 20h47m (miss vs 1h, daily
cadence, owned by #6816 criterion 1), Grist/Pad 20h29m (met vs 24h,
~3.5h margin), aggregator 20h40m (miss vs 15min, #6815). Fencing
proven both directions (sentinel absent in production; zero
post-generation rows in the restore; production containers never
restarted). Two new findings: globals.sql installs the production
role password hash (runbook steps 3/6 amended in this PR), and the
Drive leg's download throughput (~8 KB/s) filed as #13024.
Warning
Review limit reached
You'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 39 minutes.
Check out review usage here.
View limit details
-
Limit details: You’ve used the included review currently available.
Learn how review limits work.
Review configuration:
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
6d3564f5-28c7-4f71-9b37-c904a1146e00
Commits
-
Reviewing files that changed from the base of the PR and between b1bf2ce and d54d7cf.
Files selected for processing: 2
-
doc/pm-stack/COLD-RESTORE-RUNBOOK.md
doc/pm-stack/restore-drills/2026-11.md
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
Share
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
| Review |
Status |
Commit |
Review trigger |
| 📝 Code Review |
✅ Completed 2026-11-23T07:17:36.889692Z |
d54d7cf |
PR opened |
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review" or "@codex security review".
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 23, 2026
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|