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] Remove node tar fallback #3653

Merged
merged 1 commit into from
Sep 27, 2022

Conversation

dmichon-msft
Copy link
Contributor

@dmichon-msft dmichon-msft commented Sep 26, 2022

Summary

Fallback to the node implementation of tar in practice seems to only occur when the tarball is invalid, unless the tar is not on PATH. This results in restoring from corrupt cache entries and producing an invalid build result.

This PR removes the fallback to node tar.

Fixes #3454
Fixes #2827

Details

Completely disables fallback path to node implementation of tar. Updates logged warning to suggest ensuring that tar is on PATH or setting RUSH_TAR_EXECUTABLE_PATH to point to tar in the event that the binary cannot be found.

How it was tested

This is the normal state for most builds.

@dmichon-msft dmichon-msft merged commit 91e0a94 into microsoft:main Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants