Skip to content

Avoid HEAD request before getting blobs#525

Merged
jonesbusy merged 1 commit intooras-project:mainfrom
jonesbusy:feature/avoid-head-blob-before-fetch
Feb 7, 2026
Merged

Avoid HEAD request before getting blobs#525
jonesbusy merged 1 commit intooras-project:mainfrom
jonesbusy:feature/avoid-head-blob-before-fetch

Conversation

@jonesbusy
Copy link
Collaborator

Description

Reduce HTTP request when getting blobs

Also some registries like ECR doesn't support well HEAD #522 (comment)

Testing done

mvn clean install

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

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

codecov bot commented Feb 7, 2026

Codecov Report

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

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #525      +/-   ##
============================================
+ Coverage     87.54%   88.70%   +1.15%     
  Complexity      663      663              
============================================
  Files            39       39              
  Lines          2024     2018       -6     
  Branches        231      231              
============================================
+ Hits           1772     1790      +18     
+ Misses          160      139      -21     
+ Partials         92       89       -3     

☔ 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 added the chore label Feb 7, 2026
@jonesbusy jonesbusy merged commit f571253 into oras-project:main Feb 7, 2026
8 checks passed
@jonesbusy jonesbusy deleted the feature/avoid-head-blob-before-fetch branch February 7, 2026 07:28
@jonesbusy jonesbusy added bug Something isn't working and removed chore labels Feb 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant