Skip to content

main CI failure: github-backup hosted publisher (run 45804369724) #15539

Backlog

Description

@developing-today-fleet

Main CI failure: github-backup hosted publisher

Failed log excerpt (trimmed)

Reconstruct and publish four plain mirrors / Create least-privilege mirror token
##[warning]Input 'app-id' has been deprecated with message: Use 'client-id' instead.
Run actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1
  app-id: 5612056
  owner: developing-today
  repositories: code-mirror, fleet-mirror, openchamber-mirror, opencode-mirror
  permission-contents: write
Inputs 'owner' and 'repositories' are set. Creating token for the following repositories:
- developing-today/code-mirror
- developing-today/fleet-mirror
- developing-today/openchamber-mirror
- developing-today/opencode-mirror
Failed to create token for "developing-today/code-mirror,developing-today/fleet-mirror,developing-today/openchamber-mirror,developing-today/opencode-mirror" (attempt 1): Not Found - https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app
RequestError [HttpError]: Not Found
##[error]Not Found - https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app
  status: 404,
  url: 'https://api.github.com/repos/developing-today/code-mirror/installation'
  data: { message: 'Not Found', status: '404' }

The GitHub App token step cannot find a repository installation for the mirror repositories (404 on /repos/developing-today/code-mirror/installation), so no mirror publish steps ran. Likely the app is not installed on the mirror repos, or the workflow's app/repo configuration does not match the installation.

Filed by main-ci-failure-fix-trigger (fleet). One fix track per failing workflow; duplicates are suppressed until this issue closes.

{
  "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-26T10:52:15Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "4291c7d25d6699e6d0378dcce687f1935ec39c09"
    },
    "auth_subject": "felix",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Acceptance criteria

  • A github-backup hosted publisher run completes the 'Create least-privilege mirror token' step for the four mirror repos (code-mirror, fleet-mirror, openchamber-mirror, opencode-mirror) without the installation Not Found error.
  • The run proceeds past token creation to reconstruct and publish the four plain mirrors, or any remaining failure is a different, separately recorded step.
  • If the GitHub App is genuinely not installed on a mirror repo, that repo and the install action needed are named on this issue instead.

Activity

  1. added
    kind/bug
    task/small-fix
    status/needs-triage
    priority/high
    queue/queued
    source/ci-watch
    on Nov 26, 2026
  2. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    ContributorAuthor

    agent-note:v1
    state: filed
    Found via: main-ci watch (main-ci-failure-fix-trigger)
    workflow: github-backup hosted publisher
    run: https://github.com/developing-today/code/actions/runs/45804369724
    failed job: Reconstruct and publish four plain mirrors — step "Create least-privilege mirror token" failed: GitHub App repository installation Not Found (404) for developing-today/code-mirror.
    Next: enqueue repo-task/v1 small_fix on repo-health-code-pilot and dispatch a Workhorse fix session; if dispatch is unreachable, the packet is recorded in the goal's hidden_files and the task stays queued.

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

    @developing-today-fleet
    ContributorAuthor

    agent-note:v1
    state: queued; dispatch deferred
    task: 23821 (queue repo-health-code-pilot, status queued; queue signal refreshed, generation 316)
    session: none — dispatch deferred this pass: session enumeration failed (python3 ~/tools/session-count.py: "session list payload has no 'data' array"), which is the conductor's global-stop condition for launching. No session was claimed or launched.
    dispatch packet: hidden_files/dispatch-packets/dispatch-pending-code-15539.json (goal workspace)
    The task stays queued; lane shifts / a later conductor pass with a working enumeration can claim and dispatch it on the Workhorse route (opencode-route/workhorse).

  4. dezren39 commented on Nov 26, 2026

    @dezren39
    Member

    Root cause (task 23821): org secret FLEET_APP_PRIVATE_KEY exists, mirrors exist (code/fleet/openchamber/opencode-mirror all public), but the developing.today fleet App (ID 5612056) has no installation on those mirror repos. Run 45804369724 fails at Create least-privilege mirror token with 404 on GET /repos/developing-today/code-mirror/installation, so no publish steps run. No code change can grant the installation; the App must be installed on the four mirror repos with contents write, then rerun workflow_dispatch on github-backup-hosted-publisher.

  5. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    ContributorAuthor

    agent-note:v1 — main-ci watch recurrence (deduped)

    Run 45806438261 of workflow github-backup hosted publisher on main failed again: https://github.com/developing-today/code/actions/runs/45806438261

    • Event: workflow_dispatch, head SHA 1754b53, completed 2026-11-26T11:01:10Z
    • Failed job: Reconstruct and publish four plain mirrors — step "Reconstruct sources from GitHub" failed; "Publish and verify plain mirrors" skipped. Note the token step ("Create least-privilege backup App token") succeeded this time, unlike run 45804369724.
    • Deduped to this live track (main CI failure: github-backup hosted publisher (run 45804369724) #15539, task 23821): no duplicate issue/task/session filed per main-ci watch dedupe rule.

    Filed by main-ci-failure-fix-trigger (fleet).

  6. dezren39 commented on Nov 26, 2026

    @dezren39
    Member

    Main-CI watch recurrence 2026-11-26T11:03:23Z: new above-watermark failure run 45806438261 (workflow_dispatch on main, head 1754b53, completed 11:01:10Z), job 139862870214 'Reconstruct and publish four plain mirrors' failed at step 'Reconstruct sources from GitHub'.

    Evidence: app-token step SUCCEEDED this run (unlike run 45804369724's 404); failure is ModuleNotFoundError: No module named 'ghb_common' from infra/github-backup/bin/hosted_seed_fleet.py:16 (from ghb_common import ...). Distinct code defect (PYTHONPATH/working-dir) from the App-installation 404 blocker on task 23821. Deduped to this tracker per one-live-fix-per-workflow; no duplicate issue/task/session. Run: https://github.com/developing-today/code/actions/runs/45806438261

  7. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    ContributorAuthor

    agent-note:v1
    state: deduped recurrence — main-ci watch 2026-11-26

    New main-branch failure for workflow github-backup hosted publisher:

    • Run: https://github.com/developing-today/code/actions/runs/45810146394 (run 45810146394, workflow_dispatch, head SHA 4dd0867, completed 2026-11-26T11:30:19Z)
    • Failed job: Reconstruct and publish four plain mirrors at step Upload verified R2 bundles — rclone copyto to R2 failed AccessDenied (403) for all four bundles (code, fleet, openchamber, opencode). Reconstruct and Publish/verify steps succeeded this run (progress vs run 45806438261, which failed at Reconstruct).

    Deduped to this existing open tracker (#15539) per main-ci watch dedupe rule — one live fix per failing workflow. No duplicate issue/task/session filed. Live fix retained (task 23821 per state; queue task state could not be independently re-verified this pass, treated as live per dedupe rule).

    Found via: main-ci watch (limit-100 rescan — run was buried under pm-dispatch skipped runs in the limit-30 window).

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

    @developing-today-fleet
    ContributorAuthor

    Intake review

    • Related: Actions run 45804369724 (evidence in the issue body); sibling freshness-plane issues main CI failure: github-backup hosted freshness (run 45794883171) #15515 / [backup-freshness] probe is missed (#15001) #15513.
    • Notes: Verified live at intake: no merged PR references this issue. Failure is at token creation: the app installation lookup 404s for the mirror repos — an installation/permissions state problem, not a code defect in the workflow steps themselves.
    • Risks: The deprecated app-id input warning is noise; the blocker is the installation lookup.
    • Suggested approach: Check the GitHub App's installation on each of the four mirror repos and its contents:write grant; install/grant where missing, then re-dispatch the publisher workflow and confirm token creation succeeds.
  9. added
    effort/s
    meta/enriched
    on Nov 26, 2026
  10. 17 remaining items

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

    @developing-today-fleet
    ContributorAuthor

    agent-note:v1 — main-ci watch recurrence (deduped)

    Run https://github.com/developing-today/code/actions/runs/46267015261 (schedule, head 066d344, completed 2026-11-29T13:28:30Z) failed again: job 'Reconstruct and publish four plain mirrors' at steps 'Publish verified rehost packs' + 'Verify live rehost clones' — rclone copyto Forbidden 403 on all four mirror packs, live rehost clones not found / refs differ. Same family as tracked runs.

    Deduped to this issue (#15539, OPEN, re-verified this pass). Queue task 23821 is blocked (not terminal — App 5612056 install blocker, escalated-to-user) per fleet queue show, so per dedupe rule the fix is treated as live. No duplicate issue/task/session filed by main-ci-failure-fix-trigger.

  12. added
    status/blocked
    and removed
    status/needs-triage
    on Nov 29, 2026
  13. dezren39 commented on Nov 29, 2026

    @dezren39
    Member

    Census re-verification — CEN-C16 (2026-11-29; delivery completed in a follow-up pass — the original drafts were lost with the census poster scratch, this text is regenerated from the C16 findings record).

    Verdict: blocked

    Blocker: external — grant the github-backup R2 key write access to the fleet-git-rehost bucket (or a second scoped key), tracked as #16050 (open). No in-repo change can grant a bucket ACL. Still failing today: run 46267015261 (2026-11-29) at the same step.

    Strengths: the premise moved twice and each move is documented — the original App-installation 404 and the ghb_common import error no longer occur; the current failure was isolated firsthand from run logs (same job, same r2bak key: writes supabase-backups, 403 Forbidden on every copyto to fleet-git-rehost).
    Gaps: stale status/needs-triage label on a thoroughly diagnosed track.
    Priority: priority/high — unchanged (red main workflow; gates #15501–#15503 freshness alerts).
    Label actions (census): swapped status/needs-triage → status/blocked.

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

    @developing-today-fleet
    ContributorAuthor

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

    STRENGTHS: The CI-watch filing carries the full failing log excerpt (the App installation 404 at token creation, app-id 5612056, the four mirror repos named), and the recurrence discipline has been perfect — a dozen recurrences deduped onto this one track instead of refiling. kind/bug + priority/high already set; queue task 23821 owns it.

    GAPS: The premise has moved twice and the comment record shows it: the original token-creation 404 was diagnosed (the fleet App has no installation on the mirror repos), and the current failing step is 'Publish verified rehost packs' — the R2 403, whose fix is owned by #16050. The issue body still leads with the superseded failure; a pickup should read the diagnosis comments (2026-11-26 17:47Z onward) before the body. Both remaining blockers are external: the App installation question and the #16050 R2 grant (a credential-holder item).

    FIXES I APPLIED: None — labels and priority verified correct.

    REMAINS: Blocked on #16050 (Drewry/credential-holder). When a publisher run goes green end to end, this track closes and the freshness alerts (#15501/#15503 family) clear.

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

    @developing-today-fleet
    ContributorAuthor

    Issue census — 2026-11-29

    Wave-2 recheck: body, labels and all comments re-read firsthand for this pass. Two full census verdicts from earlier today already stand on this issue (Felix and CEN-C15/C16 lanes) — their verdicts are not duplicated here; this note records only the residual check and any residual fix.

    Residual check (kind/bug; priority/high; status: status/blocked; acceptance criteria present): no residual gaps found — verified complete, no changes.

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

    @developing-today-fleet
    ContributorAuthor

    P1.3 tranche 2 (lane 0640-PS, Refs #17071): wired the native blockedBy edge this issue's record already states in prose. The CEN-C16 census verdict (comment 7257830047) names the blocker exactly: "grant the github-backup R2 key write access to the fleet-git-rehost bucket (or a second scoped key), tracked as #16050 (open)."

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

    @developing-today-fleet
    ContributorAuthor

    agent-note:v1 — recurrence (main-ci watch)

    New main-branch failure for workflow github-backup hosted publisher: run 46449863384

    • Run: https://github.com/developing-today/code/actions/runs/46449863384
    • Branch: main, event: schedule, head SHA: 139c380
    • Failed job: Reconstruct and publish four plain mirrors at steps Publish verified rehost packs + Verify live rehost clones — rclone 403 Forbidden on all four packs, live clones not found/refs differ; identical signature to this tracker.
    • Deduped by main-ci-failure-fix-trigger: this issue is the live fix track for this workflow, so no duplicate issue/task/session was filed.
  18. developing-today-fleet commented on Dec 1, 2026

    @developing-today-fleet
    ContributorAuthor

    main-ci watch recurrence (late-completing run, below prior watermark, surfaced on initial scan): run 46593557117 (workflow_dispatch, sha a3bd66c, completed 2026-12-01T06:55:23Z) failed job 'Reconstruct and publish four plain mirrors' at steps 'Publish verified rehost packs' + 'Verify live rehost clones', same signature as tracked runs. Deduped to this live track; no duplicate issue/task/session filed. Run: https://github.com/developing-today/code/actions/runs/46593557117

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/skind/bugmeta/enrichedpriority/highqueue/queuedsource/ci-watchstatus/blockedtask/small-fix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions