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

Graceful handling of temporary errors #1318

Open
nirs opened this issue Apr 4, 2024 · 0 comments
Open

Graceful handling of temporary errors #1318

nirs opened this issue Apr 4, 2024 · 0 comments
Labels
enhancement New feature or request test Testing related issue

Comments

@nirs
Copy link
Member

nirs commented Apr 4, 2024

Most drenv operations and addons do not handle temporary errors. This can fail a CI build and require a slow retry of the entire command.

We should have a generic retry utility supporting exponential back-off and deadline, and use it on all commands that may have temporary errors.

In current we have multiple implementations of retries, all should be replaced by a generic retry utility.

The retry defaults should be configurable via a local configuration file, to handle environments which are more likely to fail.

@nirs nirs added enhancement New feature or request test Testing related issue labels Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request test Testing related issue
Projects
None yet
Development

No branches or pull requests

1 participant