Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dapr sidecar WaitFor #604

Open
bgelens opened this issue Mar 27, 2025 · 0 comments
Open

Dapr sidecar WaitFor #604

bgelens opened this issue Mar 27, 2025 · 0 comments

Comments

@bgelens
Copy link

bgelens commented Mar 27, 2025

Related to an existing integration?

Yes

Existing integration

CommunityToolkit.Aspire.Hosting.Dapr

Overview

The dapr sidecar will start immediately while the redis container supporting pubsub for example is still starting.

The application has a WaitFor configured but the sidecar will fail the on pubsub component loading as redis is not done starting. When redis is started, the application will start and then fail because the sidecar has failed.

Usage example

To make this play more nicely, the sidecar starting should either respect the application WaitFor configuration or be expanded to have its own.

additionally, I'm running the dapr scheduler and placement services using the dapr container images as well. Using this scenario, it would make more sense to have an additional WaitFor configuration on the sidecar configuration.

Breaking change?

I'm not sure

Alternatives

use persistent container runs and restart aspire host

Additional context

No response

Help us help you

No, just wanted to propose this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant