Skip to content

Fix index serialization when adding manifests#615

Merged
jonesbusy merged 1 commit intooras-project:mainfrom
jonesbusy:feature/index-serialization
Mar 4, 2026
Merged

Fix index serialization when adding manifests#615
jonesbusy merged 1 commit intooras-project:mainfrom
jonesbusy:feature/index-serialization

Conversation

@jonesbusy
Copy link
Collaborator

Description

Artifact type was wrongly copied when adding or removing manifests

Added assertion to prevent this issue

Found while debugging #610

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>
@jonesbusy jonesbusy added the bug Something isn't working label Mar 4, 2026
@codecov
Copy link

codecov bot commented Mar 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.92%. Comparing base (395122f) to head (2b1fd13).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #615      +/-   ##
============================================
+ Coverage     87.26%   87.92%   +0.65%     
  Complexity      846      846              
============================================
  Files            42       42              
  Lines          2553     2551       -2     
  Branches        317      317              
============================================
+ Hits           2228     2243      +15     
+ Misses          202      185      -17     
  Partials        123      123              

☔ 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 merged commit a64d114 into oras-project:main Mar 4, 2026
8 checks passed
@jonesbusy jonesbusy deleted the feature/index-serialization branch March 4, 2026 08:40
@jonesbusy jonesbusy changed the title Fix index serilization when adding manifests Fix index serialization when adding manifests Mar 4, 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