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

[TokenFetcherCredentials] add backoff and pre-fetching #37531

Conversation

markdroth
Copy link
Member

@markdroth markdroth commented Aug 19, 2024

This adds functionality that is intended to be used for the new GcpServiceAccountIdentityCallCredentials implementation, as per gRFC A83 (grpc/proposal#438). However, it is also a useful improvement for all token-fetching call credentials types, so I am adding it to the base class.

@markdroth markdroth marked this pull request as ready for review August 23, 2024 00:55
markdroth added a commit to markdroth/grpc that referenced this pull request Aug 23, 2024
copybara-service bot pushed a commit that referenced this pull request Aug 24, 2024
The changes in #37531 are causing test failures under run_tests.py (but not bazel), and #37544 was built on top of #37531, so both need to be reverted.

Closes #37567

COPYBARA_INTEGRATE_REVIEW=#37567 from markdroth:call_creds_revert d086e06
PiperOrigin-RevId: 666978406
markdroth added a commit to markdroth/grpc that referenced this pull request Aug 24, 2024
paulosjca pushed a commit to paulosjca/grpc that referenced this pull request Aug 25, 2024
This adds functionality that is intended to be used for the new GcpServiceAccountIdentityCallCredentials implementation, as per gRFC A83 (grpc/proposal#438).  However, it is also a useful improvement for all token-fetching call credentials types, so I am adding it to the base class.

Closes grpc#37531

COPYBARA_INTEGRATE_REVIEW=grpc#37531 from markdroth:token_fetcher_call_creds_prefetch_and_backoff 0fcdb48
PiperOrigin-RevId: 666809903
paulosjca pushed a commit to paulosjca/grpc that referenced this pull request Aug 25, 2024
The changes in grpc#37531 are causing test failures under run_tests.py (but not bazel), and grpc#37544 was built on top of grpc#37531, so both need to be reverted.

Closes grpc#37567

COPYBARA_INTEGRATE_REVIEW=grpc#37567 from markdroth:call_creds_revert d086e06
PiperOrigin-RevId: 666978406
copybara-service bot pushed a commit that referenced this pull request Aug 26, 2024
The first commit is a pure revert of the revert, and the second one has the fix.

Closes #37573

COPYBARA_INTEGRATE_REVIEW=#37573 from markdroth:call_creds_roll_forward 2476329
PiperOrigin-RevId: 667672832
paulosjca pushed a commit to paulosjca/grpc that referenced this pull request Aug 27, 2024
…rpc#37573)

The first commit is a pure revert of the revert, and the second one has the fix.

Closes grpc#37573

COPYBARA_INTEGRATE_REVIEW=grpc#37573 from markdroth:call_creds_roll_forward 2476329
PiperOrigin-RevId: 667672832
eugeneo pushed a commit to eugeneo/grpc that referenced this pull request Aug 28, 2024
This adds functionality that is intended to be used for the new GcpServiceAccountIdentityCallCredentials implementation, as per gRFC A83 (grpc/proposal#438).  However, it is also a useful improvement for all token-fetching call credentials types, so I am adding it to the base class.

Closes grpc#37531

COPYBARA_INTEGRATE_REVIEW=grpc#37531 from markdroth:token_fetcher_call_creds_prefetch_and_backoff 0fcdb48
PiperOrigin-RevId: 666809903
eugeneo pushed a commit to eugeneo/grpc that referenced this pull request Aug 28, 2024
The changes in grpc#37531 are causing test failures under run_tests.py (but not bazel), and grpc#37544 was built on top of grpc#37531, so both need to be reverted.

Closes grpc#37567

COPYBARA_INTEGRATE_REVIEW=grpc#37567 from markdroth:call_creds_revert d086e06
PiperOrigin-RevId: 666978406
eugeneo pushed a commit to eugeneo/grpc that referenced this pull request Aug 28, 2024
…rpc#37573)

The first commit is a pure revert of the revert, and the second one has the fix.

Closes grpc#37573

COPYBARA_INTEGRATE_REVIEW=grpc#37573 from markdroth:call_creds_roll_forward 2476329
PiperOrigin-RevId: 667672832
sourabhsinghs pushed a commit to sourabhsinghs/grpc that referenced this pull request Sep 26, 2024
This adds functionality that is intended to be used for the new GcpServiceAccountIdentityCallCredentials implementation, as per gRFC A83 (grpc/proposal#438).  However, it is also a useful improvement for all token-fetching call credentials types, so I am adding it to the base class.

Closes grpc#37531

COPYBARA_INTEGRATE_REVIEW=grpc#37531 from markdroth:token_fetcher_call_creds_prefetch_and_backoff 0fcdb48
PiperOrigin-RevId: 666809903
sourabhsinghs pushed a commit to sourabhsinghs/grpc that referenced this pull request Sep 26, 2024
The changes in grpc#37531 are causing test failures under run_tests.py (but not bazel), and grpc#37544 was built on top of grpc#37531, so both need to be reverted.

Closes grpc#37567

COPYBARA_INTEGRATE_REVIEW=grpc#37567 from markdroth:call_creds_revert d086e06
PiperOrigin-RevId: 666978406
sourabhsinghs pushed a commit to sourabhsinghs/grpc that referenced this pull request Sep 26, 2024
…rpc#37573)

The first commit is a pure revert of the revert, and the second one has the fix.

Closes grpc#37573

COPYBARA_INTEGRATE_REVIEW=grpc#37573 from markdroth:call_creds_roll_forward 2476329
PiperOrigin-RevId: 667672832
paulosjca pushed a commit to paulosjca/grpc that referenced this pull request Nov 25, 2024
This adds functionality that is intended to be used for the new GcpServiceAccountIdentityCallCredentials implementation, as per gRFC A83 (grpc/proposal#438).  However, it is also a useful improvement for all token-fetching call credentials types, so I am adding it to the base class.

Closes grpc#37531

COPYBARA_INTEGRATE_REVIEW=grpc#37531 from markdroth:token_fetcher_call_creds_prefetch_and_backoff 0fcdb48
PiperOrigin-RevId: 666809903
paulosjca pushed a commit to paulosjca/grpc that referenced this pull request Nov 25, 2024
The changes in grpc#37531 are causing test failures under run_tests.py (but not bazel), and grpc#37544 was built on top of grpc#37531, so both need to be reverted.

Closes grpc#37567

COPYBARA_INTEGRATE_REVIEW=grpc#37567 from markdroth:call_creds_revert d086e06
PiperOrigin-RevId: 666978406
paulosjca pushed a commit to paulosjca/grpc that referenced this pull request Nov 25, 2024
…rpc#37573)

The first commit is a pure revert of the revert, and the second one has the fix.

Closes grpc#37573

COPYBARA_INTEGRATE_REVIEW=grpc#37573 from markdroth:call_creds_roll_forward 2476329
PiperOrigin-RevId: 667672832
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants