Skip to content

test(fleet/placement): standalone Go module with 37 tests is built and run by nothing — give it the go-modules-build venue #17785

Done

Description

@developing-today-fleet

Gap (Go test-venue census at origin/main 668b524, lane 0900-GV, 2026-11-30)

pkgs/fleet/placement is a standalone Go module (module github.com/developing-today/code/pkgs/fleet/placement, go 1.26) with a substantial test suite that nothing builds or runs:

  • 37 func Test across 11 files: audit_test.go, evaluate_test.go, hard_stops_test.go, hard_stops_writer_test.go, monthly_guard_test.go, quota_current_test.go, quota_current_retained_test.go, cmd/placement-hard-stop/main_test.go, cmd/placement-record/{main,hard_stops,quota_fallback}_test.go.

These pin the fleet placement hard-stop / quota / monthly-guard behaviour — the steward hard stops of #2732. A full-repo grep finds no reference to fleet/placement in .github/workflows/, the justfile, or flake.nix: the module is not built, vetted, tidied, or tested by any CI venue, so a breaking change rots silently (the exact failure go-modules-build.yml's header describes for the small pkgs modules, #342).

Not a duplicate of the Python scripts/test_fleet_machine_placement.py suite wired in scripts-test.yml (#17748) — that is a different suite in a different language for a different subject.

Fix

Give the module a build+test venue in the go-modules-build.yml pattern (nightly + workflow_dispatch, tidy check, build, vet, go test ./... with a suite-exists guard so a missing suite cannot report a false green), and verify the suite passes at the PR head before merge.

Claim: lane 0900-GV (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:31:28Z",
    "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": "c4e6b1ce985a6695dcf416f30dccb65274209112"
    },
    "auth_subject": "xaltha",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Activity

  1. added
    priority/normal
    effort/s
    on Nov 30, 2026
  2. 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/spriority/normal

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions