Skip to content

Conversation

@tomach
Copy link
Contributor

@tomach tomach commented Jan 16, 2026

Summary of changes

Improve the robustness of webhooks by introducing a retry logic with exponential backoff.

Changes:

  • Retries webhook requests on transient HTTP errors (502, 503, 504) and connection failures
  • Limits retries to a fixed number of attempts with exponential backoff
  • Disables retries for health check webhooks, as they are done every minute

Checklist

  • Link to issue this PR refers to: https://github.com/crate/cloud/issues/2818
  • Relevant changes are reflected in CHANGES.rst
  • Added or changed code is covered by tests
  • Documentation has been updated if necessary
  • Changed code does not contain any breaking changes (or this is a major version change)

@tomach tomach marked this pull request as ready for review January 19, 2026 08:36
Copy link
Contributor

@plaharanne plaharanne left a comment

Choose a reason for hiding this comment

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

👍

@tomach tomach merged commit ba0749d into master Jan 20, 2026
15 checks passed
@tomach tomach deleted the ta/webhook-retries branch January 20, 2026 08:11
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