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

[rush] Only check for overlapping output folders within operations that will be invoked as part of the same command. #3168

Merged
merged 4 commits into from
Jan 19, 2022

Conversation

iclanton
Copy link
Member

Summary

This issue was found when testing [email protected]. If a rush-project.json has matching lists of folders for build and _phase:build operations, validation will fail. This change checks for overlapping folders only among operations that will be invoked by a single command. For example, if rush build invokes _phase:build and _phase:test, and _phase:build and _phase:lint have overlapping output folders, there is no error because _phase:build and _phase:lint aren't invoked by the same command.

How it was tested

Confirmed #3144 is fixed, and introduced an issue in a phased repo to confirm the expected behavior.

@iclanton iclanton enabled auto-merge January 18, 2022 20:43
@iclanton iclanton disabled auto-merge January 18, 2022 20:43
@iclanton iclanton changed the title Only check for overlapping output folders within operations that will be invoked as part of the same command. [rush] Only check for overlapping output folders within operations that will be invoked as part of the same command. Jan 18, 2022
@iclanton iclanton enabled auto-merge January 18, 2022 20:43
Co-authored-by: Pete Gonzalez <[email protected]>
@iclanton iclanton force-pushed the fix-overlapping-paths-check branch from 05b7edf to 60459eb Compare January 18, 2022 22:33
@iclanton iclanton merged commit 10fdf52 into microsoft:master Jan 19, 2022
@iclanton iclanton deleted the fix-overlapping-paths-check branch January 19, 2022 01:17
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.

2 participants