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: simplify track reader manager and messenger use #1474

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

Conversation

TerryHowe
Copy link
Member

@TerryHowe TerryHowe commented Aug 11, 2024

What this PR does / why we need it:

If we just pass the messenger to reader, it will be a lot easier to test these packages.

Partial: #1461
Partial: #1449

Copy link

codecov bot commented Aug 14, 2024

Codecov Report

Attention: Patch coverage is 89.28571% with 9 lines in your changes missing coverage. Please review.

Project coverage is 86.03%. Comparing base (1d60e22) to head (959d140).

Files with missing lines Patch % Lines
cmd/oras/internal/display/status/track/target.go 69.23% 2 Missing and 2 partials ⚠️
cmd/oras/root/blob/fetch.go 62.50% 2 Missing and 1 partial ⚠️
cmd/oras/root/blob/push.go 71.42% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1474      +/-   ##
==========================================
+ Coverage   85.97%   86.03%   +0.05%     
==========================================
  Files         118      119       +1     
  Lines        4228     4274      +46     
==========================================
+ Hits         3635     3677      +42     
- Misses        354      356       +2     
- Partials      239      241       +2     

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

@TerryHowe TerryHowe force-pushed the progress-manager branch 9 times, most recently from b7b0a9a to d2ffbe7 Compare August 16, 2024 21:06
@TerryHowe TerryHowe marked this pull request as draft August 19, 2024 18:10
@TerryHowe TerryHowe force-pushed the progress-manager branch 3 times, most recently from c1f4e72 to 04ede71 Compare September 30, 2024 14:50
@TerryHowe TerryHowe marked this pull request as ready for review September 30, 2024 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant