-
Notifications
You must be signed in to change notification settings - Fork 854
Add an event that is fired after all dependencies are ready #15234
Copy link
Copy link
Open
Labels
area-app-modelIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplicationIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplicationarea-integrationsIssues pertaining to Aspire Integrations packagesIssues pertaining to Aspire Integrations packages
Description
Is there an existing issue for this?
- I have searched the existing issues
Is your feature request related to a problem? Please describe the problem.
The problem is that BeforeStartEvent handlers are evaluated sequentially. So, if the BeforeStartEvent handler for the API app is waiting for a resource to become ready and it in turn needs BeforeStartEvent handlers to finish running it becomes a deadlock.
See #13481 (comment)
Describe the solution you'd like
Add an event that runs after all the dependencies of a resource are in the ready state and the resource is actually ready to start.
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-app-modelIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplicationIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplicationarea-integrationsIssues pertaining to Aspire Integrations packagesIssues pertaining to Aspire Integrations packages