Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(storage): always cache legacy credentials #10409

Merged

Conversation

coryan
Copy link
Contributor

@coryan coryan commented Dec 8, 2022

I think with all the refactoring we lost caching for legacy storage credentials. Good thing we have not made a release since then, and that it only affected applications that explicitly set the legacy default credentials.

Part of the work for #5915


This change is Reviewable

I think with all the refactoring we lost caching for legacy storage
credentials.  Good thing we have not made a release since then, and
that it only affected applications that explicitly set the legacy
default credentials.
@product-auto-label product-auto-label bot added the api: storage Issues related to the Cloud Storage API. label Dec 8, 2022
@google-cloud-cpp-bot
Copy link
Collaborator

Google Cloud Build Logs
For commit: b7608a0fc4e5aa7aadbc72fc6e7cd9ff45a7802e

ℹ️ NOTE: Kokoro logs are linked from "Details" below.

@codecov
Copy link

codecov bot commented Dec 8, 2022

Codecov Report

Base: 93.85% // Head: 93.84% // Decreases project coverage by -0.00% ⚠️

Coverage data is based on head (b7608a0) compared to base (7036edb).
Patch coverage: 80.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10409      +/-   ##
==========================================
- Coverage   93.85%   93.84%   -0.01%     
==========================================
  Files        1607     1608       +1     
  Lines      145688   145686       -2     
==========================================
- Hits       136738   136726      -12     
- Misses       8950     8960      +10     
Impacted Files Coverage Δ
google/cloud/internal/credentials_impl.h 100.00% <ø> (ø)
...cloud/storage/internal/unified_rest_credentials.cc 73.58% <66.66%> (+2.67%) ⬆️
...ogle/cloud/internal/oauth2_decorate_credentials.cc 100.00% <100.00%> (ø)
google/cloud/internal/unified_rest_credentials.cc 75.00% <100.00%> (-0.93%) ⬇️
...bigtable/examples/bigtable_hello_instance_admin.cc 81.00% <0.00%> (-2.00%) ⬇️
...le/cloud/storage/internal/curl_download_request.cc 88.29% <0.00%> (-1.34%) ⬇️
...cloud/pubsub/internal/subscription_session_test.cc 97.99% <0.00%> (-0.67%) ⬇️
...ud/spanner/integration_tests/client_stress_test.cc 84.21% <0.00%> (-0.66%) ⬇️
google/cloud/completion_queue_test.cc 97.13% <0.00%> (-0.20%) ⬇️
google/cloud/pubsub/samples/samples.cc 90.78% <0.00%> (-0.08%) ⬇️
... and 1 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@coryan coryan marked this pull request as ready for review December 8, 2022 23:30
@coryan coryan requested a review from a team as a code owner December 8, 2022 23:30
@coryan coryan merged commit f601caa into googleapis:main Dec 9, 2022
@coryan coryan deleted the fix-storage-cache-legacy-credentials branch December 9, 2022 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the Cloud Storage API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants