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

Make jwt fetch more reliable #1784

Merged
merged 1 commit into from
Aug 11, 2023
Merged

Conversation

jackkleeman
Copy link
Contributor

Async is useful because it will not block requests with jwt fetches, will not need to jwt fetch per thread Retrying once after a failed fetch is also useful

@jackkleeman jackkleeman requested a review from a team as a code owner August 10, 2023 16:53
@codecov
Copy link

codecov bot commented Aug 10, 2023

Codecov Report

Merging #1784 (a2066a9) into main (f466430) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1784      +/-   ##
==========================================
- Coverage   64.97%   64.95%   -0.02%     
==========================================
  Files          84       84              
  Lines       12207    12209       +2     
==========================================
- Hits         7931     7930       -1     
- Misses       3770     3773       +3     
  Partials      506      506              
Files Changed Coverage Δ
internal/xds/translator/authentication.go 65.33% <100.00%> (+0.23%) ⬆️

... and 1 file with indirect coverage changes

Copy link
Contributor

@arkodg arkodg left a comment

Choose a reason for hiding this comment

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

LGTM thanks !

@arkodg
Copy link
Contributor

arkodg commented Aug 10, 2023

probably blocked on #1601 which fixes some issues in the conformance tests in the newer v0.8.0-rc1 version that was recently added

Async is useful because it will not block requests with jwt fetches, will not need to jwt fetch per thread
Retrying once after a failed fetch is also useful

Signed-off-by: Jack Kleeman <jackkleeman@gmail.com>
@jackkleeman
Copy link
Contributor Author

i cant merge: please go ahead

@arkodg arkodg merged commit 8b52159 into envoyproxy:main Aug 11, 2023
18 checks passed
@jackkleeman jackkleeman deleted the async-jwt-fetch branch August 11, 2023 18:20
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