Skip to content

fix GetPodEffectiveDecorations and add ut

Codecov / codecov/project failed Dec 5, 2023 in 0s

58.71% (-0.88%) compared to 29ff994

View this Pull Request on Codecov

58.71% (-0.88%) compared to 29ff994

Details

Codecov Report

Attention: 297 lines in your changes are missing coverage. Please review.

Comparison is base (29ff994) 59.58% compared to head (1ac2135) 58.71%.

❗ Current head 1ac2135 differs from pull request most recent head 9222fce. Consider uploading reports for the commit 9222fce to get more accurate results

Files Patch % Lines
pkg/controllers/utils/poddecoration/anno.go 23.07% 77 Missing and 3 partials ⚠️
...trollers/poddecoration/poddecoration_controller.go 77.27% 30 Missing and 15 partials ⚠️
pkg/controllers/utils/poddecoration/sort.go 0.00% 45 Missing ⚠️
pkg/controllers/utils/poddecoration/getter.go 61.22% 18 Missing and 1 partial ⚠️
...ic/poddecoration/poddecoration_mutating_handler.go 54.76% 19 Missing ⚠️
.../poddecoration/poddecoration_validating_handler.go 21.73% 18 Missing ⚠️
pkg/controllers/collaset/collaset_controller.go 68.00% 12 Missing and 4 partials ⚠️
pkg/controllers/collaset/event_handler.go 0.00% 16 Missing ⚠️
pkg/controllers/poddecoration/revision.go 74.46% 10 Missing and 2 partials ⚠️
pkg/controllers/utils/podopslifecycle/utils.go 0.00% 7 Missing ⚠️
... and 5 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #128      +/-   ##
==========================================
- Coverage   59.58%   58.71%   -0.88%     
==========================================
  Files          46       57      +11     
  Lines        3489     4096     +607     
==========================================
+ Hits         2079     2405     +326     
- Misses       1192     1446     +254     
- Partials      218      245      +27     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.