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 — feature: publish GitHub mirrors, R2 bundles, and rehost from hosted runners · Issue #15000 · developing-today/code

feature: publish GitHub mirrors, R2 bundles, and rehost from hosted runners #15000

New issue
Copy link
New issue
Copy link
Backlog
Backlog
feature: publish GitHub mirrors, R2 bundles, and rehost from hosted runners#15000
Copy link
Labels
effort/mMedium: expected under 1 day of workkind/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivequeue/queuedHas a queued queue tasksource/agentCreated by an agent workerstatus/in-progressQueue worker lifecycle state

Description

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

Implements the publisher half of #14964 from doc/2026-11-25_design_backup-plane-hosted-recovery.md (design in progress).

Create scheduled/manual hosted workflows that reconstruct repo state directly from GitHub into ephemeral runner storage—never assume Actions can read laptop mirrors—then publish verified plain mirror refs, R2 bundles, and all four rehost repos. Preserve the configured inventory and record per-repo outcomes. Add isolated bundle verify/clone checks and live clone/HEAD verification for every rehost endpoint. Keep previous verified R2/rehost generations until replacement verification succeeds.

Failure modes covered: laptop unavailable/dirty checkout/uninstalled systemd timer. Document remaining shared GitHub failure domain for plain mirrors and independent R2/Cloudflare limits. Schedules are proposals until registry is updated in the same implementation pass.

Acceptance: manual dispatch works; hosted schedule is recorded in doc/fleet-schedule-registry.md at implementation; complete four-repo end-to-end verification; no PR-triggered secrets; least-privilege credentials; failures are nonzero and per-repo visible.

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-25T09:49:45Z",
    "session_id": "ses_e5dede54781ffeiE6wQQifpbws",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/fleet/oc-code-04-14964-20261125T094055Z-601b204c",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/fleet/oc-code-04-14964-20261125T094055Z-601b204c",
      "repo": "developing-today/code",
      "branch": "oc-code-04/14964-backup-plane-design",
      "sha": "321c99f29b2ba0463eb2f821805385ffb92bc818"
    },
    "auth_subject": "code-g",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Acceptance criteria

  • A manually dispatched hosted workflow reconstructs repo state from GitHub into ephemeral runner storage and publishes verified plain mirror refs, R2 bundles, and all four rehost repos, recording per-repo outcomes.
  • Isolated bundle verify/clone checks and live clone/HEAD verification pass for every rehost endpoint.
  • Previous verified R2/rehost generations are kept until replacement verification succeeds; failures are nonzero and per-repo visible.
  • The hosted schedule is recorded in doc/fleet-schedule-registry.md in the implementation pass; no PR-triggered secrets; least-privilege credentials.

Activity

Next
  1. dezren39
    added
    kind/featureNew feature or capability request
    priority/highImportant and time-sensitive
    on Nov 25, 2026
  2. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 25, 2026 – with developing.today fleet
    Contributor
    More actions

    Triage verdict — lane IW-302 (queue task 23764), 2026-11-25.

    Premise: TRUE and current. Issue read fresh via fleet gh REST: OPEN, 0 comments, no live claim, nothing landed — code search for the design doc backup-plane-hosted-recovery on main returns 0 hits, and no mirror/R2/rehost publisher workflows exist yet.

    Classification stands: kind/feature, priority/high. This is the publisher-half implementation slice of the #14964 backup-plane design (de-single-pointing the laptop leg).

    Dependency (stated, real): implementation is blocked on #14964's design landing on main. The issue body itself sources its spec from doc/2026-11-25_design_backup-plane-hosted-recovery.md, marked "design in progress" — that document currently exists only on the design session's branch (oc-code-04/14964-backup-plane-design), not on main. The workflows, inventory, verification scheme, and credential shape all come from that design; building ahead of it would invent the spec. No part of this slice is independently workable before the design lands — the acceptance criteria all reference the design's configured inventory and registry update in the same pass.

    Routing: when #14964's design merges, this issue takes a feature_slice implementation packet at priority/high. Until then it stays open and unclaimed by design, not by neglect.

  3. developing-today-fleet
    added
    status/needs-triageNot yet triaged; needs a first look
    effort/mMedium: expected under 1 day of work
    source/agentCreated by an agent worker
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 25, 2026
  4. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 25, 2026 – with developing.today fleet
    Contributor
    More actions

    Intake review

    Related: Implements the publisher half of issue #14964; monitoring half is issue #15001.

    Notes: Must never assume Actions can read laptop mirrors — reconstruction is from GitHub on the runner. Failure modes covered include laptop unavailable, dirty checkout, and uninstalled systemd timer.

    Risks: Plain mirrors share the GitHub failure domain (documented in the issue); credential scoping for R2 + rehost pushes needs care.

    Suggested approach: Hosted workflow with per-repo matrix, verify-before-promote per generation, then registry entry for the schedule.

    Acceptance criteria appended to the issue body; labels normalised by the fleet monitor intake pass.

    🤖 Agent note · filed

    • Agent: fleet monitor
    • Session / ID: repo-fleet-monitor run 2026-11-25 04:14 CST
    • Found via: monitor reconciliation
    • Task: intake enrichment (protocol §5) for issue feature: publish GitHub mirrors, R2 bundles, and rehost from hosted runners #15000
    • Expectation: effort class per labels; done = acceptance criteria in body, labels normalised, this review posted
  5. developing-today-fleet
    added
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    on Nov 25, 2026
  6. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 25, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 Agent note · handed off

    • Agent: fleet monitor
    • Session / ID: repo-fleet-monitor run 2026-11-25 04:14 CST
    • Found via: monitor reconciliation
    • Task: Reverse-mismatch repair: task 23766 is claimed (worker repo-worker-code, lease to 13:54Z) but the issue carried no claim labels — applied queue/claimed + work/assigned + status/in-progress, removed status/needs-triage.
    • Expectation: labels now mirror live queue state; the holding worker continues its task unchanged
  7. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    MemberAuthor
    More actions

    Claim — xaltha lane (hourly work-loop draw via parent #14964, 2026-11-26).

    Stale-claim check: labels say queue/claimed + status/in-progress, but the only claim record is queue task 23766 whose lease expired 2026-11-25 13:54Z; no PR and no implementation comments exist. Taking one narrow slice, not the whole publisher:

    Slice: the hosted-root adapter the #14964 design (doc/2026-11-25_design_backup-plane-hosted-recovery/main.md, line 51) explicitly requires — plain_mirror_all.py resolves its root from laptop configuration and accepts no CLI arguments, so a hosted runner cannot point it at ephemeral storage. Add a --root adapter matching the sibling drivers (bundle_r2_all.py / rehost_publish_all.py: argparse parsed before any sync, run_all(root)), with tests. Branch xaltha/15000-hosted-publisher pushed (empty). The workflow/publisher legs themselves remain for later slices.

  8. dezren39
    added a commit that references this issue on Nov 26, 2026

    feat(github-backup): --root adapter for plain_mirror_all (#15000 slice)

    53b4090
  9. 22 remaining items

  10. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    MemberAuthor
    More actions

    Progress — agent-next-25-local, 2026-11-26: the hosted plain-mirror slice is merged in PR #15536 at ece8bc8871bb77df467692639086e2222f091dfb.

    The workflow reconstructs the four source mirrors directly from GitHub, publishes exact plain-mirror refs with a token scoped to the four mirror repositories, and records its daily schedule. The local workflow contract test passed. The focused Fleet test dispatch is still queued because no eligible runner surface was available; the manual publisher run is also queued as run 45804369724.

    The issue remains open: R2 bundle and rehost publication, isolated bundle clone checks, and live rehost clone checks remain. Next slice: hosted R2 bundle publication with isolated verify/clone and readback hash verification.

  11. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    MemberAuthor
    More actions

    Progress from agent-next-25-local: PR #15543 fixes the first live token failure using the already-installed backup App; its key is configured as a repository secret and the token stays limited to four mirrors. Preparing live rerun.

  12. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    MemberAuthor
    More actions

    Progress from agent-next-25-local: PR #15548 fixes the isolated-Python import failure. Local workflow and script-help checks pass; remote focused run remains queued. Merging and rerunning the publisher now.

  13. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    MemberAuthor
    More actions

    Progress from agent-next-25-local: Plain mirror publisher and app-token fixes merged; run 45807246684 is queued for the first live publish. Continuing the independent hosted R2 bundle slice.

  14. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    MemberAuthor
    More actions

    Progress from agent-next-25-local: R2 publisher slice is merged-ready in PR #15554; bundle tests pass locally, remote test dispatch queued. The current plain-mirror manual run remains queued.

  15. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    MemberAuthor
    More actions

    Progress from agent-next-25-local: PR #15558 adds the missing workflow write permission to the four-repo scoped token; first live run identified the required permission. Merging and retrying.

  16. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    MemberAuthor
    More actions

    Progress from agent-next-25-local: Rehost publisher and live ref/HEAD clone verifier are ready in PR #15563 after a clean merge with main; local tests pass. Hosted run 45810604546 remains queued.

  17. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    MemberAuthor
    More actions

    Progress — agent-next-25-local, 2026-11-26.

    Merged slices:

    • PR #15536: hosted source reconstruction, plain-mirror publish, and daily schedule registration.
    • PR #15543: use the installed backup App with a token scoped to the four mirror repositories; the repository Actions key is configured.
    • PR #15548: preserve sibling module imports in hosted script startup.
    • PR #15554: hosted R2 bundle upload with isolated verify/clone and SHA-256 readback.
    • PR #15558: grant the scoped token workflow-file writes required by GitHub mirror refs.
    • PR #15563: publish rehost packs and live-clone every endpoint, comparing full refs and HEAD with source.

    Local focused tests passed for the workflow contract, R2 uploader, rehost publisher, and live clone verifier. The corresponding Fleet test dispatch remains queued because no eligible runner surface has capacity.

    Live verification is still open. Run 45807246684 confirmed the token and source reconstruction, then partially updated mirror refs before failing: code mirror had 7 missing, 9 extra, and 4 changed refs; fleet and openchamber matched; opencode had 10 extra refs. That run lacked workflow-file permission. The updated full publisher run 45811916838 is queued on main with no steps started yet.

    Next action: track 45811916838 to terminal status. On success, record the four plain-mirror comparisons, R2 bundle readbacks, and four live rehost clone/HEAD checks. On failure, use its first failing repo and step to continue. Issue remains open until that evidence passes.

  18. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    MemberAuthor
    More actions

    Released by agent-next-25-local (outcome: free). Merged PRs 15536, 15543, 15548, 15554, 15558, 15563; all focused local tests pass. End-to-end run 45811916838 remains queued on main with no steps. Resume by tracking it to terminal and reconciling the four plain mirrors, R2 bundles, and live rehost clones; issue comment 7191001320 has exact prior partial mirror state.

  19. dezren39
    added
    queue/queuedHas a queued queue task
    and removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 26, 2026
  20. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    MemberAuthor
    More actions

    New mirror-drift evidence — task #23841 / alert #15506

    Hosted publisher run 45811916838 reported developing-today-forks/opencode's plain mirror verified at 11:45Z. The destination developing-today/opencode-mirror then ran nix-hashes workflow 45810988061, whose update-hashes job succeeded and created commit 7a17687f83002f9d9161d2b6d943e1a8aa7da2ab at 11:46Z. That commit is a child of source head fd79f2a and changes only nix/hashes.json, so the mirror now diverges after a successful publisher sync.

    Freshness re-probe 45815434665 still reports the plain mirror stale. This is a mirror-side writer racing the exact-copy contract, not a missed upload. Alert #15506 and queue task #23841 are blocked on this publisher issue until mirror write automation is made source-only or otherwise prevented from mutating the mirror, then a later freshness probe verifies equality.

  21. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    MemberAuthor
    More actions

    Hosted publisher run 45811916838 reached terminal failure on 2026-11-26. Source reconstruction and the plain-mirror publish/verification steps succeeded. The R2 bundle upload step then received HTTP 403 AccessDenied for all four bundle writes to supabase-backups; both rehost publish and live-clone verification were skipped because the workflow stops after that failure. The existing R2 credentials are recognized by rclone, but their effective permissions or bucket/prefix policy do not authorize object writes. Next step is to correct the R2 write/read/list permissions or target scope, then rerun the full publisher; do not treat the backup/rehost rollout as complete yet.

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

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    Lane 2107-M (work-loop charlie ADVANCE, fallback rank 11, keep-going after #15651 disposition) premise-check on #15000: premise CONFIRMED, implementation substantially landed, remainder is a credential-scope step — not a new code slice for this lane.

    Evidence read this lane: issue body + all 28 comments. Landed slices per comments: PR #15440 (plain_mirror_all.py --root adapter), #15518 (hosted_seed_fleet.py GitHub-only reconstruction), #15536 (hosted plain-mirror publish + schedule registry), #15543 (backup App token scoped to four mirrors), #15548 (sibling-import fix), #15554 (hosted R2 bundle upload + verify/clone + SHA-256 readback), #15558 (workflow write permission), #15563 (rehost publisher + live ref/HEAD clone verifier). Claim released by agent-next-25-local at 2026-11-26T11:39Z (comment 7191005704); no live claim since.

    Blocking evidence: latest comment 7193160651 (2026-11-26T13:18:29Z) — hosted publisher run 45811916838 reached terminal failure: source reconstruction and plain-mirror publish/verification SUCCEEDED; R2 bundle upload got HTTP 403 AccessDenied for all four bundle writes to bucket supabase-backups; rehost publish + live-clone verification were skipped (workflow stops after that failure). Also mirror-drift evidence in comment 7191683525 (opencode-mirror nix-hashes commit diverging after a verified sync).

    Exact remaining step: correct the R2 credentials' effective write/read/list permissions or bucket/prefix target scope for supabase-backups (credentials are recognized by rclone but not authorized for object writes) — a credential-provisioning change, not code. This lane (sandbox, gh CLI only, no clones, queue broker down) cannot change R2 credential scope.

    Wake condition: once R2 write access to supabase-backups is confirmed, rerun the full hosted publisher workflow and reconcile all four plain mirrors, R2 bundles, and live rehost clones to terminal success; then this issue's end-to-end acceptance can close.

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/mMedium: expected under 1 day of workkind/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivequeue/queuedHas a queued queue tasksource/agentCreated by an agent workerstatus/in-progressQueue worker lifecycle state

    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.