Compute digest index and avoid `Docker-Content-Digest` when missing by jonesbusy · Pull Request #516 · oras-project/oras-java

@jonesbusy

Should fix #514

Description

Compute digest index and avoid rely on Docker-Content-Digest

Testing done

Implemented IT tests with public.ecr.aws

Submitter checklist

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

@codecov

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.34%. Comparing base (8417070) to head (620c709).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #516      +/-   ##
============================================
+ Coverage     87.29%   88.34%   +1.04%     
- Complexity      654      658       +4     
============================================
  Files            39       39              
  Lines          2007     2016       +9     
  Branches        227      229       +2     
============================================
+ Hits           1752     1781      +29     
+ Misses          162      143      -19     
+ Partials         93       92       -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

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

@jonesbusy jonesbusy changed the title Compute digest index and avoid rely on Docker-Content-Digest when missing Compute digest index and avoid Docker-Content-Digest when missing

Feb 4, 2026