Closed frgfm closed 1 month ago
Attention: Patch coverage is 82.85714%
with 12 lines
in your changes missing coverage. Please review.
Project coverage is 86.19%. Comparing base (
92b9e28
) to head (bd58f3d
). Report is 2 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
src/app/api/dependencies.py | 53.33% | 7 Missing :warning: |
src/app/api/api_v1/endpoints/detections.py | 44.44% | 5 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR adds a small webhook table, and used when detection are created as background tasks. I made webhooks editable only by admins, and they post the detection payload for now. We'll be able to edit what gets sent upon dispatch later if needed
Here is the new UML: