Skip to content

ci(github-backup): the three systemd argument tests (freshness/r2/rehost) run in no workflow and are named nowhere (orphan scan) #17724

Done

Description

@developing-today-fleet

Gap (enumerated test-script orphan scan at origin/main 3e6594a, lane 0900-GJ)

infra/github-backup/systemd/ holds three hermetic argument-contract tests for the production entry points:

  • test-freshness-arguments.sh (run-freshness.sh / install-units.sh)
  • test-r2-arguments.sh (run-r2.sh / install-units.sh)
  • test-rehost-arguments.sh (run-rehost.sh / install-units.sh)

Each verifies the entry points reject unaccounted arguments (usage status 2, offending argument named) before touching credentials, files, or systemd. A repo-wide reference scan (basename, whole tree) finds these three scripts named nowhere else in the tree: no workflow runs them and no doc lists them. .github/workflows/github-backup-tests.yml runs only tests/test_*.py plus the Worker suite; .github/workflows/scripts-test.yml runs their sibling drain-wrapper.test.sh (#5222) but not these three. The argument contracts of the freshness/R2/rehost legs can therefore regress silently — the same failure mode #5937/#7777 fixed for this directory's Python suite.

Fix

Add steps to .github/workflows/scripts-test.yml (the house runner that already hosts this directory's drain-wrapper.test.sh) executing each of the three tests with the established pattern: test -f guard plus bash <path>.

Acceptance

  • scripts-test.yml contains one guarded step per script, following the drain-wrapper step's shape.
  • A verification run at the PR head shows all three tests actually executing and passing (output read firsthand).

Labels: kind/ci, priority/normal, effort/xs.


Claim: lane 0900-GJ (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:00:59Z",
    "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": "d99265f29146c7af52de5dc5c492eb43184f7e95"
    },
    "auth_subject": "xaltha",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Activity

  1. added
    kind/ci
    priority/normal
    effort/xs
    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/xskind/cipriority/normal

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions