Skip to content

tools: add workflow to compare Nix changes#64410

Open
aduh95 wants to merge 3 commits into
nodejs:mainfrom
aduh95:nix-auto-review-derivation-diff
Open

tools: add workflow to compare Nix changes#64410
aduh95 wants to merge 3 commits into
nodejs:mainfrom
aduh95:nix-auto-review-derivation-diff

Conversation

@aduh95

@aduh95 aduh95 commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

If a change breaks e.g. the benchmark workflow, it might be not obvious to detect as we typically do not run any benchmark when bumping the nixpkgs pin.
The added workflows will verify that all derivations can be built on all platforms, and report the list of changes by commenting on the PR.

I'm also moving the lint-nix job, so it no longer runs on PRs that do not touch Nix changes.

I've tested this with aduh95#44

If a change breaks e.g. the benchmark workflow, it might be not obvious
to detect as we typically do not run any benchmark when bumping the
nixpkgs pin.
The added workflows will verify that all derivations can be built on all
platforms, and report the list of changes.

Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/actions

@nodejs-github-bot nodejs-github-bot added the meta Issues and PRs related to the general management of the project. label Jul 10, 2026
@aduh95 aduh95 requested a review from panva July 10, 2026 15:00
@aduh95 aduh95 added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue Add this label to land a pull request using GitHub Actions. labels Jul 10, 2026
aduh95 added 2 commits July 11, 2026 12:11
Do not attempt to add comment on non-PR runs, i.e. when pushing to
`main`.
@nodejs-github-bot nodejs-github-bot added commit-queue-failed An error occurred while landing this pull request using GitHub Actions. and removed commit-queue Add this label to land a pull request using GitHub Actions. labels Jul 12, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator
Commit Queue failed
- Loading data for nodejs/node/pull/64410
✔  Done loading data for nodejs/node/pull/64410
----------------------------------- PR info ------------------------------------
Title      tools: add workflow to compare Nix changes (#64410)
   ⚠  Could not retrieve the email or name of the PR author's from user's GitHub profile!
Branch     aduh95:nix-auto-review-derivation-diff -> nodejs:main
Labels     meta, author ready
Commits    3
 - tools: add workflow to compare Nix changes
 - fixup! tools: add workflow to compare Nix changes
 - fixup! tools: add workflow to compare Nix changes
Committers 1
 - Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/64410
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day>
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/64410
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day>
--------------------------------------------------------------------------------
   ⚠  Commits were pushed since the last approving review:
   ⚠  - tools: add workflow to compare Nix changes
   ⚠  - fixup! tools: add workflow to compare Nix changes
   ⚠  - fixup! tools: add workflow to compare Nix changes
   ℹ  This PR was created on Fri, 10 Jul 2026 14:25:34 GMT
   ✔  Approvals: 3
   ✔  - Yagiz Nizipli (@anonrig) (TSC): https://github.com/nodejs/node/pull/64410#pullrequestreview-4672506295
   ✔  - Filip Skokan (@panva) (TSC): https://github.com/nodejs/node/pull/64410#pullrequestreview-4672864457
   ✔  - Gürgün Dayıoğlu (@gurgunday): https://github.com/nodejs/node/pull/64410#pullrequestreview-4672865845
   ✔  Last GitHub CI successful
   ℹ  Green GitHub CI is sufficient
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/29196706711

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue-failed An error occurred while landing this pull request using GitHub Actions. meta Issues and PRs related to the general management of the project.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants