Skip to content

feat: add support for RetryStrategy #113

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

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

clample
Copy link
Contributor

@clample clample commented Aug 30, 2023

Affected Components

  • New Features
  • Bug Fixing
  • Types
  • Tests
  • Docs
  • Other

Style

  • Go code is formatted with go fmt

Notes for the Reviewer

This PR adds support for retry strategies to checks and check groups.

  • double check is marked as deprecated, since it will be replaced by retry strategies
  • We store a *RetryStrategy rather than a RetryStrategy. This makes it possible to have nil as the retry strategy. I haven't written much Go, so let me know if there's a more idiomatic way to do this. We already do the same for BasicAuth in Request.

Copy link
Contributor

@Antoine-C Antoine-C left a comment

Choose a reason for hiding this comment

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

I'm approving it to unblock you but can't answer for the pointers thing. Maybe @danielpaulus can check this?

@clample clample requested a review from umutuzgur August 30, 2023 12:05
Copy link
Member

@umutuzgur umutuzgur left a comment

Choose a reason for hiding this comment

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

LGTM

@clample clample merged commit fde743b into main Aug 30, 2023
@clample clample deleted the chrislample/add-retry-strategy-support branch August 30, 2023 12:36
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.

3 participants