Improve start/stop/restart command notifications #6224
Labels
area-app-model
Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
Milestone
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
A command to start/stop/restart a resource involves:
The problem is the app host doesn't wait for the resource to actually change to the desired state before returning a response to the dashboard. The resource could still be stopping and stop after the dashboard reports success. Or the resource might not be stopped because of a problem inside DCP, but the dashbaord has already reported success.
Describe the solution you'd like
The app host waits for a resource to enter the desired state before returning a success/fail result to the dashboard.
If starting a resource fails, that's reported as a failure to the dashboard.
If something hangs, then after a timeout (20 seconds?) that's reported as a timeout to the dashboard.
Additional context
No response
The text was updated successfully, but these errors were encountered: