-
Suggestion
-
Resolution: Unresolved
-
None
when we manually stop the pipeline from UI or through API, the step processes will be killed forcefully eg: something like kill -9
Instead of forcefully killing the processes, the pipeline can be gracefully stopped using the SIGTERM signal.
This is extremely important for programs like Terraform which persist state after they complete their tasks. As is, Terraform has no ability to clean up after the job is stopped, resulting in state being out of sync with reality.