Skip to content

fix: ensure proper handling of termination signals and metadata updates #1517

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
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

antontroshin
Copy link
Contributor

Description

Call metadata endpoint and update the dapr cli PID, app PID and app command in a separate goroutine to avoid blocking termination signals.
For example, when "dapr run" initialization fails with fatal errors on component init errors.

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #1338

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

@antontroshin antontroshin marked this pull request as ready for review July 4, 2025 07:24
@antontroshin antontroshin requested review from a team as code owners July 4, 2025 07:24
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

Successfully merging this pull request may close these issues.

Can't Ctrl-C Early on dapr run w/o Necessary Component, Forced to Wait After Seeing Initial Err
1 participant