Skip to content

Concurrency for layer pull and push#629

Merged
jonesbusy merged 1 commit intooras-project:mainfrom
jonesbusy:feature/push-pull-blobs-concurrent
Mar 8, 2026
Merged

Concurrency for layer pull and push#629
jonesbusy merged 1 commit intooras-project:mainfrom
jonesbusy:feature/push-pull-blobs-concurrent

Conversation

@jonesbusy
Copy link
Collaborator

@jonesbusy jonesbusy commented Mar 7, 2026

Description

Delegate pull/push layer to a dedicated Executor service with given parallelism.

Would improve performance for artifact of multiple layer or when copying from one Registry to an other

Testing done

Automated tests.

Will run more interactive tests using SNAPSHOT on main branch

Submitter checklist

  • I have read and understood the CONTRIBUTING guide
  • I have run mvn license:update-file-header, mvn spotless:apply, pre-commit run -a, mvn clean install before opening the PR

@jonesbusy jonesbusy force-pushed the feature/push-pull-blobs-concurrent branch 2 times, most recently from e7081ce to 98d2124 Compare March 8, 2026 16:08
@codecov
Copy link

codecov bot commented Mar 8, 2026

Codecov Report

❌ Patch coverage is 85.98131% with 15 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.34%. Comparing base (79f879c) to head (149f41e).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/main/java/land/oras/Registry.java 80.00% 5 Missing and 4 partials ⚠️
src/main/java/land/oras/OCI.java 87.23% 4 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #629      +/-   ##
============================================
+ Coverage     86.73%   87.34%   +0.60%     
- Complexity      902      914      +12     
============================================
  Files            43       43              
  Lines          2752     2773      +21     
  Branches        351      347       -4     
============================================
+ Hits           2387     2422      +35     
+ Misses          217      202      -15     
- Partials        148      149       +1     

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

Signed-off-by: Valentin Delaye <jonesbusy@users.noreply.github.com>
@jonesbusy jonesbusy force-pushed the feature/push-pull-blobs-concurrent branch from 98d2124 to 149f41e Compare March 8, 2026 16:23
@jonesbusy jonesbusy changed the title Concurrency Concurrency for layer pull and push Mar 8, 2026
@jonesbusy jonesbusy added the enhancement New feature or request label Mar 8, 2026
@jonesbusy jonesbusy marked this pull request as ready for review March 8, 2026 17:52
@jonesbusy jonesbusy merged commit 4256b60 into oras-project:main Mar 8, 2026
8 checks passed
@jonesbusy jonesbusy deleted the feature/push-pull-blobs-concurrent branch March 8, 2026 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant