Skip to content

fix: avoid new error creation

27bfaa7
Select commit
Loading
Failed to load commit list.
Open

refac: artifact list command with errors package #780

fix: avoid new error creation
27bfaa7
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Apr 7, 2026 in 0s

8.61% (-2.38%) compared to 60ad0bd

View this Pull Request on Codecov

8.61% (-2.38%) compared to 60ad0bd

Details

Codecov Report

❌ Patch coverage is 65.26316% with 66 lines in your changes missing coverage. Please review.
✅ Project coverage is 8.61%. Comparing base (60ad0bd) to head (27bfaa7).
⚠️ Report is 123 commits behind head on main.

Files with missing lines Patch % Lines
pkg/utils/config.go 10.52% 17 Missing ⚠️
pkg/utils/encryption.go 5.88% 16 Missing ⚠️
pkg/errors/utils.go 48.27% 12 Missing and 3 partials ⚠️
pkg/errors/errors.go 93.63% 5 Missing and 2 partials ⚠️
cmd/harbor/root/artifact/list.go 0.00% 6 Missing ⚠️
pkg/utils/client.go 40.00% 3 Missing ⚠️
pkg/prompt/prompt.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             main    #780      +/-   ##
=========================================
- Coverage   10.99%   8.61%   -2.38%     
=========================================
  Files         173     271      +98     
  Lines        8671   13294    +4623     
=========================================
+ Hits          953    1145     +192     
- Misses       7612   12031    +4419     
- Partials      106     118      +12     

☔ 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.