Skip to content

feat: save context between calls#1923

Open
TerryHowe wants to merge 3 commits intooras-project:mainfrom
TerryHowe:feature-save-context-between-calls
Open

feat: save context between calls#1923
TerryHowe wants to merge 3 commits intooras-project:mainfrom
TerryHowe:feature-save-context-between-calls

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.19%. Comparing base (f6efe48) to head (d63287c).
⚠️ Report is 18 commits behind head on main.

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.14%   87.19%   +0.04%     
==========================================
  Files         143      143              
  Lines        5540     5559      +19     
==========================================
+ Hits         4828     4847      +19     
  Misses        425      425              
  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.

@TerryHowe TerryHowe changed the title feature: save context between calls feat: save context between calls Dec 26, 2025
@github-actions
Copy link

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added stale Inactive issues or pull requests and removed stale Inactive issues or pull requests labels Mar 11, 2026
@TerryHowe TerryHowe added this to the v1.4.0 milestone Mar 18, 2026
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