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

[release/8.0] Testing: Do not configure HttpClient resilience by default #3846

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Apr 19, 2024

Backport of #3845 to release/8.0

/cc @ReubenBond

Customer Impact

This affects customers using the Aspire.Hosting.Testing package. Without this change, HttpClient instances resolved from the test host's service provider will have resiliency enabled by default. This PR removes that because resilience is not straightforward to configure after it has been added today (there is an issue tracking this on dotnet/extensions. See the original PR)

Testing

We have existing automated tests which exercise this code-path, but they do not test the presence or absence of resilience specifically.

Risk

Very small: users can always add this functionality back themselves with a one-liner. The default behavior is acceptable

Regression?

No

Microsoft Reviewers: Open in CodeFlow

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication label Apr 19, 2024
@dotnet-policy-service dotnet-policy-service bot added the Servicing-consider Issue for next servicing release review label Apr 19, 2024
@danmoseley danmoseley added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Apr 19, 2024
@RussKie RussKie merged commit 25c0989 into release/8.0 Apr 19, 2024
7 checks passed
@RussKie RussKie deleted the backport/pr-3845-to-release/8.0 branch April 19, 2024 22:54
@github-actions github-actions bot locked and limited conversation to collaborators May 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants