feat(reporting): Separate partial download and partial email#15356
feat(reporting): Separate partial download and partial email#15356
Conversation
|
Skipping CI for Draft Pull Request. |
|
Images are ready for the commit at 474db4a. To use with deploy scripts, first |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #15356 +/- ##
==========================================
- Coverage 49.25% 48.64% -0.61%
==========================================
Files 2581 2581
Lines 189381 189470 +89
==========================================
- Hits 93275 92174 -1101
- Misses 88758 90086 +1328
+ Partials 7348 7210 -138
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:
|
6da877f to
4b0c8a3
Compare
2eb94bc to
44e7b25
Compare
3f62977 to
d3bdd09
Compare
da1e563 to
3cd067b
Compare
d3bdd09 to
024867e
Compare
3cd067b to
e594d38
Compare
024867e to
dfd2833
Compare
c09d16f to
e6683e1
Compare
dfd2833 to
044d0d4
Compare
e6683e1 to
d477e99
Compare
1c4c448 to
0c3571a
Compare
0c3571a to
cd51e13
Compare
|
/retest |
vikin91
left a comment
There was a problem hiding this comment.
Looks good!
I am just curious why we need to distinguish those two? I thought that partial error and notification method are two orthogonal aspects.
Next question: If we have those two new types, when would we use the original ComplianceOperatorReportStatus_PARTIAL_ERROR and when PARTIAL_SCAN_ERROR_DOWNLOAD or PARTIAL_SCAN_ERROR_EMAIL?
central/complianceoperator/v2/report/manager/generator/report_gen_impl.go
Outdated
Show resolved
Hide resolved
It was a UI request. I'm assuming to make things easier there.
We do not use |
|
@lvalerom: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Description
This PR separates the
PARTIAL_ERRORstate intoPARTIAL_SCAN_ERROR_EMAILandPARTIAL_SCAN_ERROR_DOWNLOADUser-facing documentation
Testing and quality
Automated testing
How I validated my change
PARTIAL_ERROR