Skip to content

Dapr sidecar WaitFor #604

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

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

Dapr sidecar WaitFor #604

bgelens opened this issue Mar 27, 2025 · 2 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

Copy link
Contributor

We have noticed this issue has not been updated within 21 days. If there is no action on this issue in the next 14 days, we will automatically close it. You can use /stale-extend to extend the window.

@github-actions github-actions bot added the Stale label Apr 23, 2025
@bgelens
Copy link
Author

bgelens commented Apr 23, 2025

/stale-extend

@github-actions github-actions bot removed the Stale label Apr 23, 2025
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