-
Notifications
You must be signed in to change notification settings - Fork 779
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: 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 Report
@@ 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.
Continue to review full report at Codecov.
|
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 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: