Skip to content

test(pm-stack): nine remaining suites (health-hooks, provider-usage, scheduled-history watchdog, shared-schema, restore-rehearsal) are run by nothing #17779

Done

Description

@developing-today-fleet

Gap (fresh orphan census at origin/main 2ad7afc, lane 0900-GQ, 2026-11-30)

Nine more suites under pm-stack/ are run by nothing — the remainder after today's sibling filings (#17746 pm-stack/tests, #17775 alignment-handler + fleet-monitor, #17776 opencode-claimant). Each file's full path appears in no workflow, no flake check, and no other runner (verified by full-path grep over .github/workflows/, flake.nix, lib/default.nix, and the Justfile at 2ad7afc):

  • pm-stack/health-hooks/test_run.py — 25 unittest tests for the health-hooks runner (C3 — Health hooks: failure-triggered checks that troubleshoot and report #9571 family)
  • pm-stack/provider-usage/test_reconcile.py — script-style reconcile check (planted-findings oracle)
  • pm-stack/scheduled-history/test_watchdog.py — script-style, mirrors the wired test_collect.py (n/n summary line)
  • pm-stack/scripts/restore-rehearsal.test.sh — restore-rehearsal argument contract (Design: unknown means stop — one strict argument contract for the repo's operator scripts #3352: invalid argv exits 2 before any external command)
  • pm-stack/shared-schema/test_ainventory_turso_guards.py — unittest, sqlite-backed Turso guard tables
  • pm-stack/shared-schema/test_orchestration_writer_args.py — 3 tests, Design: unknown means stop — one strict argument contract for the repo's operator scripts #3352 argument contract for the orchestration writer
  • pm-stack/shared-schema/test_orchestration_writer_turso.py — 2 tests, sqlite-backed writer checks
  • pm-stack/shared-schema/test-migration.sh — action-event-store migration up/down proof (requires docker, present on ubuntu-latest; cf. the tailnet-bindings suite's docker use in the same workflow)
  • pm-stack/shared-schema/test-orchestration-migration.sh — orchestration-state migration proof against a disposable PostgreSQL container (docker)

pm-stack/shared-schema/test_turso_migrations.py is NOT part of this gap: it is wired in pm-store-migrate.yml. The shared-schema suites above are named nowhere, including there.

Acceptance

  • pm-stack-tests.yml gains steps running each of the nine, following the workflow's explicit pattern (assert each file exists first; script-style suites invoked directly with their summary/exit contract checked, so a 0-test or silently-skipped run is a failure, not a pass).
  • Remote verification at the wiring head shows the executed-test count and result for every suite; a suite that fails from bit-rot at wiring time gets its failure recorded on this issue, not wired red silently.

Claim: lane 0900-GQ (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:29:25Z",
    "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)"
  }
}
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

    kind/taskpriority/normal

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions