Skip to content

Conversation

@TerryHowe
Copy link
Member

@TerryHowe TerryHowe commented Dec 6, 2025

What this PR does / why we need it:

This change saves authentication cache between calls so ORAS go scripting will auth once for most usages.

I created a test application to functional test this and it only authenticates the once.

Signed-off-by: Terry Howe <terrylhowe@gmail.com>
@codecov
Copy link

codecov bot commented Dec 6, 2025

Codecov Report

❌ Patch coverage is 80.00000% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.30%. Comparing base (f272ba7) to head (343c972).

Files with missing lines Patch % Lines
cmd/oras/internal/option/remote.go 80.00% 4 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1923   +/-   ##
=======================================
  Coverage   87.29%   87.30%           
=======================================
  Files         143      143           
  Lines        5535     5554   +19     
=======================================
+ Hits         4832     4849   +17     
- Misses        417      419    +2     
  Partials      286      286           

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

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.

1 participant