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/patch succeeded Jan 2, 2025 in 0s

82.09% of diff hit (target 80.00%)

View this Pull Request on Codecov

82.09% of diff hit (target 80.00%)

Annotations

Check warning on line 37 in cmd/oras/internal/display/status/progress/messenger.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/status/progress/messenger.go#L35-L37

Added lines #L35 - L37 were not covered by tests

Check warning on line 99 in cmd/oras/internal/display/status/progress/status.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/status/progress/status.go#L95-L99

Added lines #L95 - L99 were not covered by tests

Check warning on line 83 in cmd/oras/internal/display/status/track/target.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/status/track/target.go#L82-L83

Added lines #L82 - L83 were not covered by tests

Check warning on line 89 in cmd/oras/internal/display/status/track/target.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/status/track/target.go#L88-L89

Added lines #L88 - L89 were not covered by tests

Check warning on line 105 in cmd/oras/internal/display/status/track/target.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/status/track/target.go#L104-L105

Added lines #L104 - L105 were not covered by tests

Check warning on line 123 in cmd/oras/internal/display/status/track/target.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/status/track/target.go#L122-L123

Added lines #L122 - L123 were not covered by tests

Check warning on line 129 in cmd/oras/internal/display/status/track/target.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/status/track/target.go#L128-L129

Added lines #L128 - L129 were not covered by tests

Check warning on line 136 in cmd/oras/internal/display/status/tty.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/status/tty.go#L136

Added line #L136 was not covered by tests

Check warning on line 141 in cmd/oras/internal/display/status/tty.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/status/tty.go#L141

Added line #L141 was not covered by tests

Check warning on line 217 in cmd/oras/internal/display/status/tty.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/status/tty.go#L217

Added line #L217 was not covered by tests

Check warning on line 182 in cmd/oras/root/blob/fetch.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/root/blob/fetch.go#L181-L182

Added lines #L181 - L182 were not covered by tests

Check warning on line 188 in cmd/oras/root/blob/fetch.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/root/blob/fetch.go#L187-L188

Added lines #L187 - L188 were not covered by tests

Check warning on line 173 in cmd/oras/root/blob/push.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/root/blob/push.go#L172-L173

Added lines #L172 - L173 were not covered by tests

Check warning on line 163 in internal/progress/tracker.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/progress/tracker.go#L161-L163

Added lines #L161 - L163 were not covered by tests