Skip to content

Garbage collect OCI layout to cleanup non-referenced blobs#740

Merged
jonesbusy merged 1 commit into
oras-project:mainfrom
jonesbusy:feature/orphan-oci-layout
Jun 13, 2026
Merged

Garbage collect OCI layout to cleanup non-referenced blobs#740
jonesbusy merged 1 commit into
oras-project:mainfrom
jonesbusy:feature/orphan-oci-layout

Conversation

@jonesbusy

Copy link
Copy Markdown
Collaborator

Garbage collect OCI layout to cleanup non-referenced blobs

Fixes #263

Description

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

@codecov

codecov Bot commented Jun 13, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 86.95652% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.82%. Comparing base (398da85) to head (9766f11).

Files with missing lines Patch % Lines
src/main/java/land/oras/OCILayout.java 86.95% 3 Missing and 3 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #740      +/-   ##
============================================
+ Coverage     87.25%   87.82%   +0.56%     
- Complexity      985      994       +9     
============================================
  Files            45       45              
  Lines          3068     3113      +45     
  Branches        384      393       +9     
============================================
+ Hits           2677     2734      +57     
+ Misses          233      218      -15     
- Partials        158      161       +3     

☔ View full report in Codecov by Harness.
📢 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/orphan-oci-layout branch from 7e57c48 to 9766f11 Compare June 13, 2026 18:01
@jonesbusy jonesbusy merged commit 299fe89 into oras-project:main Jun 13, 2026
9 checks passed
@jonesbusy jonesbusy deleted the feature/orphan-oci-layout branch June 13, 2026 21:13
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.

Cleanup unreferenced blobs on OCI layout

1 participant