-
Notifications
You must be signed in to change notification settings - Fork 720
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
When upgrading various Aspire packages from 9.2.1 to 9.3.0, Azure storage and cosmos DB containers and entities show as "unknown" in the dashboard.
Expected Behavior
I expected the dashboard to show the containers and entities as "Running"
Steps To Reproduce
My AppHost is targeting 9.2.1 for the following packages...
- Aspire.Hosting.AppHost
- Aspire.Hosting.Azure.CosmosDB
- Aspire.Hosting.Azure.Storage
When I run my app, I see all containers running in the dashboard.
Reproduction Steps
- Upgrade either Aspire.Hosting.Azure.CosmosDB or Aspire.Hosting.Azure.Storage to 9.3.0
- Ctrl+F5 to run the AppHost
- Ctrl+C in the console to kill the process
- Ctrl+F5 to run the AppHost
Now, in the dashboard, all the containers are "unknown"...
Reversion Steps
- Revert package back to 9.2.1
- Clean the solution
- Ctrl+F5 to run the AppHost
Now, all containers are running again.
Impact
All the containers are actually running. However, if any of my apps WaitFor() those containers or entities, they themselves will never start.
Furthermore, when deployed to Azure, the dashboard shows no information about Cosmos DB or Azure Storage at all.
Workaround
Removing the WaitFor(), but leaving the WithReference() is sub-optimal, but the service do start and the app works as expected.
Exceptions (if any)
No exceptions.
.NET Version info
C# .NET 9
Anything else?
VS 2022 17.4

