Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(progress): generic progress tracking #1524

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

test: add test for status

f8503f9
Select commit
Loading
Failed to load commit list.
Open

refactor(progress): generic progress tracking #1524

test: add test for status
f8503f9
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jan 2, 2025 in 0s

84.16% (target 75.00%)

View this Pull Request on Codecov

84.16% (target 75.00%)

Details

Codecov Report

Attention: Patch coverage is 82.09607% with 41 lines in your changes missing coverage. Please review.

Project coverage is 84.16%. Comparing base (836c497) to head (f8503f9).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
cmd/oras/internal/display/status/track/target.go 48.27% 10 Missing and 5 partials ⚠️
cmd/oras/root/blob/fetch.go 0.00% 4 Missing and 2 partials ⚠️
...md/oras/internal/display/status/progress/status.go 87.50% 5 Missing ⚠️
...oras/internal/display/status/progress/messenger.go 82.60% 3 Missing and 1 partial ⚠️
cmd/oras/root/blob/push.go 20.00% 2 Missing and 2 partials ⚠️
internal/progress/tracker.go 94.28% 3 Missing and 1 partial ⚠️
cmd/oras/internal/display/status/tty.go 90.32% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1524      +/-   ##
==========================================
- Coverage   84.34%   84.16%   -0.19%     
==========================================
  Files         120      121       +1     
  Lines        5449     5557     +108     
==========================================
+ Hits         4596     4677      +81     
- Misses        606      627      +21     
- Partials      247      253       +6     

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