Skip to content

test(github-backup/rehost-worker): protocol + version node suites (9 tests) are run by nothing — wire into github-backup-tests #17840

Done

Description

@developing-today-fleet

Gap (found by lane 0900-HA's infra/ wiring census at origin/main ae63f9d, 2026-11-30)

The fleet-git-rehost Worker's hermetic node test suites are run by no workflow:

  • infra/github-backup/rehost/worker/test/protocol.test.mjs (5 tests — byte-exact pkt-line framing oracles for the git upload-pack protocol helpers in src/protocol.js)
  • infra/github-backup/rehost/worker/test/version.test.mjs (4 tests)

Evidence: neither filename, nor the rehost/worker/test path, appears in any file under .github/workflows/ or in .github/test-suite-registry.json (which has no entry for them at all). The package's own npm test (node --test test/) is invoked nowhere. The only workflow that touches the directory, cf-worker-versions-release.yml, deploys the Worker; it does not run its tests. The sibling queue Worker's suite (infra/github-backup/worker/test/) IS wired, in github-backup-tests.yml — this is the other Worker in the same tree.

These suites pin the protocol framing the rehost service speaks to real git clients; a framing regression would surface only in production rehost traffic.

Fix

Wire both suites into github-backup-tests.yml in the sibling Worker's style (assert each file exists first, then node --test), and register them in .github/test-suite-registry.json as a mapped entry naming the venue.

Acceptance

  • A dispatched run of github-backup-tests.yml at the PR head shows both rehost suites executing and passing firsthand (node --test counts: 9 tests total), not a vacuous success.
  • check-suite-registry.sh reports no new violation for the added entry.
  • No other workflow behaviour changes.

Note (not in scope): the registry's older github-backup.worker entry still reads "uncovered / venue null" although the sibling suite is wired in the same workflow — left for whoever truths that entry.

Claim: lane 0900-HA (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-30T23:20:10Z",
    "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
    priority/normal
    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

    priority/normal

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions