fix(api): propagate errors from GetLabel instead of returning nil#1004
Merged
Codecov / codecov/project
failed
Jul 6, 2026 in 0s
9.16% (-1.83%) compared to 60ad0bd
View this Pull Request on Codecov
9.16% (-1.83%) compared to 60ad0bd
Details
Codecov Report
❌ Patch coverage is 0% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 9.16%. Comparing base (60ad0bd) to head (4ef7586).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| pkg/api/label_handler.go | 0.00% | 7 Missing |
| cmd/harbor/root/artifact/label/add.go | 0.00% | 3 Missing |
| cmd/harbor/root/labels/update.go | 0.00% | 3 Missing |
Additional details and impacted files
@@ Coverage Diff @@
## main #1004 +/- ##
=========================================
- Coverage 10.99% 9.16% -1.83%
=========================================
Files 173 321 +148
Lines 8671 16087 +7416
=========================================
+ Hits 953 1475 +522
- Misses 7612 14478 +6866
- Partials 106 134 +28 ☔ View full report in Codecov by Harness.
📢 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