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 — Fleet unification slice 6: backups — Turso into D1, repos to Cloudflare plus mirror plus R2 · Issue #8584 · developing-today/code

Fleet unification slice 6: backups — Turso into D1, repos to Cloudflare plus mirror plus R2 #8584

New issue
Copy link
New issue
Copy link
Done
Done
Fleet unification slice 6: backups — Turso into D1, repos to Cloudflare plus mirror plus R2#8584
Copy link
Labels
effort/lLarge: multi-day or open-ended; expect staged check-insepic/fleet-orchestrationReprioritization program epic (2026-11-12)epic/fleet-toolEpic: fleet-tool - all issues of this effort carry itkind/infrastructureInfrastructure / host-portability workpriority/highImportant and time-sensitivequeue/claimedQueue worker lifecycle statestatus/in-progressQueue worker lifecycle statestatus:in-reviewtask/small-fixQueue packet kind: bounded fix with reproduction and targeted testswork/assignedQueue worker lifecycle state
Milestone
Fleet tool - one door, one binary

Description

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

Parent design: #8575 (one door, one home per fact — fleet tool state unification). Slice 6 of 7. Approved by Drew 2026-11-11, with his ruling: do all three repo backups.

Work

  1. Turso to D1 backup: a scheduled export of the fleet-queue Turso database into a D1 database (same SQLite family), with a documented, drilled restore path back into Turso. The D1 copy also serves as the analytics copy.
  2. Repo backups, all three (Drew's ruling on Design: one door, one home per fact — the fleet tool owns every route and every fallback #8575):
    • Cloudflare rehosting of the four fleet repos.
    • A plain mirror elsewhere (a second git host or an org-owned mirror remote).
    • R2 bundles: scheduled git bundles of each repo stored in R2.
  3. Freshness targets and a single status readout covering all five copies (Turso export, D1 copy, Cloudflare rehost, plain mirror, R2 bundles): last success per copy, lag behind the source.

Acceptance

  • A restore drill from the D1 copy into a scratch Turso database, verified by table counts and a live claim against the restored store.
  • A clone drill from each of the three repo backups, verified against the source repo's head.
  • The status readout runs on a schedule and reports lag per copy; a copy falling behind its target is filed as an issue automatically.

Activity

Next
  1. dezren39
    added
    status/needs-triageNot yet triaged; needs a first look
    on Nov 11, 2026
  2. developing-today commented on Nov 11, 2026

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

    CODE-2570

  3. 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
    and removed
    status/needs-triageNot yet triaged; needs a first look
    on Nov 11, 2026
  4. dezren39 commented on Nov 11, 2026

    @dezren39
    dezren39
    on Nov 11, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged

    • Agent: triage-step
    • State: triaged
    • Work kind: task/small-fix - a bounded implementation slice of the Drew-approved fleet unification program (parent Design: one door, one home per fact — the fleet tool owns every route and every fallback #8575); not a PR-shepherd or CI-investigation item.
    • Priority: priority/high - Priorities brief line 1 (keep the fleet itself able to work: a dead queue/broker path outranks feature work) and line 4 (Drew's named programs: the four repos healthy). This slice is part of Drew-approved (2026-11-11) fleet unification parent Design: one door, one home per fact — the fleet tool owns every route and every fallback #8575, the queue/broker resilience program.
    • Effort: effort/l - multi-day implementation slice.
    • Kind: kind/infrastructure (added this triage).
    • First concrete step: Build the scheduled Turso-to-D1 export with a documented restore path back into Turso, and run the first restore drill into a scratch Turso database.
    • Acceptance check: A restore drill from the D1 copy into a scratch Turso database, verified by table counts and a live claim against the restored store.
    • Fix packet: - Fix packet: task 14912 in repo-health-code-pilot (dedupe repo-health:v1:fix:developing-today/code:issue:8584, priority 20, kind small_fix, queued; signal refreshed).
  5. dezren39 commented on Nov 11, 2026

    @dezren39
    dezren39
    on Nov 11, 2026
    MemberAuthor
    More actions

    agent-note:v1
    state: verified (scoped; parked resumable)
    lane: code-c (task 14912)
    issue: #8584

    Asset inventory for slice 6, verified fresh 2026-11-11 — what exists vs what is actually to build:

    ALREADY EXISTS (do not rebuild):

    • Plain-mirror machinery: infra/github-backup keeps bare mirrors (git clone --mirror) of Drew's whole GitHub estate on the laptop — daily fetch timer, 5-min webhook drain (Cloudflare Worker + KV queue), weekly reconcile, MANIFEST.json with per-repo HEADs, dedicated GitHub App rate pool. BUT it lives on the same laptop: slice 6's leg is a plain mirror ELSEWHERE (second git host / org-owned mirror remote). The machinery, config schema, and runbook are the template; the off-host copy is the build.
    • git bundle know-how: github-backup already materializes cold copies via git bundle; R2 is in production use elsewhere in the estate (cold-store, restic legs). No scheduled per-repo R2 bundle job for the four fleet repos exists yet.

    TO BUILD (in dependency-light order):

    1. R2 bundles leg — scheduled git bundle of each of the four fleet repos into R2 + a clone-from-bundle drill verified against source head. Smallest leg; bundle machinery patterns are in infra/github-backup.
    2. Plain mirror elsewhere — push the github-backup mirrors (or a fleet-repo subset) to a second host/remote on the fetch cadence; clone drill against source head.
    3. Turso -> D1 export — scheduled export of the fleet-queue Turso DB into D1 + drilled restore into a scratch Turso DB, verified by table counts and a live claim against the restored store (the acceptance drill). The queue DB is the Turso fleet-queue database the broker uses.
    4. Cloudflare rehosting of the four repos + clone drill.
    5. One status readout across all five copies (last success + lag per copy), scheduled, auto-filing an issue when a copy misses its freshness target. MANIFEST.json is the model for the mirror leg's inputs.

    Parked resumable: this is an effort/l, five-leg build that does not fit the remainder of a lane shift already deep in its bundle; the next claimant starts from this inventory instead of re-deriving the estate. Nothing is blocked and no Drew decision is needed — the three-way repo-backup ruling is already recorded on #8575.

  6. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 11, 2026
  7. 280 remaining items

    Load more actions
  8. dezren39
    added 4 commits that reference this issue on Nov 24, 2026

    github-backup: rename request stream var in rehost Worker (#8584)

    f26ba75

    github-backup: accept space-separated want capabilities in rehost Wor…

    21a0e71

    github-backup: normalize rehost fetch errors in the freshness probe (#…

    73386ff

    github-backup: run fixture tags in the fixture repo, not the cwd (#8584)

    dde4305
  9. developing-today-fleet
    added
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 24, 2026
  10. dezren39
    added 2 commits that reference this issue on Nov 24, 2026

    github-backup: stage the pack inside the scratch repo before index-pa…

    188546f

    Merge pull request #14321 from developing-today/felix/8584-cf-rehost-…

    0070828
  11. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    The Workers + R2 smart-HTTP rehost (Drewry's 2026-11-24 decision) is now landed on main: PR #14321 merged, merge commit 0070828.

    Verification on the merged head (188546f), all remote:

    • Publisher suite: 4/4 pass (run 45395666577, conclusion success). Two test-fixture defects were found by Felix's review and fixed on the branch before merge (dde4305: annotated/lightweight tag calls in make_mirror ran without cwd=src; 188546f: the pack-consistency oracle indexed the bucket pack in place instead of staging it inside the scratch repo). The lane's original verification had masked the failures by piping output through tail.
    • Freshness probe suite: 18/18 pass; freshness readout suite: 8/8 pass (run 45395677100).
    • Worker node protocol tests could not run on the fleet-command executor image (no node on the image — tracked on github-backup deploy tests hard-fail without node instead of skipping #14267 / fleet-command executor: ring/aws-lc-sys build-script binary fails to execute (os error 2) — native build-script dependency trees unbuildable dezren39/fleet#111). The Worker itself is proven live instead: git clone https://git.security.cab/developing-today/fleet returned HEAD b328920249fc80ec09406139e8edc3019a29a158, identical to the source repo HEAD, and the freshness probe's cloudflare_rehost check verifies the live advertisement.

    Still outstanding on #8584 (operator step, laptop-side): run infra/github-backup/systemd/install-units.sh from a clean laptop main checkout — it installs the R2, mirror, freshness, and rehost timers together. That waits on amd-6's disk cleanup and on the parked ~/git/code checkout being returned to clean main by its owning lane (#13833). The fleet-queue-backup timer also missed its 2026-11-24 02:40 CST fire while amd-6 was flapping; the D1 export watermark stands at 2026-11-23T15:27:30Z until the timers are installed and firing.

  12. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Closing as implemented. All acceptance items are on main: D1 export and restore drill (#12685/#12686, #12791 import contract), Turso to D1 home class-D leg (#13539), R2 bundles and cold bundles (#12269), plain mirrors and their schedule (#12635/#12662), Cloudflare rehost as Workers + R2 smart-HTTP per Drew's 2026-11-24 decision (#14321), and the five-copy freshness probe with daily timer and auto-filed alert issue (#14205/#14287 on main via infra/github-backup, timer 04:10). Verified against merged PRs via fleet verify-disposition: merged_verified.

  13. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Closed as implemented.

  14. dezren39
    closed this as completedon Nov 24, 2026
  15. dezren39
    added a commit that references this issue on Nov 25, 2026

    fix(pm-stack): bring the Workers list back in line with the repository (

    10a2689
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-insepic/fleet-orchestrationReprioritization program epic (2026-11-12)epic/fleet-toolEpic: fleet-tool - all issues of this effort carry itkind/infrastructureInfrastructure / host-portability workpriority/highImportant and time-sensitivequeue/claimedQueue worker lifecycle statestatus/in-progressQueue worker lifecycle statestatus:in-reviewtask/small-fixQueue packet kind: bounded fix with reproduction and targeted testswork/assignedQueue worker lifecycle state

    Type

    No type

    Projects

    No projects

      Milestone

      • Fleet tool - one door, one binaryNo due date

      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.