Skip to content

fix: improve handling of local blob media types and descriptor digest updates#585

Merged
jakobmoellerdev merged 5 commits into
open-component-model:mainfrom
jakobmoellerdev:oci-nil-pointer-fix
Aug 18, 2025
Merged

fix: improve handling of local blob media types and descriptor digest updates#585
jakobmoellerdev merged 5 commits into
open-component-model:mainfrom
jakobmoellerdev:oci-nil-pointer-fix

Conversation

@jakobmoellerdev

Copy link
Copy Markdown
Member

What this PR does / why we need it

  • Add fallback logic to derive media type from blob if not specified in local blob access.
  • Ensure descriptor digest is initialized when updating local blob resource for descriptor accuracy.
  • Enhance test coverage for blob media type handling and descriptor updates.

Which issue(s) this PR fixes

relates to findings on testing with #530 causing integratio ntests to fail

… updates

- Add fallback logic to derive media type from blob if not specified in local blob access.
- Ensure descriptor digest is initialized when updating local blob resource for descriptor accuracy.
- Enhance test coverage for blob media type handling and descriptor updates.

Signed-off-by: Jakob Möller <jakob.moeller@sap.com>
@jakobmoellerdev jakobmoellerdev requested a review from a team as a code owner August 18, 2025 13:50
fabianburth
fabianburth previously approved these changes Aug 18, 2025
Signed-off-by: Jakob Möller <jakob.moeller@sap.com>
@jakobmoellerdev jakobmoellerdev enabled auto-merge (squash) August 18, 2025 15:13
@jakobmoellerdev jakobmoellerdev merged commit 240a0b9 into open-component-model:main Aug 18, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants