Skip to content

Add an event that is fired after all dependencies are ready #15234

@AndriySvyryd

Description

@AndriySvyryd

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-app-modelIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplicationarea-integrationsIssues pertaining to Aspire Integrations packages

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions