-
Notifications
You must be signed in to change notification settings - Fork 739
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
feat: Webhook retries #1541
feat: Webhook retries #1541
Conversation
d717e87
to
4a36533
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1541 +/- ##
==========================================
+ Coverage 55.03% 55.04% +0.01%
==========================================
Files 85 85
Lines 10355 10358 +3
==========================================
+ Hits 5699 5702 +3
Misses 3994 3994
Partials 662 662 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @Kwasniewski 🥇
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this also needs some new docs in docs/gitbook/usage/webhooks.md
hey @Kwasniewski, we were hoping to get this out in the next release which is planned for next week, so it'd be great if you could finish the few remaining bits and get this over the line! no pressure tho :) |
Add a new field `.spec.webhooks[].retries` to specify the number of retries when calling a webhook. Signed-off-by: Joseph Kwasniewski <[email protected]>
d5f4bb5
to
ad8e7d6
Compare
Sorry about looking at this slowly, I was away for a bit. The changes look great you put in place! Let me know if there are any other changes you want in place. |
Adding in configurable retries to all webhooks.
This is helpful in our use-case where webhooks can fail several times, but would prefer not to increment the canary iteration failure count.