Skip to content

program-tending: the default fleet list names a repo that does not exist — developing-today/nix 404s every run and dezren39/darwin-nix is never tended #6859

Closed

Description

@dezren39

Problem

scripts/program_tending.py's default fleet list names a repository that does not exist, so the daily program-tending run never tends the fourth fleet repo and reports a fetch error for a phantom repo every run.

FLEET_REPOS (scripts/program_tending.py:29-34) is:

FLEET_REPOS = (
    "developing-today/code",
    "developing-today-forks/opencode",
    "developing-today-forks/openchamber",
    "developing-today/nix",          # line 33 — this repo does not exist
)

The fourth fleet repo is dezren39/darwin-nix (the four repos are developing-today/code, developing-today-forks/opencode, developing-today-forks/openchamber, and dezren39/darwin-nix). There is no developing-today/nix repository.

Evidence (verified this run, laptop, main @ 65beb42)

  • gh repo view developing-today/nix → Could not resolve to a Repository with the name 'developing-today/nix'; gh repo view dezren39/darwin-nix resolves.
  • Probe (~/git/fleet/probe-program-tending on the laptop, real program_tending.py verbatim, live unauthenticated GitHub API): GET /repos/developing-today/nix/pulls → HTTP 404 Not Found; GET /repos/dezren39/darwin-nix/pulls → HTTP 200 with a list body.
  • main() uses the default list whenever --repo is not passed (scripts/program_tending.py:173: repos = args.repo or list(FLEET_REPOS)), and the scheduled workflow (.github/workflows/program-tending.yml) runs python3 -I scripts/program_tending.py --run with no --repo, so every daily run takes this path.
  • In stub_stalled_prs the 404 is caught and recorded as {"repo": "developing-today/nix", "open_prs": "unverified", "error": "HTTP Error 404: Not Found"} — a permanent, expected-looking error line that trains readers to ignore the section's errors, while dezren39/darwin-nix's open PRs are never counted. The other four sections echo the wrong name in their checked lists, so the run log claims a repo that does not exist was "checked".
  • The existing tests never catch it: every test in scripts/tests/test_program_tending.py passes --repo developing-today/code explicitly or mocks _gh_api; the control run this run passes 8/8 on the laptop.

Why it matters

Program-tending is the scheduled care layer for exactly these four repos (#1352). One quarter of its coverage has been silently absent since the scaffold landed, and the standing 404 in the daily log masks real fetch failures for the other repos (the section's contract is "reports, never fails" — an always-present error makes the error channel worthless).

Acceptance criteria

  • FLEET_REPOS names the canonical four fleet repos, with dezren39/darwin-nix as the fourth entry; developing-today/nix appears nowhere in the script or workflow.
  • A new test in scripts/tests/test_program_tending.py asserts the default repo list equals the canonical four (so a future rename/typo fails the suite instead of the daily log), and a test drives stub_stalled_prs over the default list with a mocked _gh_api asserting every default repo is queried.
  • A default --run (mocked API) produces a log whose sections list dezren39/darwin-nix and no nonexistent repo.
  • Existing program-tending tests still pass.

Activity

  1. added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    source/creatorFiled by the new-issue-creator job
    priority/normalOrdinary priority (the default)
    on Nov 7, 2026
  2. developing-today commented on Nov 7, 2026

    @developing-today
    Contributor
  3. dezren39 commented on Nov 7, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · filed

    • Agent: new-issue-creator job (new-issue-creator-code-a)
    • Session / ID: cron new-issue-creator-code-a run 2026-11-07 03:05 CST
    • Found via: filed this run
    • Task: Fix the default fleet list in scripts/program_tending.py — FLEET_REPOS names developing-today/nix (404, does not exist) instead of dezren39/darwin-nix, so the daily run never tends the fourth repo. Verified live this run (gh repo view + probe ~/git/fleet/probe-program-tending on the laptop @ 65beb42).
    • Expectation: effort s — one-line correction plus tests pinning the canonical four-repo list; "done" is a default run whose sections list dezren39/darwin-nix and no nonexistent repo.
    • Links: queue packet enqueued this run (repo-health-code-pilot)
  4. developing-today commented on Nov 8, 2026

    @developing-today
    Contributor

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), lane code-u
    • Session / ID: task 11087
    • Found via: queue claim
    • Task: Handed off per the execution-lane assignment: task 11087's assigned_lane is opencode, so the laptop claimant launches the bound opencode session that drives the fix for issue program-tending: the default fleet list names a repo that does not exist — developing-today/nix 404s every run and dezren39/darwin-nix is never tended #6859 (program-tending default fleet list) to its terminal state. Lane code-u does not work this task directly and created no worktree.
    • Expectation: the opencode claimant polls every 10 minutes for claimed, opencode-assigned, unbound tasks and launches the session; if it has not launched by lease expiry, task 11087 returns to the queue on its own.
    • Links: task 11087 (queue repo-health-code-pilot)
  5. added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed on Nov 8, 2026
  6. 60 remaining items

  7. added
    status/parkedDeliberately paused with a recorded resume condition
    on Nov 11, 2026
  8. dezren39 commented on Nov 11, 2026

    @dezren39
    MemberAuthor

    state: picked_up
    task: 11087
    lane: code-d
    worker: repo-worker-code

    Task 11087 claimed by lane code-d (direct), resuming PR #8689 (head f8123ba) at its CI/Codex park: refresh against current main, verify the program-tending suite locally, confirm Codex state on the current head, and merge under the standing criteria.

  9. added
    queue/claimedQueue 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 11, 2026
  10. added a commit that references this issue on Nov 11, 2026
  11. dezren39 commented on Nov 11, 2026

    @dezren39
    MemberAuthor

    state: done
    task: 11087
    lane: code-d
    worker: repo-worker-code
    outcome: fixed_merged

    PR #8689 merged (merge commit bed0fb6, 2026-11-11T15:02:02Z); issue #6859 closed by the merge. Verified at the merged tree (75641e0, current main merged in): FLEET_REPOS names the canonical four with dezren39/darwin-nix fourth and developing-today/nix appears nowhere in the script or workflow; the program-tending suite passes — 31 tests, OK (python3 -m unittest discover -s scripts/tests -p test_program_tending.py, log tail verified). Codex review on the PR: completed with no findings. CI basic-tier checks were cancelled by the fleet backlog (zero failures), consistent with today's fleet-wide pattern.

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

    app/program-tendingscripts/program_tending.py program-tending scaffoldkind/bugSomething isn't working (prefixed form of the classic bug label)priority/lowNice to have; do when convenientsource/creatorFiled by the new-issue-creator jobstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions