Expand singleflight boundary in ValidatingCache.Get to cover full hit+check and miss+load path #4798
+224
−125
Codecov / codecov/project
succeeded
Apr 15, 2026 in 0s
69.12% (+0.06%) compared to 2fd2d3b
View this Pull Request on Codecov
69.12% (+0.06%) compared to 2fd2d3b
Details
Codecov Report
❌ Patch coverage is 87.50000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 69.12%. Comparing base (2fd2d3b) to head (fce4382).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| pkg/cache/validating_cache.go | 87.50% | 2 Missing and 1 partial |
Additional details and impacted files
@@ Coverage Diff @@
## main #4798 +/- ##
==========================================
+ Coverage 69.05% 69.12% +0.06%
==========================================
Files 530 530
Lines 55343 55354 +11
==========================================
+ Hits 38219 38265 +46
+ Misses 14193 14166 -27
+ Partials 2931 2923 -8 ☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Loading