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] Fix WithReference(Uri) environment variable name to match Service Discovery configuration format #3836

Merged
merged 1 commit into from
Apr 20, 2024

Conversation

github-actions[bot]
Copy link
Contributor

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

Backport of #3835 to release/8.0

/cc @ReubenBond

Customer Impact

This fixes a bug with WithReference(Uri) where the URI will not be picked up by Service Discovery because the env var format changed in a previous release.

Testing

We have a test case to ensure that the env var is as-expected, which was updated by this PR. We have Service Discovery tests which use for this configuration format. We do not have integration tests which use WithReference(Uri) yet.

Risk

If developers are already relying on the (wrong) behavior (manually inspecting env vars/config, not via Service Discovery), this will break them until they update their code to accommodate.

Regression?

Yes

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
@ReubenBond
Copy link
Member

@danmoseley has approved merge. Can I get the requisite 2 (two) sign-offs on this?

@RussKie RussKie enabled auto-merge (squash) April 19, 2024 22:54
@RussKie RussKie merged commit 7849af3 into release/8.0 Apr 20, 2024
7 checks passed
@RussKie RussKie deleted the backport/pr-3835-to-release/8.0 branch April 20, 2024 01:03
@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.

3 participants