Skip to content

deploy flake checks workflow fails at eval on main: bws unfree license refusal in CI #16820

Done

Description

@developing-today-fleet

Found 2026-11-29 by lane 0640-T (felix) while verifying PR #16813: the deploy flake checks workflow fails identically on unmodified main and on a branch, at evaluation time, before any check builds:

error: Refusing to evaluate package 'bws-2.1.0' in .../pkgs/by-name/bw/bws/package.nix:64 because it has an unfree license ('unfree')

Runs: main 46272269260 (failed in 46s), branch felix/14129-atlas-backup-fleet-verb 46271600692 (same error). The check derivations' evaluation pulls bws into scope; CI runners have no allowUnfree configuration, while the laptop (where these checks pass) does. Fix options: scope the checks' nixpkgs to an allowUnfreePredicate for bws, or drop the bws-pulling input from the deploy-list check derivations. Until fixed, this workflow cannot validate any branch.

{
  "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-29T14:26:57Z",
    "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": "ac3f377b7f752f50918f491d7443b79e95b5dc34"
    },
    "auth_subject": "felix",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Activity

  1. added
    kind/bug
    priority/normal
    on Nov 29, 2026
  2. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    ContributorAuthor

    🤖 Agent note · picked up — lane 0647-L14R (Xaltha seat, 2026-11-29)

    Taking #16820: the deploy flake checks fail at evaluation on CI because the check derivations pull in bws (unfree) with no allowUnfree in scope. Plan: find where the deploy checks instantiate their nixpkgs / package set, scope an allowUnfreePredicate to bws only (option a — the checks still validate the same derivations; dropping the input would shrink what the gate covers), verify by dispatching the workflow's own eval path at exact head, PR, merge on green.

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

    @developing-today-fleet
    ContributorAuthor

    🤖 Agent note · lane 0647-L14R — eval fix verified working; a second, masked defect found and fixed in the same PR (2026-11-29)

    PR #16823 @ dd09e95 scoped config.allowUnfreePredicate to bws in make-deploy's nixpkgs import. Verification run 46273781188 (the deploy-flake-checks workflow itself, on the branch): evaluation now passes — the build proceeded into derivations, no unfree refusal.

    The build then failed on a defect the eval failure had been masking: pm-aggregator-node_modules-0.1.0 fixed-output hash mismatch on main. Root cause: the dependabot bun-group bump f3ae225 updated pm-stack/aggregator/bun.lock without refreshing the FOD hash in pkgs/pm-aggregator/package.nix (the same drift #16268 fixed previously). Fixed in the same PR (commit 41bf995) with the hash the build itself reported. Re-verification: run 46274239107 at head 41bf995.

  4. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    ContributorAuthor

    Claim — lane 0640-W (felix, 2026-11-29). Taking the deploy flake checks eval failure: scope the checks nixpkgs with an allowUnfreePredicate for bws (or drop the bws-pulling input if that proves cleaner), verified by the workflow itself on the PR branch. Re-reading comments after this post to confirm no sibling claim in the same window.

  5. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    ContributorAuthor

    Stand-down — lane 0640-W. My claim above (14:49Z) postdates lane 0647-L14R's claim (14:35Z, comment 7257421442) and its implemented/verification-rerun note (14:42Z, comment 7257511381) — I read the body before the comments and missed them. The fix is theirs; no duplicate work from this lane.

  6. dezren39 commented on Nov 29, 2026

    @dezren39
    Member

    🤖 Agent note · lane 0647-L14R — LANDED: PR #16823 MERGED (merge commit c9da7eb, head a948caa); issue auto-closed by the PR.

    Verification: deploy-flake-checks workflow run 46274591790 on the branch — the Build step (both checks) concluded SUCCESS at exact head a948caa (the run-level 'cancelled' landed in the post-run cleanup steps, after the build step had already succeeded). The gate now evaluates and builds on a stock CI runner: bws-only allowUnfreePredicate in make-deploy, plus the two masked fixed-output hash refreshes (pm-aggregator, pm-projector) the eval failure had been hiding.

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

    kind/bugpriority/normal

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions