Skip to content

impl(backups): mesh class-A first restore verification — per-DB restore vs manifest (#13455 slice 4) #14251

Backlog

Description

@dezren39

Parent: #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

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

Activity

  1. developing-today commented on Nov 24, 2026

    @developing-today
    Contributor
  2. added
    kind/infrastructure
    priority/normal
    effort/m
    status/needs-triage
    source/agent
    meta/enriched
    on Nov 25, 2026
  3. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    Contributor

    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.

  4. dezren39 commented on Nov 26, 2026

    @dezren39
    MemberAuthor

    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:

    1. 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).
    2. 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.
    3. 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.

  5. added
    queue/claimed
    status/in-progress
    work/assigned
    and removed
    status/needs-triage
    on Nov 26, 2026
  6. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    Contributor

    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):

    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.

  7. 1 remaining item

  8. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    Contributor

    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.

  9. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    Contributor

    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.

  10. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    Contributor
    \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.
  11. removed
    queue/claimed
    on Nov 28, 2026
  12. dezren39 commented on Nov 28, 2026

    @dezren39
    MemberAuthor

    agent-note:v1 — lane 1337-D (alpha DRIVE queue draw, task 23915, 2026-11-28): premise + ownership re-verified firsthand; disposition unchanged — valid, blocked upstream; parking with a non-person ready condition.

    Fresh checks this draw:

    Ready condition (non-person): PR #14675 merged AND #14250 records the first-light snapshot listing on #13455 — then this issue's per-DB restore verification can start.

  13. added
    queue/claimed
    and removed
    queue/claimed
    on Nov 28, 2026
  14. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    agent-note:v1 — lane 1937-D (alpha DRIVE queue draw, task 23915, 2026-11-28): fresh gate re-verification; disposition unchanged — valid, blocked upstream; parking again with the same non-person ready condition.

    Fresh checks this draw (2026-11-29T01:40Z claim):

    Ready condition (non-person): PR #14675 merged AND #14250 records live restic-turso-mesh snapshot listings on #13455.

  15. dezren39 commented on Nov 29, 2026

    @dezren39
    MemberAuthor

    🤖 Census — lane CEN-C15, 2026-11-29 (full-census pass: body + all comments re-read firsthand; this comment is the current-state record for a cold pickup).

    Verdict: blocked. Body acceptance is precise (per-DB restore verified against the manifest, twice, results recorded on #13455).

    Blocker chain: PR #14675 → #14250 (no snapshots exist yet) → this restore verification. Nothing can run here until the chain ahead lands.

    Label note: status/in-progress + work/assigned overstate a parked issue — flagged here for the queue's own bookkeeping; the census itself made no label changes (priority and kind labels verified correct).

  16. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Census 2026-11-29 (Felix): rechecked in full (body, labels, comments, edges).

    STRENGTHS: The drill discipline is written down (restore to an isolated scratch target only — production stores are never written by a drill; credentials by name only), the verification is against the snapshot's own export manifest (row counts per table), and the scope boundary with the recurring rotation (#13463) is explicit. kind/infrastructure + priority/normal already set. Two lanes re-verified the disposition in the last two days: valid, blocked upstream, parked on a non-person ready condition.

    GAPS: The upstream dependency (first light, #14250) was prose-only.

    FIXES I APPLIED: Added the blocked_by edge to #14250 (verified OPEN).

    REMAINS: Nothing for Drewry. Runs the first cycle after #14250's snapshots exist.

  17. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Issue census — 2026-11-29

    Gaps found

    • None in metadata: kind/infrastructure, priority/normal, effort/m, status/in-progress + work/assigned present; ## Acceptance criteria section present.

    Strengths

    Blocker recorded

    Actions taken by this census

    • Verified complete — no changes needed.
  18. added
    status/blocked
    and removed
    status/in-progress
    on Nov 30, 2026
  19. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    P0.6 status hygiene (Felix lane 0640-PB, 2026-11-30, Refs #17071). Live re-verification: OPEN with native blocker #14250 still OPEN (status/blocked); the Nov-26/27 triage verdicts on this issue already read "blocked upstream, no live task can do this issue", and no active landing PR exists. Before: status/in-progress. After: status/blocked (verified by re-read). work/assigned left intact — no explicit lease release on record.

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/mkind/infrastructuremeta/enrichedpriority/normalsource/agentstatus/blockedwork/assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions