DefangLabs / defang

Defang CLI and sample projects. Defang is a radically simpler way for developers to develop, deploy, and debug cloud applications.
https://defang.io
MIT License
39 stars 9 forks source link

Notify user if deployment will not be cancelled when terminating. #875

Open jordanstephens opened 5 days ago

jordanstephens commented 5 days ago

Description

We have been printing a message Detached. The process will keep running if the deployment process was terminated after the tail began, but this left a small window of time (between the deployment request being sent and the tail being initiated) where termination of the process would fail to cancel the deployment and we would not notify the user. This change covers that gap by sharing a cancellable context for both sending the deployment request and the tail.

Linked Issues

Checklist