Skip to content

Conversation

@Robbie-Microsoft
Copy link
Contributor

@Robbie-Microsoft Robbie-Microsoft commented Apr 23, 2025

The same retry policy was previously being used for all Managed Identity sources and requests.

The retry policy will now be based on the Managed Identity source, and therefore will be per-request.

@Robbie-Microsoft Robbie-Microsoft requested a review from a team as a code owner April 23, 2025 21:18
@Robbie-Microsoft Robbie-Microsoft changed the title Retry policies are now pre request instead of per HttpManager. Retry policies are now per request instead of per HttpManager. Apr 24, 2025
@Robbie-Microsoft Robbie-Microsoft changed the title Retry policies are now per request instead of per HttpManager. Retry policies are now per request instead of per HttpManager Apr 24, 2025
Copy link
Member

@bgavrilMS bgavrilMS left a comment

Choose a reason for hiding this comment

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

LGTM! Great PR. Just one minor comment.

Copy link
Contributor

@gladjohn gladjohn left a comment

Choose a reason for hiding this comment

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

looks good @Robbie-Microsoft, do we have a test with internal retries disabled to verify that exactly one outbound call is made on 5xx.

@Robbie-Microsoft
Copy link
Contributor Author

Robbie-Microsoft commented May 1, 2025

looks good @Robbie-Microsoft, do we have a test with internal retries disabled to verify that exactly one outbound call is made on 5xx.

This functionality already existed, so I modified the existing test to include the updated reference to disableInternalRetries. see here

Copy link
Contributor

@neha-bhargava neha-bhargava left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks

@Robbie-Microsoft Robbie-Microsoft enabled auto-merge (squash) May 2, 2025 00:54
@Robbie-Microsoft Robbie-Microsoft merged commit 487b1ec into main May 2, 2025
7 checks passed
@Robbie-Microsoft Robbie-Microsoft deleted the rginsburg_retry_policy_per_request branch May 2, 2025 17:53
@Robbie-Microsoft Robbie-Microsoft restored the rginsburg_retry_policy_per_request branch May 2, 2025 22:21
@Robbie-Microsoft Robbie-Microsoft deleted the rginsburg_retry_policy_per_request branch May 2, 2025 23:02
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.

5 participants