dagu-org / dagu

Developer-friendly, minimalism Cron alternative, but with much more capabilities. It aims to solve greater problems.
https://dagu.readthedocs.io
GNU General Public License v3.0
1.44k stars 138 forks source link

Remove container if workflow is cancelled #634

Closed x4204 closed 1 month ago

x4204 commented 1 month ago

Fixes: #633

The container is now cleanly removed if workflow is cancelled

time=2024-07-26T23:15:46.401+02:00 level=INFO msg="Stop request received"
time=2024-07-26T23:15:46.454+02:00 level=INFO msg="Sending signal to running child processes" signal=terminated
time=2024-07-26T23:15:46.456+02:00 level=INFO msg="Waiting for child processes to exit..."
2024/07/26 23:15:46 Sending terminated signal to run
time=2024-07-26T23:15:46.881+02:00 level=INFO msg="Step execution finished" step=run status=canceled
time=2024-07-26T23:15:46.881+02:00 level=INFO msg="Workflow execution finished" status=canceled