Skip to content

fix(flake): scope a bws-only allowUnfreePredicate for the deploy outputs - #16823

Merged
dezren39 merged 3 commits into
mainfrom
xaltha/16820-deploy-checks-unfree
Nov 29, 2026
Merged

dezren39 merged 3 commits into
mainfrom
xaltha/16820-deploy-checks-unfree

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Closes #16820. make-deploy imported nixpkgs-unstable with the default config, so the deploy package set refused to evaluate anywhere allowUnfree was not already enabled — several registry deploy apps wrap bws (unfree) into their runtime PATH, and evaluating checks.deploy-list forces the whole set. The deploy flake checks workflow failed at eval on CI on unmodified main (run 46272269260), while hosts with allowUnfree configured never saw it. Fix: config.allowUnfreePredicate in make-deploy's import, scoped to bws by pname — the checks validate the identical derivations, and any other unfree package still refuses. Verification: deploy-flake-checks workflow run 46273781188 dispatched on this branch at head dd09e95; merge on green.


Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…pe a bws-only predicate

make-deploy imported nixpkgs-unstable with the default config, so the
deploy package set refused to evaluate anywhere allowUnfree was not
already enabled: several registry deploy apps wrap bws (unfree) into
their runtime PATH, and evaluating checks.deploy-list forces the whole
set. The deploy flake checks workflow therefore failed at eval on CI
on unmodified main (#16820), while hosts with allowUnfree configured
never saw it.

Scope config.allowUnfreePredicate in make-deploy's import to bws by
pname. The checks validate the identical derivations; any other unfree
package in the graph still refuses.

Closes #16820
@coderabbitai

coderabbitai Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5b334955-dd56-4947-960a-f67a97d9f4de

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

…bun-group bump

The dependabot bun-group bump (f3ae225) updated
pm-stack/aggregator/bun.lock without refreshing this derivation's
outputHash, so pm-aggregator-node_modules fails with a hash mismatch
on main — the same drift #16268 fixed last time. The mismatch was
masked for the deploy checks by #16820's eval failure; with eval
fixed, run 46273781188 reached the build and reported the correct
hash, which is the value set here.

Refs #16820
@developing-today-fleet

Copy link
Copy Markdown
Contributor Author

Verification round 1 (run 46273781188 @ dd09e95): evaluation passes with the bws predicate — no unfree refusal; the build proceeded into derivations. It then hit a second defect the eval failure had masked: pm-aggregator-node_modules fixed-output hash mismatch (stale since the dependabot bun-group bump f3ae225 changed bun.lock; same drift as #16268). Round 2 adds commit 41bf995 refreshing outputHash to the build-reported value; re-verification run 46274239107 dispatched at that head. Details on #16820.

Same drift as pm-aggregator, older cause: a deps bump
(717f23d, @types/node) updated pm-stack/projector/bun.lock
without refreshing this outputHash. Masked by #16820's eval
failure; surfaced by verification run 46274239107 once the
aggregator hash was fixed, which reported the correct value set
here.

Refs #16820
@dezren39
dezren39 merged commit c9da7eb into main Nov 29, 2026
2 of 3 checks passed
@dezren39
dezren39 deleted the xaltha/16820-deploy-checks-unfree branch November 29, 2026 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant