-
Notifications
You must be signed in to change notification settings - Fork 43
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: add webhook call to other events #612
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #612 +/- ##
==========================================
- Coverage 60.77% 60.68% -0.09%
==========================================
Files 276 277 +1
Lines 22205 22245 +40
==========================================
+ Hits 13494 13500 +6
- Misses 7847 7877 +30
- Partials 864 868 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
e097e56
to
8df6574
Compare
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 @bthari !
Thank you for the review and feedback @tiopramayudi @bayu-aditya! |
Description
Previously on #601 I added webhook for model version endpoint related event, and in here the event will be expanded into a model, model endpoint, model version related event, as we also want to have an action (from other service) to be triggered if these events happen.
Modifications
on-model-version-*
toon-version-endpoint-*
Tests
Checklist
Notes for Reviewer
The version of MLP used here has a validation bug (which is updated on MLP#117). The code could still work with workaround (e.g. set
FinalResponse: true
in one async webhook if user use all async webhook, but it will be confusing for user since async webhook response is expected to not be used anywhere),so preferably to merge this PR after updating the MLP version as dependencies.(MLP version will be updated with the s3 PR)Release Notes