Skip to content

Conversation

@shahzadhaider1
Copy link
Contributor

Summary

Adds retry logic with exponential backoff to the Twilio detector by switching from SaneHttpClient to RetryableHTTPClient.

Changes

  • Replace common.SaneHttpClient() with common.RetryableHTTPClient() in the Twilio detector

Behavior

  • Retries up to 3 times on transient failures (429, 5xx, network errors)
  • Exponential backoff between retries

Checklist:

  • Tests passing (make test-community)?
  • Lint passing (make lint this requires golangci-lint)?

@shahzadhaider1 shahzadhaider1 requested a review from a team January 9, 2026 12:55
@shahzadhaider1 shahzadhaider1 requested a review from a team as a code owner January 9, 2026 12:55
Copy link
Contributor

@nabeelalam nabeelalam left a comment

Choose a reason for hiding this comment

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

Short and sweet!

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