Excluding non-atomized targets in CI when atomized target exists #28406
minijus
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Illustrating this feature request/issue by example:
test
.test-atomized
target.This scenario is troublesome, because:
nx affected
will create tasks for fortest
andtest-atomized
targets. When on CI atomized target would be preferred (there is no way today to configure that atomized target is preferred).test-local
). But this is not great DX, developers have to be aware that some projects can be run withtest
and others withtest-local
.Proposal for this feature request is to introduce a way to configure preference of exclusion (or priority) when multiple targets for the same executor are passed into
affected
/run-many
.If atomized targets could be configurable via
configuration
, it could look just like this:If atomized targets are still defined by separate targets (e.g.
test-atomized
):Beta Was this translation helpful? Give feedback.
All reactions