GeezerVison is showing github.com — impl(backups): mesh class-A first restore verification — per-DB restore vs manifest (#13455 slice 4) · Issue #14251 · developing-today/code
impl(backups): mesh class-A first restore verification — per-DB restore vs manifest (#13455 slice 4) #14251DescriptionParent: #13455 (mesh leg — Turso platform DBs → R2 restic deltas) · Grandparent: #9093 (backup mesh) · Program: #8983 · Design: doc/2026-11-23T16-34-18Z_design_backup_mesh/note.md
Depends on: live first light of the #13455 leg (snapshots present in the R2 restic-turso-mesh repo).
House rules: drills restore to an isolated scratch target only — production stores are never written by a drill; credentials by name only.
Scope
First restore verification for the #13455 leg (the per-leg first verification that #13463's scope assigns to the leg issue; the recurring rotation after first light is #13463's):
- Restore one snapshot per DB (
fleet-queue, fleet-platform, atlas) from the R2 restic repo to a scratch libSQL/SQLite target.
- Check row counts per table against the export manifest recorded with each snapshot.
- The restored
fleet-queue copy answers a read-only queue query.
Acceptance
- Restore verification results (per DB: snapshot id, per-table row-count match against the manifest, queue read-query result) recorded on impl(backups): mesh leg — Turso platform DBs (fleet-queue, fleet-platform, atlas) → R2 restic deltas #13455.
- Verification passes twice (two independent cycles) — per the impl(backups): mesh leg — Turso platform DBs (fleet-queue, fleet-platform, atlas) → R2 restic deltas #13455 terms, only then does the delta leg replace the nightly cold-store full-export leg for these DBs; the retirement of the full-export leg for this class is recorded on impl(backups): mesh leg — Turso platform DBs (fleet-queue, fleet-platform, atlas) → R2 restic deltas #13455 when it happens, as its own follow-on step.
Blocker note
Needs the live snapshots from the first-light slice, which needs a healthy laptop (amd-6) — flapping with a draining disk as of the 2026-11-24 triage.
Filed by triage of #13455 (task 22703, lane felix, 2026-11-24).
Acceptance criteria
- A per-DB restore from the restic-turso-mesh repo is performed and checked against the manifest for every class-A database in scope
- The verification result (per-DB pass/fail with evidence) is recorded on this issue or a linked record
- Any restore discrepancy is filed as a follow-up issue
Activitydeveloping-today commented on Nov 24, 2026 developing-today-fleet commented on Nov 25, 2026 Intake review
🤖 Agent note · filed
Notes: slice 4 of #13455 (backup mesh class-A); depends on the live first light slice #14250.
Merged PRs referencing this issue (search at intake): none found — none explicitly resolves it, so the issue stays open.
Risks: scope is bounded by the parent design/epic named in the body; sequencing dependencies are named in the body and in the acceptance criteria where they gate the work.
Suggested approach: implement the slice as specified in the body, in dependency order, and record verification evidence on the issue at completion.
dezren39 commented on Nov 26, 2026 Triage verdict (xaltha lane, task 23915, 2026-11-26): valid, not duplicate, blocked upstream — blocker partially worked this run.
Claim-check: no open PR references #14251; no lane claim on this issue beyond the 2026-11-25 intake note. The dependency chain is #14247 (slice 2, runner code) → #14250 (slice 3, live first light) → this issue (slice 4, restore verification). This issue's own acceptance cannot start until #14250 records live snapshots of fleet-queue, fleet-platform, and atlas in the R2 restic-turso-mesh repo: there is nothing to restore yet, and the live leg runs on the laptop (house rules in #14250: never on the sandbox; credentials by name only).
Blocker work done this run (on the first link of the chain):
Remaining blockers, in order:
- PR impl(backups): class-A restic backup runner — fleet-queue/fleet-platform/atlas → restic-turso-mesh (#14247) #14675 merges (needs the fallback verification path green on main again, or the pending log-readback decision to diagnose it).
- impl(backups): mesh class-A live first light — init restic-turso-mesh, first snapshots + delta measurement (#13455 slice 3) #14250 live first light runs on a healthy laptop (amd-6) and records snapshot listings on impl(backups): mesh leg — Turso platform DBs (fleet-queue, fleet-platform, atlas) → R2 restic deltas #13455.
- Only then can this issue's per-DB restore-vs-manifest verification (two independent cycles) run.
Parked in the queue against that chain; no owner decision is needed on this issue itself.
developing-today-fleet commented on Nov 27, 2026 Triage verdict (oc-code-07 lane, task 23915, 2026-11-27): valid, not duplicate, still blocked upstream — re-verified, no change to disposition.
Claim-check: no open PR references #14251; no live task can do this issue's own acceptance yet. Chain remains #14247 (slice 2, runner code) → #14250 (slice 3, live first light) → this issue (slice 4, restore verification). There are still no live snapshots in the R2 restic-turso-mesh repo to restore, and the live leg runs on the laptop only (house rules: never on the sandbox; credentials by name only).
Re-verification this run (via gh api / gh pr view):
- PR impl(backups): class-A restic backup runner — fleet-queue/fleet-platform/atlas → restic-turso-mesh (#14247) #14675 (impl(backups): mesh class-A restic backup runner — fleet-queue/fleet-platform/atlas → R2 restic-turso-mesh (#13455 slice 2) #14247) regressed to CONFLICTING/DIRTY at head
f72f8081 (mergeable=false, mergeable_state=dirty; updated 2026-11-27T06:00Z). The prior triage's fix (head a0b244f, MERGEABLE/CLEAN) was superseded by three merge-main commits (2ff5544, 3ec1088, f72f808). Gate-hold note from lane 2352-K (2026-11-26 23:52 CST) confirms: no passing exact-head evidence (runs cited all re-read as failure, including body-cited 45513245748), 0 Code/Fleet Actions runs on f72f808, check-runs skipped.
- impl(backups): mesh class-A live first light — init restic-turso-mesh, first snapshots + delta measurement (#13455 slice 3) #14250 still OPEN (live first light not done); impl(backups): mesh class-A restic backup runner — fleet-queue/fleet-platform/atlas → R2 restic-turso-mesh (#13455 slice 2) #14247 still OPEN; impl(backups): mesh leg — Turso platform DBs (fleet-queue, fleet-platform, atlas) → R2 restic deltas #13455 still OPEN.
Scope decision: conflict resolution + verification re-run belong to #14247's lane/PR, not to this triage (this task's scope is triage of #14251; resolving the registry-doc conflict again here would duplicate the owning lane's work and any push would invalidate exact-head evidence). No small in-scope fix exists — this issue's acceptance (per-DB restore vs manifest, twice) cannot start until #14250 records live snapshot listings on #13455.
Parking against that chain; no owner decision needed on this issue itself.
dezren39 commented on Nov 27, 2026 Queue draw note — xaltha lane 0752-B-D, 2026-11-27: task 23915 was drawn again after two verdicts already recorded today (xaltha 2026-11-26; oc-code-07 2026-11-27, comment above). Disposition unchanged: blocked upstream on #14247 (PR #14675 conflicting) → #14250 live first light; no new verdict or packet from this draw. Duplicate follow-on draw; no action taken. developing-today-fleet commented on Nov 27, 2026
Parked — triage re-verified, still blocked upstream (code-g, 2026-11-27).
Re-verification: #14251 OPEN; PR #14675 (#14247) still OPEN/CONFLICTING, unmerged; #14250 still OPEN (live first light not done). No state change since the code-j 18:20Z check. Verdict stands: valid-blocked-upstream — this issue's per-DB restore-vs-manifest acceptance cannot start until #14250 records live snapshot listings on #13455, which needs PR #14675 merged first.
No duplicate work: resolving the #14675 conflict belongs to #14247's owning lane. No owner decision needed here. developing-today-fleet commented on Nov 28, 2026 Triage re-verification (code-f lane, task 23915, 2026-11-28): valid-blocked-upstream, no change to disposition. #14251 OPEN; chain #14247 (OPEN) -> #14250 (OPEN, live first light not done) -> this issue. PR #14675 OPEN at new head a6217dc (updated 2026-11-28T04:19Z, merge state UNKNOWN — owning lane active, not for this triage to resolve). No open PR references #14251; restore-vs-manifest acceptance still cannot start. Prior verdicts (xaltha, oc-code-07, code-g) stand. developing-today-fleet commented on Nov 28, 2026 \n**Parked — triage re-verified, still blocked upstream (code-j, 2026-11-28).**\n\nChain re-checked: #14247 OPEN/in-review → #14250 OPEN (live first light not done) → this issue. One step moved since the last verdict: PR #14675 is now MERGEABLE/CLEAN at `a6217dcd` (was CONFLICTING), but still unmerged — so no snapshots are in the R2 repo yet and the per-DB restore-vs-manifest acceptance still cannot start. Verdict stands: valid-blocked-upstream. Resolving/merging #14675 belongs to #14247's owning lane.\n\nNo owner decision needed here.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|