Skip to content

Conversation

eerhardt
Copy link
Member

@eerhardt eerhardt commented Apr 8, 2025

Backport of #8639 to release/9.2

/cc @eerhardt

Customer Impact

We don't want users calling AddAzureContainerAppsInfrastructure anymore. They should be using AddAzureContainerAppEnvironment instead. The reason we want to push them to AddAzureContainerAppEnvironment is so we aren't "half in" azd infrastructure and half Aspire infrastructure.

There was also a bug exposed with tests in how we were naming volumes. Found by switching our tests from AddAzureContainerAppsInfrastructure to AddAzureContainerAppEnvironment.

Testing

Existing tests

Risk

Low

Regression?

No

* Obsolete AddAzureContainerAppsInfrastructure

This method is no longer meant to be used. Instead developers should be calling AddAzureContainerAppEnvironment.

Covert the tests using this API to the new API

* Fix volume output naming issue

We weren't discriminating between volumes and bindmounts, which caused a cache collision.

* Switch the prefix at the beginning
@Copilot Copilot AI review requested due to automatic review settings April 8, 2025 18:21
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 15 out of 15 changed files in this pull request and generated no comments.

@github-actions github-actions bot added the area-integrations Issues pertaining to Aspire Integrations packages label Apr 8, 2025
@eerhardt eerhardt added the Servicing-consider Issue for next servicing release review label Apr 8, 2025
@eerhardt eerhardt added this to the 9.2 milestone Apr 8, 2025
@danmoseley danmoseley added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Apr 8, 2025
@eerhardt
Copy link
Member Author

eerhardt commented Apr 8, 2025

@danmoseley @joperezr @mitchdenny - I need 1 more reviewer to sign off here. I can't myself since I had to open the PR not using the backport bot since there were merge conflicts.

@danmoseley danmoseley merged commit b89a539 into dotnet:release/9.2 Apr 8, 2025
175 checks passed
@eerhardt eerhardt deleted the Port8639 branch April 9, 2025 22:16
@github-actions github-actions bot locked and limited conversation to collaborators May 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-integrations Issues pertaining to Aspire Integrations packages Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants