Skip to content

ci(scripts-test): backup-inventory.test.sh is run by no workflow — wire the fleet book drift guard in #17786

Done

Description

@developing-today-fleet

Gap (orphan-scan residue from lane 0900-GJ, premise-checked live by lane 0900-GW at origin/main 668b524, 2026-11-30)

pkgs/fleet/book/operations/backup-inventory.test.sh is run by nothing: no workflow names it, it has no entry in .github/test-suite-registry.json, and a repo-wide reference scan finds only its own book chapter (pkgs/fleet/book/operations/backup-inventory.md, which cites it as the drift guard for the inventory).

The suite is hermetic and CI-runnable: pure bash, no arguments (any argument is a usage error, exit 2, per the #3352 contract), no network, no host state. It cds to the repo root and asserts that every repo path cited by backup-inventory.md still exists in the tree (infra/github-backup config + systemd units, cold-store-reaper backup/export/restore scripts, agent-backup script + README, the id book backup chapter, and the backup-mesh design note). A drift guard that never runs is decorative: the inventory can rot silently exactly when a cited path moves.

Fix

Wire the suite into .github/workflows/scripts-test.yml (the house runner for hermetic bash suites, sibling style of the #17724/#17727/#17756 steps: test -f guard, then bash <path>), and add its entry to .github/test-suite-registry.json in the established mapped/active shape.

Acceptance

  • The scripts-test.yml step exists and is valid YAML, following the existing explicit-suite pattern.
  • Remote verification at the PR head shows the suite executed and passing firsthand (its per-path ok: lines), not a vacuous success.
  • The registry entry names the suite, its invocation, and the scripts-test venue as active.
  • No other workflow behaviour changes.

Claim: lane 0900-GW (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:31:33Z",
    "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
    kind/ci
    priority/normal
    effort/s
    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