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

Automatically retry jobs on Buildkite #3773

Closed
ali-ramadhan opened this issue Sep 9, 2024 · 1 comment
Closed

Automatically retry jobs on Buildkite #3773

ali-ramadhan opened this issue Sep 9, 2024 · 1 comment
Labels
testing 🧪 Tests get priority in case of emergency evacuation

Comments

@ali-ramadhan
Copy link
Member

ali-ramadhan commented Sep 9, 2024

It's common for Buildkite jobs to fail intermittently and require a restart/retry. But so far it seems like we have to manually retry. Does every contributor have the permission to restart a Buildkite job?

Buildkite does support automatic retries. To improve the developer experience it's probably worth enabling automatic retries for jobs?

Happy to modify the Buildkite .yml to add retries!

Buildkite blog post: https://buildkite.com/blog/job-retries
Buildkite docs: https://buildkite.com/docs/pipelines/command-step#retry-attributes

@ali-ramadhan ali-ramadhan added the testing 🧪 Tests get priority in case of emergency evacuation label Sep 9, 2024
@ali-ramadhan
Copy link
Member Author

As of PR #3783 the current config is to retry automatically once, but only if the exit status is 1.

    retry:
      automatic:
        - exit_status: 1      
          limit: 1

So I think this issue has been resolved. Thanks @glwagner!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing 🧪 Tests get priority in case of emergency evacuation
Projects
None yet
Development

No branches or pull requests

1 participant