cli icon indicating copy to clipboard operation
cli copied to clipboard

[DO NOT MERGE] fix: ensure proper handling of termination signals and metadata updates

Open antontroshin opened this issue 5 months ago • 5 comments

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 avatar Jul 04 '25 02:07 antontroshin