-
Notifications
You must be signed in to change notification settings - Fork 600
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
retry on webhook failures #3678
retry on webhook failures #3678
Conversation
Worked, just retesting for fun and profit |
/test pull-knative-eventing-integration-tests |
return strings.Contains(err.Error(), "eventing-webhook.knative-eventing") | ||
} | ||
|
||
func (c *Client) RetryWebhookErrors(updater func(int) error) error { |
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.
Can we keep this private?
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.
I can, but if this works, I was thinking of hoisting it to pkg so, then it's just a replace here? Makes sense?
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.
@vaikas sounds good to me
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.
The issue seems to be mitigated https://prow.knative.dev/pr-history/?org=knative&repo=eventing&pr=3678 so
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pierDipi, vaikas The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Works around #knative/pkg#1509
Proposed Changes
Release Note
Docs