Ensure to pass resolved target registries for pushArtifact by jonesbusy · Pull Request #566 · oras-project/oras-java

@jonesbusy

Ensure to pass resolved target registries for pushArtifact

Description

Should resolve #565

Avoid constant probing and rewrite of ref

Testing done

CI

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

Signed-off-by: Valentin Delaye <jonesbusy@users.noreply.github.com>

@codecov

Codecov Report

❌ Patch coverage is 93.33333% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 88.71%. Comparing base (13a0456) to head (0d92f0c).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/main/java/land/oras/Manifest.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #566      +/-   ##
============================================
+ Coverage     87.91%   88.71%   +0.80%     
- Complexity      800      802       +2     
============================================
  Files            42       42              
  Lines          2374     2383       +9     
  Branches        292      292              
============================================
+ Hits           2087     2114      +27     
+ Misses          175      156      -19     
- Partials        112      113       +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.

@jonesbusy jonesbusy deleted the feature/optimize-push-artifact branch

February 18, 2026 17:33