Skip to content

fix: cherry-pick cp mount credential check to release-1.3#1991

Merged
TerryHowe merged 2 commits into
oras-project:release-1.3from
TerryHowe:cherry-pick/cp-mount-fix
Mar 8, 2026
Merged

fix: cherry-pick cp mount credential check to release-1.3#1991
TerryHowe merged 2 commits into
oras-project:release-1.3from
TerryHowe:cherry-pick/cp-mount-fix

Conversation

@TerryHowe

Copy link
Copy Markdown
Member

Summary

Cherry-pick of #1903 (commit a7f401f) to the release-1.3 branch.

Original PR: #1903

This fix ensures that oras cp does not attempt to mount blobs when the source and destination credentials are different, which would cause mount failures.

@codecov

codecov Bot commented Mar 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.25%. Comparing base (dfafb4b) to head (2cf5940).
⚠️ Report is 1 commits behind head on release-1.3.

Additional details and impacted files
@@               Coverage Diff               @@
##           release-1.3    #1991      +/-   ##
===============================================
+ Coverage        87.21%   87.25%   +0.04%     
===============================================
  Files              143      143              
  Lines             5528     5539      +11     
===============================================
+ Hits              4821     4833      +12     
+ Misses             420      419       -1     
  Partials           287      287              

☔ 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.

@sabre1041 sabre1041 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@TerryHowe TerryHowe merged commit 0318f98 into oras-project:release-1.3 Mar 8, 2026
5 checks passed
@TerryHowe TerryHowe deleted the cherry-pick/cp-mount-fix branch March 8, 2026 11:46
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.

3 participants