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(recipes): Handle errors during package installs #23175

Merged
merged 1 commit into from
Apr 16, 2020

Conversation

johno
Copy link
Contributor

@johno johno commented Apr 16, 2020

No description provided.

@johno johno requested a review from a team as a code owner April 16, 2020 13:54
Copy link
Contributor

@KyleAMathews KyleAMathews left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

Sounds good. For now this will just stop the run correct? In the future we might support retries or other ways of recovering (directed by the user)

@KyleAMathews KyleAMathews merged commit 503be2c into add-recipes Apr 16, 2020
@delete-merged-branch delete-merged-branch bot deleted the recipes-install-error-handling branch April 16, 2020 13:57
@johno
Copy link
Contributor Author

johno commented Apr 16, 2020

Yeah, for now it will just stop the run. This'll most likely be hit on postinstall hooks and poor network connections. For that latter I'm not sure if we want to layer additional retries over npm/yarn themselves? 🤷‍♂️

Suppose it wouldn't hurt because other resources will certainly require some sort of retry mechanism.

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