Skip to content

fix(nix): include .github/TEAM_MEMBERS in fileset#15401

Open
jerome-benoit wants to merge 5 commits intoanomalyco:devfrom
jerome-benoit:fix/nix-team-members-fileset
Open

fix(nix): include .github/TEAM_MEMBERS in fileset#15401
jerome-benoit wants to merge 5 commits intoanomalyco:devfrom
jerome-benoit:fix/nix-team-members-fileset

Conversation

@jerome-benoit
Copy link
Contributor

@jerome-benoit jerome-benoit commented Feb 27, 2026

Issue for this PR

Closes #15400

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

After #15369, packages/script/src/index.ts reads .github/TEAM_MEMBERS at build time. This file wasn't included in nix/node_modules.nix fileset, causing ENOENT during Nix builds.

This PR adds ../.github/TEAM_MEMBERS to the fileset in nix/node_modules.nix.

How did you verify your code works?

nix build now proceeds past the TEAM_MEMBERS file read.

Screenshots / recordings

N/A - not a UI change

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

After anomalyco#15369, the build script reads `.github/TEAM_MEMBERS` at build time,
but this file was not included in the Nix source fileset.

Also add the file to nix-hashes.yml paths trigger so hash regeneration
is triggered when the file changes.

Fixes anomalyco#15400
Copilot AI review requested due to automatic review settings February 27, 2026 21:28
@github-actions github-actions bot added needs:compliance This means the issue will auto-close after 2 hours. contributor labels Feb 27, 2026
@github-actions github-actions bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Feb 27, 2026
@github-actions
Copy link
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a reported Nix build failure (issue #15400) by including .github/TEAM_MEMBERS in the nix/node_modules.nix fileset and adding a path trigger for hash regeneration in the CI workflow.

Changes:

  • Add ../.github/TEAM_MEMBERS to the fileset in nix/node_modules.nix
  • Add .github/TEAM_MEMBERS as a path trigger in .github/workflows/nix-hashes.yml

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
nix/node_modules.nix Adds .github/TEAM_MEMBERS to the source fileset so it is available during the Nix build
.github/workflows/nix-hashes.yml Triggers hash regeneration when .github/TEAM_MEMBERS changes

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

TEAM_MEMBERS is not read during bun install phase, so it doesn't
affect node_modules hash. Only the fileset change is needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nix build fails: ENOENT .github/TEAM_MEMBERS not included in fileset

2 participants