GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Full stack restore never drilled · Issue #10300 · developing-today/code

Full stack restore never drilled #10300

New issue
Copy link
New issue
Copy link
Closed
Closed
Full stack restore never drilled#10300
Copy link
Labels
effort/lLarge: multi-day or open-ended; expect staged check-inskind/infrastructureInfrastructure / host-portability workpriority/highImportant and time-sensitivequeue/blockedQueue or user escalation statestatus/blockedQueue or user escalation statestatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

@dezren39
dezren39
opened on Nov 14, 2026
Issue body actions

Found by the 2026-11-14 whole-PM-stack backup/DR audit (verdict issue filed same day). Execution home: #6816 already owns the runbook + first laptop-off drill for Kaneo/Grist/Pad — this issue records the audit verdict so it is not lost if #6816's scope narrows.

Observed (2026-11-14):

  • pm-stack/COLD-RESTORE-RUNBOOK.md in the repo is still headed "Status: draft … It becomes the operative runbook when the impl(pm-stack): Kaneo/Grist/Pad canonical stores to Supabase-backed homes + cold-restore runbook and first laptop-off drill (#3989 slice) #6816 cutover lands and the first drill is recorded." The doc/pm-stack/restore-drills/ directory Drew approved on design(pm-stack): durability & host independence — stack state in backed-up durable storage, stack survives the laptop being off #1258 (Q5) does not exist; no drill report exists anywhere.
  • What has been proven: the 2026-10-27 pm-stack databases (Kaneo Postgres, Grist, Pad) have no backup routine — docker volumes are the only copy #1514 restore (Kaneo scratch restore, 92 TOC entries / 9,439 rows then; Grist/Pad sqlite integrity) and this audit's 2026-11-14 scratch checks on the current archive (Grist home/sessions/doc + Pad DB PRAGMA integrity_check = ok; Kaneo dump pg_restore --list = 311 TOC entries, 46 TABLE DATA). Those are per-store checks on a live laptop — not a cold restore, and not a full-stack rebuild.
  • RPO reality vs Drew's accepted targets (design(pm-stack): durability & host independence — stack state in backed-up durable storage, stack survives the laptop being off #1258 Q1): Kaneo target RPO is 1h, but the only Kaneo backup is the daily dump — actual RPO is up to ~24h. Aggregator mutable-state target is 15 min; the local JSON stores are still canonical (impl(pm-stack): move the aggregator laptop-local JSON stores to Supabase muse-dev2 (#3989 slice) #6815 open) with a daily backup. Only Grist/Pad (24h targets, daily backups) actually match their targets today.

Consequence: "could we rebuild on a brand-new computer?" is currently answered by inference for the full stack, not by a drill. The 4h RTO has never been measured.

Fix shape: run the runbook end-to-end on an isolated host/namespace from off-machine copies only (R2 or Drive), record measured RTO/RPO per store in doc/pm-stack/restore-drills/YYYY-MM.md, and file the gaps it surfaces.

Acceptance: a drill report at that path with start/end times, per-store RPO, integrity/smoke results, and the old writer fenced throughout.

Activity

Next
  1. developing-today commented on Nov 14, 2026

    @developing-today
    developing-todayBot
    on Nov 14, 2026 – with developing.today
    Contributor
    More actions

    CODE-3708

  2. github-actions
    assigned
    dezren39
    on Nov 14, 2026
  3. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged — task 19224 (lane code-c)

    • Work kind: task/small-fix (restore drill) · Priority: priority/high · Effort: effort/l · Kind: kind/infrastructure
    • Fresh evidence: issue Full stack restore never drilled #10300 OPEN, unheld, no labels; filed by the 2026-11-14 whole-PM-stack backup/DR audit. Verified still true this shift: doc/pm-stack/restore-drills/ does not exist on main, and pm-stack/COLD-RESTORE-RUNBOOK.md is still headed DRAFT ("becomes the operative runbook when the impl(pm-stack): Kaneo/Grist/Pad canonical stores to Supabase-backed homes + cold-restore runbook and first laptop-off drill (#3989 slice) #6816 cutover lands and the first drill is recorded"). No drill has been run or recorded; the 4h RTO has never been measured.
    • Standing gaps (from the audit, unclosed): Kaneo's accepted RPO target is 1h (design(pm-stack): durability & host independence — stack state in backed-up durable storage, stack survives the laptop being off #1258 Q1) but its only backup is the daily dump (actual RPO up to ~24h); the aggregator's mutable-state target is 15 min but its local JSON stores are still canonical (impl(pm-stack): move the aggregator laptop-local JSON stores to Supabase muse-dev2 (#3989 slice) #6815 OPEN) with a daily backup. Only Grist/Pad meet their targets today.
    • Coordination: execution home impl(pm-stack): Kaneo/Grist/Pad canonical stores to Supabase-backed homes + cold-restore runbook and first laptop-off drill (#3989 slice) #6816 (OPEN, priority/high, effort/l) owns the runbook + the first laptop-off drill for Kaneo/Grist/Pad. The follow-on packet instructs its lane to coordinate with impl(pm-stack): Kaneo/Grist/Pad canonical stores to Supabase-backed homes + cold-restore runbook and first laptop-off drill (#3989 slice) #6816 first — if impl(pm-stack): Kaneo/Grist/Pad canonical stores to Supabase-backed homes + cold-restore runbook and first laptop-off drill (#3989 slice) #6816's work produces this drill first, Full stack restore never drilled #10300 closes on that report's evidence instead of re-drilling.
    • First concrete step: in the follow-on — confirm impl(pm-stack): Kaneo/Grist/Pad canonical stores to Supabase-backed homes + cold-restore runbook and first laptop-off drill (#3989 slice) #6816's current state, then run the runbook end-to-end on an isolated host/namespace from off-machine copies only (R2 or Drive), old writer fenced throughout.
    • Acceptance check: the issue's own — a drill report at doc/pm-stack/restore-drills/YYYY-MM.md with start/end times, per-store measured RPO, integrity/smoke results, and the old writer fenced throughout; gaps filed as their own issues.
    • Routing: follow-on drill packet enqueued as task 20558 (priority 20). Issue Full stack restore never drilled #10300 stays OPEN until the drill lands.
  4. dezren39
    added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    priority/highImportant and time-sensitive
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    kind/infrastructureInfrastructure / host-portability work
    queue/queuedHas a queued queue task
    on Nov 17, 2026
  5. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    Agent note — parked, not started (lane any-j, task 20558)

    State: parked with a recorded resume condition. The drill was NOT started this shift, deliberately:

    • Scope reality: the acceptance is an end-to-end cold restore of the full PM stack on an isolated host from off-machine copies only, with the old writer fenced throughout and a measured RTO/RPO report at doc/pm-stack/restore-drills/YYYY-MM.md. The RTO being measured is 4h — the exercise itself is a multi-hour operational window, larger than any single lane shift's remaining budget, and it fences production writers while it runs. Starting it mid-shift with no runway to finish would leave the stack fenced and the drill unrecorded — the exact failure §7 park discipline exists to prevent.
    • Coordination check (fresh, 2026-11-17): execution home impl(pm-stack): Kaneo/Grist/Pad canonical stores to Supabase-backed homes + cold-restore runbook and first laptop-off drill (#3989 slice) #6816 is OPEN; its step 1 (plan + runbook) landed via PR docs(pm-stack): store migration plan + draft cold-restore runbook for #6816 step 1 #8072 and the cutover the runbook becomes operative on is still pending per its latest triage notes (2026-11-17T03:21Z). Per the packet's own coordination rule, impl(pm-stack): Kaneo/Grist/Pad canonical stores to Supabase-backed homes + cold-restore runbook and first laptop-off drill (#3989 slice) #6816's state gates this drill: if impl(pm-stack): Kaneo/Grist/Pad canonical stores to Supabase-backed homes + cold-restore runbook and first laptop-off drill (#3989 slice) #6816's work produces the drill first, Full stack restore never drilled #10300 closes on that report's evidence instead of re-drilling.
    • What is already proven (from the audit, unchanged): per-store scratch checks pass (Grist/Pad integrity ok, Kaneo dump lists clean) — but those are not a cold restore, and the standing RPO gaps (Kaneo 1h target vs daily dump; aggregator 15-min target vs canonical local JSON, impl(pm-stack): move the aggregator laptop-local JSON stores to Supabase muse-dev2 (#3989 slice) #6815) remain open and are exactly what the drill report must measure.

    Resume condition: (1) #6816's cutover state confirmed fresh, AND (2) a dedicated drill window of at least ~5 hours with authority to fence the old writer for its duration. On resume: run pm-stack/COLD-RESTORE-RUNBOOK.md end-to-end on an isolated host/namespace from R2/Drive copies only, write the report to doc/pm-stack/restore-drills/YYYY-MM.md (start/end times, per-store measured RPO, integrity/smoke results, fencing attestation), file surfaced gaps as their own issues, and close #10300 on that evidence.

    Queue: task 20558 (lane any-j) — parked on the condition above.

  6. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    on Nov 17, 2026
  7. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    agent-note:v1 — state: blocked (dependency), lane any-h, task 20558, at 2026-11-17T06:32Z

    Pickup + dependency verdict for #10300 (full-stack cold restore drill):

    • Fresh evidence checked this run (2026-11-17T06:28Z): Full stack restore never drilled #10300 OPEN, priority/high, effort/l, no hard-stop labels. Its execution home impl(pm-stack): Kaneo/Grist/Pad canonical stores to Supabase-backed homes + cold-restore runbook and first laptop-off drill (#3989 slice) #6816 is OPEN (priority/high, effort/l — canonical stores to Supabase-backed homes + cold-restore runbook + first laptop-off drill), and impl(pm-stack): move the aggregator laptop-local JSON stores to Supabase muse-dev2 (#3989 slice) #6815 (aggregator laptop-local JSON stores to Supabase) is OPEN.
    • The drill packet's own evidence, re-verified at triage (task 19224) and still true: pm-stack/COLD-RESTORE-RUNBOOK.md is still DRAFT and states it becomes operative when the impl(pm-stack): Kaneo/Grist/Pad canonical stores to Supabase-backed homes + cold-restore runbook and first laptop-off drill (#3989 slice) #6816 cutover lands; doc/pm-stack/restore-drills/ does not exist on main.
    • Why this blocks the drill: running the isolated-host cold restore before the impl(pm-stack): Kaneo/Grist/Pad canonical stores to Supabase-backed homes + cold-restore runbook and first laptop-off drill (#3989 slice) #6816 cutover would measure restore of the pre-cutover store layout — not the canonical stores the RTO/RPO targets (design(pm-stack): durability & host independence — stack state in backed-up durable storage, stack survives the laptop being off #1258: Kaneo 1h, aggregator 15min) apply to — and the runbook the drill must follow is not yet operative. The fleet cannot clear this inside task 20558: the cutover is impl(pm-stack): Kaneo/Grist/Pad canonical stores to Supabase-backed homes + cold-restore runbook and first laptop-off drill (#3989 slice) #6816's own scoped work (with impl(pm-stack): move the aggregator laptop-local JSON stores to Supabase muse-dev2 (#3989 slice) #6815 as its aggregator slice).
    • Action: task 20558 is dependency-blocked on impl(pm-stack): Kaneo/Grist/Pad canonical stores to Supabase-backed homes + cold-restore runbook and first laptop-off drill (#3989 slice) #6816 (broker rechecks; max TTL 3 days). When impl(pm-stack): Kaneo/Grist/Pad canonical stores to Supabase-backed homes + cold-restore runbook and first laptop-off drill (#3989 slice) #6816 closes, the task returns to the pool and the drill runs against the operative runbook on an isolated host from off-machine copies, old writer fenced, with the measured RTO/RPO report at doc/pm-stack/restore-drills/YYYY-MM.md.
  8. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    on Nov 17, 2026
  9. 7 remaining items

  10. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    agent-note:v1
    event: pickup — cold-restore drill starting (queue task 20558)
    by: agent felix (kind muse, Muse sandbox seat), lane under Felix
    at: 2026-11-23

    Picked up via the GitHub fallback claim (the primary-store claim for task 20558 refused from this seat — the known pattern). Executing the #10300 drill: the pm-stack cold-restore runbook end-to-end on an isolated target from off-machine copies only, old writer fenced throughout, measured RTO/RPO per store, report to doc/pm-stack/restore-drills/2026-11.md via PR for Felix's review. Coordinating with #6816 (this drill is its first-drill acceptance leg; the Supabase migration half of #6816 is out of scope here).

  11. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Progress from felix: still working

  12. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Progress from felix: still working

  13. developing-today
    added
    status:in-review
    on Nov 23, 2026
  14. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    agent-note:v1
    event: DRILL EXECUTED — full-stack cold restore from off-machine copies only, measured RTO/RPO recorded (PR #13025)
    by: agent felix (kind muse, Muse sandbox seat), lane under Felix (queue task 20558)
    at: 2026-11-23

    The drill this issue asked for has run. PR #13025 appends the record to doc/pm-stack/restore-drills/2026-11.md (after the 2026-11-22 same-host rehearsal record) and amends the runbook for one of the findings.

    What was done: the newest #1514 generation (2026-11-22, created 10:41:01Z) was restored from OFF-MACHINE copies only — R2 primary (fetched in 40 s, sha256 recorded in the report), the Drive leg verified byte-identical via its stored MD5 — into an isolated namespace (drill10300-* containers, own network, loopback-only alternate ports, scratch-only storage). The local ~/backups copies were never read. Production stayed live throughout.

    Measured (run 3, the clean end-to-end run; run 1 surfaced the two NEW findings):

    • RTO 145 s declare → full smoke (target 4 h — met; new-host provisioning excluded, no second Docker host exists on this seat — the off-machine fetch is included).
    • Kaneo RPO 20 h 47 m vs 1 h — MISS (daily cadence; the fix remains 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 RPO 20 h 29 m vs 24 h — met, margin ~3.5 h. Pad RPO 20 h 29 m vs 24 h — met, margin ~3.5 h.
    • Aggregator RPO 20 h 40 m vs 15 min — MISS (daily dashboard archive; impl(pm-stack): move the aggregator laptop-local JSON stores to Supabase muse-dev2 (#3989 slice) #6815).
    • Integrity: 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; aggregator 57/57 store files parse.
    • Fencing, proven not asserted: a 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 throughout.

    NEW findings: (1) globals.sql installs the production kaneo role password hash, so a restored instance's app cannot authenticate with a fresh local password until the role password is set from Bitwarden by name (real restore) or reset in the drill DB — runbook steps 3/6 amended in PR #13025. (2) The Drive leg's download throughput measured ~8 KB/s — filed as #13024, enqueued as task 21145.

    #10300's acceptance (a drill report at doc/pm-stack/restore-drills/YYYY-MM.md with start/end times, per-store RPO, integrity/smoke results, old writer fenced throughout) is met by PR #13025; this issue can close when it merges. Pointers posted on #6816 and #1514.

  15. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Released by felix (outcome: done). Cold-restore drill executed from off-machine copies only (R2 primary, Drive MD5-verified) into an isolated namespace; measured RTO 145s, per-store RPO recorded (Kaneo 20h47m miss vs 1h, Grist/Pad 20h29m met vs 24h, aggregator 20h40m miss vs 15min); fencing proven both directions; report + runbook amendment in PR #13025 (unmerged, for Felix's review); Drive-throughput follow-up filed as #13024 / task 21145.

  16. dezren39
    removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 23, 2026
  17. dezren39
    added a commit that references this issue on Nov 23, 2026

    Merge pull request #13025 from developing-today/felix/10300-cold-rest…

    3fbb1c1
  18. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    agent-note:v1
    event: PR #13025 MERGED — drill #10300 record landed
    by: agent felix (kind muse, Muse sandbox seat), merging after review
    at: 2026-11-23

    Felix's review: the record's numbers match the lane's measurements exactly (RTO 145 s against the 4 h target; per-store RPO table as drilled); the password-bearing lines in the diff are procedural only — the globals.sql finding is described, no credential material is in the record; the fencing evidence is experimental (sentinel table absent from production, 0 of production's 3,008 post-generation rows in the restored copy, production container start times identical before/after).

    Standing results of the drill: everything in scope restored from off-machine copies and smoke-passed. The two RPO misses are cadence facts, already owned: Kaneo 20 h 47 m vs 1 h (daily dump; #6816 criterion 1), Aggregator 20 h 40 m vs 15 min (daily archive; #6815). The Drive leg's throughput defect is #13024 (task 21145).

  19. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Cold-restore drill acceptance verified

    PR #13025 is merged and the report is landed at doc/pm-stack/restore-drills/2026-11.md.

    Evidence:

    • Off-machine sources only: R2 primary, Drive copy verified byte-identical; local backup copies were not read.
    • Isolated scratch namespace; production remained fenced and serving. Fencing was proven with the sentinel-table and post-generation-row checks.
    • RTO: 145 seconds against the 4-hour target.
    • RPO: Kaneo 20h47m versus 1h (miss, 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 20h29m and Pad 20h29m versus 24h (met); aggregator 20h40m versus 15m (miss, owned by impl(pm-stack): move the aggregator laptop-local JSON stores to Supabase muse-dev2 (#3989 slice) #6815).
    • Integrity/smoke: pg_restore 0, 45 tables/90,139 rows, Kaneo health 200, Grist integrity + HTTP 302, Pad integrity + health 200, aggregator 57/57 store files parse.
    • Gaps are linked to their owning work: impl(pm-stack): Kaneo/Grist/Pad canonical stores to Supabase-backed homes + cold-restore runbook and first laptop-off drill (#3989 slice) #6816, impl(pm-stack): move the aggregator laptop-local JSON stores to Supabase muse-dev2 (#3989 slice) #6815, and Drive throughput issue Backup Drive leg: restore download throughput measured at ~8 KB/s during the #10300 drill #13024/task 21145.

    The #10300 acceptance is complete; no production state was changed by this queue task.

  20. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Closed as implemented.

  21. dezren39
    closed this as completedon Nov 23, 2026
  22. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lLarge: multi-day or open-ended; expect staged check-inskind/infrastructureInfrastructure / host-portability workpriority/highImportant and time-sensitivequeue/blockedQueue or user escalation statestatus/blockedQueue or user escalation statestatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.