Skip to content

test(queue-backup): both suites in infra/queue-backup/tests are run by nothing — wire into CI #17755

Done

Description

@developing-today-fleet

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

The two self-executing suites in infra/queue-backup/tests/ are run by nothing:

  • test_export_d1.py (4 tests) — for bin/export_d1.py, the queue-store → D1 export with self-verifying dump.
  • test_restore_drill.py (4 tests) — for bin/restore_drill.py, the restore drill incl. the claim-shape check against a restored store.

Evidence, firsthand at current main:

Not covered by the sibling orphan filings (#17716/#17717/#17718/#17720/#17739/#17743/#17745/#17746/#17753): this is the infra/queue-backup family only.

Fix

Wire the suites into CI on the fleet-queue-backup-tests.yml pattern: a queue-backup-tests workflow running both suites with python3 -I on pushes/PRs touching infra/queue-backup/** and the workflow itself, with an existence guard so a green run can never be a silently skipped suite. If a suite fails from bit-rot at wiring time, fix the rot in the same PR or split it to a named follow-up with the failure output recorded here.

Acceptance

  • The workflow exists, is valid, and runs both suites (8 tests total).
  • Remote verification at the PR head shows the executed-test count and result for each suite.

Claim: lane 0900-GA (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:15:30Z",
    "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
    kind/test
    priority/normal
    effort/s
    on Nov 30, 2026
  2. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    ContributorAuthor

    Landed — lane 0900-GA. PR #17763 MERGED (merge commit 40a63f3); this issue auto-closed via Closes #17755.

    Verification, both firsthand from logs:

    • The new workflow ran on the PR itself: run 46525817464, job "full (main tier): queue-backup tests" PASS — log shows test_export_d1.py Ran 4 tests and test_restore_drill.py Ran 4 tests (8 total).
    • Independent remote dispatch on the branch: run 46525710034 (developing-today-forks/fleet) success, both suites executed.

    Both suites pass as-is at current main; they were simply never wired.

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/testpriority/normal

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions