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-lib] Set default max install attempts to 1 #3495

Merged
merged 2 commits into from
Jun 27, 2022
Merged

[rush-lib] Set default max install attempts to 1 #3495

merged 2 commits into from
Jun 27, 2022

Conversation

dbartholomae
Copy link
Contributor

Summary

Right now, rush update by default retries 3 times before failing. That is problematic, as most of the time it fails, it fails for a good reason that won't go away when retrying (e.g. missing peerDeps or mismatching versions).

Fixes #3482

Details

I reduced the max install attempts to 1.

How it was tested

There's a snapshot test that changed.

Nowadays, most of the time when an install fails, it is due to a reason that won't be solved by just rerunning, but needs to be fixed by the dev.
@iclanton iclanton merged commit 5fd4f28 into microsoft:main Jun 27, 2022
octogonz pushed a commit to octogonz/rushstack that referenced this pull request Jul 5, 2022
…nstall-attempts_to_1

[rush-lib] Set default max install attempts to 1
chengcyber pushed a commit to chengcyber/rushstack that referenced this pull request Jul 20, 2022
…nstall-attempts_to_1

[rush-lib] Set default max install attempts to 1
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.

[rush] Set default max-install-attempts to 1
2 participants