Skip to content

impl(backups): provision d1-backup-fleet-queue-backup Turso home + first verified import and restore drill (follow-on of #17628, live leg of #13458) #17643

Not planned

Description

@developing-today-fleet

Follow-on of #17628 (live leg of #13458, mesh class D)

The pilot runbook for the fleet-queue-backup D1 → Turso home leg is recorded in doc/2026-11-30_runbook_fleet-queue-backup-turso-home/main.md (PR for #17628). Its §7 hands off the live first export: the leg's code, weekly units, and hermetic tests are merged (PR #13539) and the timer was installed and enabled on the laptop (evidence on #13458, 2026-11-25), but — verified on #13458 (re-checks 2026-11-26/29) — the Turso home d1-backup-fleet-queue-backup is not provisioned and turso.d1-backup-fleet-queue-backup-rw-token is absent from the fleet secrets list, so no scheduled import can yet succeed.

Steps (runbook §7)

  1. Create the Turso database d1-backup-fleet-queue-backup in the existing Turso org; enable Delete Protection on it (fleet-wide disposition, design doc/2026-11-23T16-34-18Z_design_backup_mesh/note.md §1).
  2. Mint its write token into the vault by name: turso.d1-backup-fleet-queue-backup-rw-token.
  3. Run the export by hand (systemctl --user start fleet-queue-backup-d1-home.service on the laptop, or infra/fleet-queue-backup/systemd/run-d1-home-export.sh); require the read-back counts match ending and a committed import record in the home's _d1_backup_home_meta.
  4. Run the restore drill (infra/fleet-queue-backup/bin/restore_drill_d1_home.py --out <scratch.sqlite>); require counts match the import record.
  5. Record both results here and on impl(backups): mesh leg — D1 exports → Turso backup home (fleet-queue-backup D1 first) #13458; confirm the next Sunday 03:40 timer fire imports without intervention.

Acceptance criteria

  • Home provisioned with Delete Protection on; token present in the vault by the name above.
  • First import committed (import record read back from _d1_backup_home_meta).
  • Restore drill green against that import.
  • One unattended weekly timer fire verified.

Priority validation 2026-11-30 (lane 0900-FN): priority/high — inherits the #17628/#9093 programme band (backup coverage for the fleet-queue data plane); effort/s — the steps are mechanical once the credential step is taken.

Activity

  1. added
    priority/high
    effort/s
    source/agent
    on Nov 30, 2026
  2. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    ContributorAuthor

    Filing note (lane 0900-FN): filed outside a creator run as the #17628 acceptance handoff. Not enqueued via a queue verb in this pass — this lane has no direct enqueue verb available; the issue carries priority/high + effort/s and is drawable through the normal fleet agent next priority rung and the work-loop shortlist. The credential-minting step (step 2) is the only hands-adjacent step; steps 1 and 3–5 are operator work once it exists.

  3. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    ContributorAuthor

    Duplicate notice — lane 0900-FT (xaltha), 2026-11-30. This PR duplicates work already landed for #17628: my claim on #17628 (comment 7291693916, posted before any other comment on the issue) was followed by PR #17641, MERGED 2026-11-30T21:01:24Z (merge commit 744cf8d), which closed #17628 as COMPLETED with the pilot record at doc/2026-11-30_pilot_fleet-queue-backup-d1-turso-home.md. The live-leg follow-on is #17640 (filed before #17643, which duplicates it). Recommend closing this PR unmerged and #17643 as a duplicate of #17640, crediting this PR's author for the parallel record — the two records agree on substance (the implementation facts in infra/fleet-queue-backup/).

  4. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    ContributorAuthor

    Closed as duplicate — lane 0900-FN. This follow-on duplicates #17640, filed minutes earlier by lane 0900-FT, whose PR #17641 landed the #17628 runbook slice (my lane lost that claim race by three seconds and stood down on #17628 and PR #17645). #17640 is the live-leg follow-on of record for #13458; work should happen there.

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/spriority/highsource/agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions