-
Notifications
You must be signed in to change notification settings - Fork 35
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
fix: add retryTask for all exceptions #3752
Conversation
Version
There are 0 BREAKING CHANGE, 0 feature, 2 fixes |
Codecov Report
@@ Coverage Diff @@
## develop #3752 +/- ##
==========================================
Coverage 27.31% 27.32%
- Complexity 10757 10758 +1
==========================================
Files 920 920
Lines 32073 32082 +9
==========================================
+ Hits 8762 8767 +5
- Misses 23311 23315 +4
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Hey, can we also fix PHP CS mentioned on CIs? |
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.
Please fix a CI CS warning
@@ -39,6 +39,7 @@ public function linkTaskToQueue($queueName); | |||
/** |
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.
public const SERVICE_ID = 'tao/webhookTaskService';
add constant visibility keyword on line 30
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 looks alright-ish, but potentially dangerous.
Can a more specific exception be added instead to cover the case you're trying to here? If not, consider this approved once the CI is back to green again.
For some cases related to remote publications, webhook can be failed because delivery is not ready yet.
We can manage all those retries using
retryMax
option in the webhookRegistry.conf.php if it will be needed.We need also backport it to v51.0.3