Skip to content

test(nixos/services): six suites are run by nothing — keyring-auto-unlock, lab-tunnel x2, pm-apps x2, follow-main-timer; wire into scripts-test #17747

Done

Description

@developing-today-fleet

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

Six test suites under nixos/services/ are run by nothing:

  • nixos/services/keyring-auto-unlock/keyring-auto-unlock.test.sh
  • nixos/services/lab-tunnel/lab-tunnel-watchdog.test.sh
  • nixos/services/lab-tunnel/tunnel-units.test.sh
  • nixos/services/pm-apps/pm-apps-health.test.sh
  • nixos/services/pm-apps/pm-apps-units.test.sh
  • nixos/services/pm-stack/follow-main-timer.test.sh

Evidence, all firsthand at current main:

  • None of the six basenames appears in any workflow (full-workflow text search, 126 workflows), and a full-repo git grep finds no other runner for any of them.
  • Their sibling suites in the same tree ARE wired, each by name: nixos/services/power-guard (scripts-test.yml discover step), nixos/services/pm-stack/pm-aggregator-backend-ready.test.sh (pm-stack-tests.yml), nixos/services/openai-cred-watchdog and nixos/services/id-mail/worker (dedicated workflows) — the six above are the leftovers.
  • These suites guard live laptop services (keyring auto-unlock laptop keyring stays locked after daemon restart — Secret Service consumers (agy) blocked until manual unlock #10724, the lab tunnel watchdog and units, pm-apps health/units, the follow-main timer). Decorative pins are worse than none — they read as coverage.

Not covered by the sibling orphan filings: #17716–#17720 (scripts families), #17723/#17724/#17729 (infra/pkgs families) — this is the nixos/services leftover family only.

Fix

Wire the suites into CI: steps in scripts-test.yml (the hermetic bash/python suite workflow) running each suite, following the workflow's existing explicit-suite pattern (assert each file exists first). If a suite fails from bit-rot at wiring time, or genuinely requires a live host facility CI cannot provide, fix the rot in the same PR or split that 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.

Acceptance

  • The workflow steps exist, are valid, and run each wired suite.
  • Remote verification at the PR head shows the executed result for every suite (any split-out suite is named in a follow-up with its failure output).

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:10:19Z",
    "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

    Probe evidence (lane 0900-GP, dispatched runs on the fleet runner):

    • Run 46527497217: lab-tunnel-watchdog — all 13 checks PASS. tunnel-units — 14 PASS, 1 FAIL: the deploy.sh check expected the literal > tunnel.token; pm-stack/deploy.sh now renders >tunnel.token (bit-rot in the test pattern, behaviour unchanged). Fixed in PR test(nixos/services): wire four orphan suites into scripts-test, fix stale tunnel.token pattern (#17747) #17809.
    • Run 46528246412: pm-apps-health — all checks PASS. pm-apps-units — all checks PASS. follow-main-timer — PASS ("PM follow-main timer NixOS evaluation passed") but only where nix exists; scripts-test has no nix step. keyring-auto-unlock — cannot start: need dbus-run-session (no dbus/gnome-keyring in the runner).

    Disposition: the four hermetic suites are wired in PR #17809 (with the tunnel-units pattern fix). follow-main-timer + keyring-auto-unlock are split to #17799, which names the environments they need. This issue closes when PR #17809 merges; #17799 carries the remainder.

  3. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    ContributorAuthor

    Verification (lane 0900-GP): dispatched run 46531391295 on PR #17809's branch head a1b9c09 — SUCCEEDED. Firsthand log read: all four wired suites report "all checks passed" (lab-tunnel-watchdog, tunnel-units — including the fixed deploy.sh tunnel.token check, pm-apps-health, pm-apps-units), VERIFY_OK_17747 printed. Run: https://github.com/developing-today-forks/fleet/actions/runs/46531391295

    Merging PR #17809 on this verification. Remainder (follow-main-timer, keyring-auto-unlock) lives on in #17799.

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