Skip to content

389348 - handle 429 webhook responses

  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

What does this MR do and why?

Related to #389348

The code changes introduce a new feature to handle web hook failures.

It introduces a backoff mechanism to prevent retrying requests too frequently when the web hook URL responds with a "too many requests" error. Additionally, it honors the Retry-After header in the 429 response when determining how long to wait before retrying.

These changes improve the reliability and efficiency of web hook event resending.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by 🤖 GitLab Bot 🤖

Merge request reports