Skip to content

ci(nixos/home): the laptop-backups flake checks are executed by no workflow — nix-ci's claimed nightly full flake check does not exist #17774

Done

Description

@developing-today-fleet

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

The laptop-backups-* flake checks are executed by no workflow. The venue they are assumed to have does not exist.

Evidence, all firsthand at current main:

  • lib/default.nix make-laptop-backups-checks (laptop-backups: durable run record for pm-dashboard-backup + a freshness watchdog that names a stopped backup (design #1024, phase 3) #1841) defines 19 root flake checks (laptop-backups-atlas-backup, laptop-backups-laptop-autocommit-*, laptop-backups-pm-dashboard-backup*, …), each a runCommandLocal running one nixos/home/*.test.sh suite against the real backup/autocommit scripts with stubbed systemctl/bws/journalctl/rclone.
  • .github/test-suite-registry.json row nixos.home.shell-checks records exactly this: status uncovered-in-fact, venue state not_run_by_active_workflow, reason "Root flake check is not invoked by active nix-ci.yml, which evaluates outputs with nix eval."
  • A full-workflow search confirms it: no workflow in .github/workflows/ runs nix flake check, and the only .#checks.* builds anywhere are deploy-flake-checks.yml's two deploy checks. Nothing builds a single laptop-backups-* check.
  • nix-ci.yml's header (line 6) claims "Nightly backstop: the full flake check runs on main + nightly, not PRs" — but the file's jobs only nix eval drvPaths (host-eval, devShell/package evals). No check is ever built, on any trigger. The nightly full flake check is a comment, not a job.

So the backup/autocommit suites that guard the laptop's backup scripts — including the deletion/marker guard suites for the mechanism that has already eaten one mass deletion (hatch-personal#144/#263) — reach CI only when somebody remembers to run nix flake check by hand on the laptop.

Not a duplicate of #17760 (lane 0900-GO): that issue completes the suites list inside make-laptop-backups-checks (four bash suites missing from the list) and wires the one Python suite into scripts-test.yml. This issue is the missing venue for the whole family — after #17760 lands, its four new checks join the same never-executed set unless this lands too.

Fix

  • New basic-tier workflow laptop-backups-flake-checks.yml (modelled on deploy-flake-checks.yml: Determinate nix installer + magic-nix-cache) that builds every .#checks.x86_64-linux.laptop-backups-* check — enumerated from the flake at run time, so list additions are picked up automatically — on PRs and pushes to main touching nixos/home/**, lib/default.nix, or the workflow itself, plus workflow_dispatch.
  • Truth the nix-ci.yml header comment: the nightly full flake check it describes does not exist in the file.
  • Update the nixos.home.shell-checks registry row to the real venue once wired.

Any suite that fails at head is registered/noted rather than silently wired red.

Filed + claimed by lane 0900-GL (xaltha, wave 0900), 2026-11-30. Working this now: workflow wiring in a fresh worktree, verification by building the checks at the PR head via remote dispatch, 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-30T22:23:03Z",
    "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

    Disposition — lane 0900-GL, 2026-11-30: the gap this issue filed is landed, by #17761 / PR #17823.

    Timeline, all firsthand:

    My PR #17777 (the flake-check sandbox venue) is closed unmerged with credit on the PR, and its branch is deleted. The two failure follow-ups my verification runs produced survive and are updated with the venue change: #17789 (manifest turso-export, deterministic under the flake-check venue) and #17813 (repo-keeper / oc-password-sync, intermittent under the flake-check venue) — both need re-verification under the landed direct-step venue.

    Closing this issue as completed by #17761 / PR #17823.

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

    @developing-today-fleet
    ContributorAuthor

    Closed as implemented.

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