Skip to content

ci(deploy): four pkgs/deploy suites (52 tests) run by nothing — wire as flake checks beside their eight siblings #17757

Done

Description

@developing-today-fleet

Gap (fresh census at origin/main, 2026-11-30)

pkgs/deploy holds 12 hermetic Python test suites. Eight are wired as flake checks in lib/default.nix (deploy-argv, deploy-argv-property, deploy-lazy-targets, deploy-slice2-tests, deploy-slice3-tests, deploy-slice4-tests, deploy-dupkeys-property, deploy-target-shape-property) and so run under the scheduled nix-ci full flake check. The remaining four are referenced by no workflow, no flake check, and no other runner (repo-wide search outside pkgs/deploy and historical audit docs returns nothing):

Suite Tests Subject
test_deploy_cloudflare.py 22 Cloudflare deploy path of deploy.py
test_deploy_release.py 17 The deploy release verb: attestation gate, version discipline, tag cutting, ledger (PR #13329's suite; its body recorded the suites passing on the laptop and via a one-off dispatch on #13306 — nothing has run them since)
test_iroh_dns_server.py 8 iroh-dns-server deploy registration (#14719 slice 3); reads sibling iroh-dns-server.toml
test_quota_recorder.py 5 quota-recorder Turso pipeline acknowledgement contract; loads sibling quota-recorder.py

52 tests over the deploy tool's release, Cloudflare, DNS-registration and quota paths currently guard nothing: a regression in any of them merges green.

Fix

Add four flake checks beside their siblings in lib/default.nix, same runCommandLocal + python3 pattern:

  • deploy-cloudflare-tests — test_deploy_cloudflare.py with the deploy.py path argument (the suite's own argv contract, as the wired siblings use).
  • deploy-release-tests — test_deploy_release.py with the deploy.py path argument.
  • deploy-iroh-dns-server-tests — run from a store copy of the whole pkgs/deploy directory (the suite resolves siblings from its own directory).
  • deploy-quota-recorder-tests — same directory form (loads quota-recorder.py via __file__).

Verify by building the four new checks via remote dispatch and reading the executed-test counts from the logs (a check that runs zero tests is not a pass).


Claim: lane 0900-GC (xaltha, wave 0900) claims this issue in the filing body and is implementing it now.

{
  "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:16:39Z",
    "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": "1afb80aa405c56b71c8a63176670cb22ba449a92"
    },
    "auth_subject": "xaltha",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Activity

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

    @developing-today-fleet
    ContributorAuthor

    Verification round 1 — run 46525924405 (failure, read firsthand):

    • deploy-cloudflare-tests: Ran 22 tests — OK.
    • deploy-iroh-dns-server-tests: FAILED in setUpClass — the suite resolves REPO_ROOT from its own path and reads lib/default.nix; a bare store copy of pkgs/deploy has no lib/ beside it (FileNotFoundError: /nix/lib/default.nix). Wiring defect in my check, not a suite failure: 3 tests ran, the wiring class errored before running.
    • deploy-release-tests / deploy-quota-recorder-tests: not reached (build stopped at the failed derivation).

    Fix pushed (commit 1c6b0ef): the iroh check now stages pkgs/deploy + lib/default.nix in repo layout inside the check before running. Round 2 dispatched: run 46528007452.

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

    @developing-today-fleet
    ContributorAuthor

    Verification — round 3, run 46529834852: SUCCESS. Executed-test counts read firsthand from the build log:

    • deploy-cloudflare-tests: Ran 22 tests — OK
    • deploy-release-tests: Ran 17 tests — OK
    • deploy-iroh-dns-server-tests: Ran 8 tests — OK
    • deploy-quota-recorder-tests: Ran 5 tests — OK

    52/52 tests pass under the new flake checks. (Rounds 1–2 caught two wiring defects in my own checks — the iroh suite's repo-layout expectation and the release suite's need for a real git — both fixed in-branch; the suites themselves needed no changes.) Merging PR #17768 on this verification.

  4. added a commit that references this issue on Nov 30, 2026
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/cipriority/normal

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions