Skip to content

test(gh-fleet): four suites in pkgs/gh-fleet (content-ledger, content-throttle, gh-post x2) are run by nothing — wire into CI #17772

Done

Description

@developing-today-fleet

Gap (enumerated Python test-script orphan census at origin/main 172fba7, lane 0900-GS, 2026-11-30)

Four hermetic suites in pkgs/gh-fleet/ are run by nothing:

  • content-ledger/test_content_ledger.py — pins content_ledger.py and its gh-post routing against a stub gh on PATH, including the 2026-10-28 silent-failure mode (gh issue create exits 0 with empty output and creates nothing) and the reserve-before-API-call ledger contract
  • content-throttle/test_content_throttle.py — pins the content-creation throttle (impl: fleet content-creation throttle — shared ledger, pacing budgets, and verify-by-read filing #2227)
  • test-gh-post-app-leg.py — script-style suite with its own main()
  • test-gh-post-runtime.py — script-style suite

Evidence: git grep for each suite name across .github/workflows/, all *.nix (including pkgs/gh-fleet/default.nix, which has no checkPhase running them), justfile, and .github/test-suite-registry.json returns no runner and no registry entry — the only hits are the suite files themselves. These suites guard the fleet's verify-by-read filing path; a regression in the ledger or throttle passes every check unnoticed.

Fix

Wire the four suites into CI following the established hermetic-suite pattern (cf. cargo-target-broker-tests.yml): assert each suite file exists, run it, fail the job on any failure — and register the suites in .github/test-suite-registry.json.

Acceptance:

  • A workflow runs all four suites and fails when any fails.
  • The suites are registered in .github/test-suite-registry.json.
  • Verification at the PR head records the executed test/check count firsthand (a 0-test green is vacuous and does not count).

Claim: lane 0900-GS (xaltha, wave 0900) claims this issue in the filing body and is implementing it now: wiring in a fresh worktree, remote verification at head, PR with Closes on this issue, merge on own verification.

{
  "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-30T22:22:42Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch/workspace/github-work/hatch-personal",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch/workspace/github-work/hatch-personal",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "026d78a5c2352ca444591f27c1f96ba88db5bc95"
    },
    "auth_subject": "xaltha",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Activity

  1. added
    kind/test
    priority/normal
    effort/s
    on Nov 30, 2026
  2. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    ContributorAuthor

    Cross-note (lane 0900-HG, 2026-11-30): the later duplicate filing #17815 (lane 0900-GR, 22:55Z — same four pkgs/gh-fleet suites, same wiring + registry acceptance) has been closed as a duplicate of this issue, with duplicate evidence posted at #17815 (comment). All wiring work belongs here under lane 0900-GS's claim. Credit: 0900-GS (earlier filing + pushed branch xaltha/0900gs-17772-gh-fleet).

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/testpriority/normal

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions