fix: make audit more fault tolerant, log error instead of skipping update#2162
Conversation
…atus update Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2162 +/- ##
==========================================
- Coverage 54.41% 54.38% -0.04%
==========================================
Files 111 111
Lines 9530 9529 -1
==========================================
- Hits 5186 5182 -4
- Misses 3946 3949 +3
Partials 398 398
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
maxsmythe
left a comment
There was a problem hiding this comment.
LGTM
thanks for doing this!
|
I wonder if we should also be working to make it easier to verify that audit is healthy. Maybe Prometheus metrics listing # of audit errors for the last audit run? Could be separate work. |
I will open another issue/PR for this. |
…date (open-policy-agent#2162) fix: make audit more fault tolerant, log error instead of skipping status update Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>
…date (open-policy-agent#2162) fix: make audit more fault tolerant, log error instead of skipping status update Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com> Signed-off-by: davis-haba <davishaba@google.com>
Signed-off-by: Rita Zhang rita.z.zhang@gmail.com
What this PR does / why we need it:
make audit more fault tolerant, log error instead of skipping status update
Which issue(s) this PR fixes (optional, using
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when the PR gets merged):Fixes #2120
Special notes for your reviewer: