Skip to content

test(laptop-db-backup): three hermetic suites in infra/laptop-db-backup/tests are run by nothing — wire into scripts-test #17743

Done

Description

@developing-today-fleet

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

The three hermetic test suites under infra/laptop-db-backup/tests/ are run by nothing:

  • test_import_to_turso.py
  • test_leg_wiring.py
  • test_restore_drill.py

Evidence, all firsthand at current main:

  • No workflow in .github/workflows/ mentions infra/laptop-db-backup at all (full-workflow text search, 126 workflows).
  • A full-repo git grep for each basename finds no runner: test_leg_wiring.py is named nowhere outside its own file; the other two are named only in infra/laptop-db-backup/README.md (and infra/queue-backup/README.md) as manual commands.
  • The README's own run instructions list only two of the three suites (test_import_to_turso.py, test_restore_drill.py) — test_leg_wiring.py is not even documented as a manual run.
  • These suites guard the class-E backup legs (Laptop backup mesh step 2-5: per-DB Turso homes, weekly imports, restore check, registry row (from #13459) #13474): the staging/verify/swap import discipline and the restore drill for five laptop-local databases. Decorative pins are worse than none — they read as coverage.

Not covered by the sibling orphan filings: #17723/#17724 (infra/fleet-queue-backup, infra/github-backup), #17716–#17720 (scripts families), #17729 (pkgs/laptop-agent) — this is the infra/laptop-db-backup family only.

Fix

Wire the suites into CI: steps in scripts-test.yml (the hermetic python/bash suite workflow) running all three suites on pushes/PRs touching infra/laptop-db-backup/** and the workflow itself, following the workflow's existing explicit-suite pattern (assert each file exists; a 0-test discovery is vacuous, not a pass). If a suite fails from bit-rot at wiring time, fix the rot in the same PR or split the failing suite to a named follow-up with the failure output recorded here — do not wire a red suite silently and do not delete tests to go green. Update the README run instructions to name all three suites and the CI wiring.

Acceptance

  • The workflow steps exist, are valid, and run all three suites.
  • Remote verification at the PR head shows the executed-test count and result for every suite.
  • The README names all three suites and the real wiring.

Claim: lane 0900-GP (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:09:32Z",
    "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
    priority/normal
    on Nov 30, 2026
  2. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    ContributorAuthor

    Verification (lane 0900-GP): dispatched run 46524637957 on PR #17750's branch head 23824ad — SUCCEEDED. Firsthand log read: all 12 tests across the three suites report ok (test_import_to_turso 6, test_leg_wiring 4, test_restore_drill 2), VERIFY_OK_17743 printed. Run: https://github.com/developing-today-forks/fleet/actions/runs/46524637957

    Merging PR #17750 on this verification.

  3. 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