Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): do not assume workspace inputs cause all projects to be af… #22573

Merged
merged 1 commit into from Apr 2, 2024

Conversation

FrozenPandaz
Copy link
Collaborator

…fected

Current Behavior

When any named input of a project is touched, the project is affected. This happens even if the project has no targets which use that named input. For instance, if a named input for a fileset for e2e targets is touched, all projects even those with no e2e targets, are affected.

Expected Behavior

Affected projects are determined solely by the inputs which are used in their targets. In the example above, touching files in the fileset named for e2e targets will only affect projects with e2e targets.

Related Issue(s)

Fixes #21763

@FrozenPandaz FrozenPandaz requested a review from a team as a code owner March 28, 2024 22:26
Copy link

vercel bot commented Mar 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Mar 28, 2024 10:28pm

@FrozenPandaz FrozenPandaz merged commit 9419bad into nrwl:master Apr 2, 2024
6 checks passed
@FrozenPandaz FrozenPandaz deleted the fix-affected branch April 2, 2024 18:10
FrozenPandaz added a commit that referenced this pull request Apr 2, 2024
Copy link

github-actions bot commented Apr 9, 2024

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nx affected incorrectly considering all packages with workspaceRoot input
2 participants