arcalot / arcaflow-engine

Arcaflow is a highly-portable workflow engine enabling modular and validated pipelines through containerized plugins.
https://arcalot.io/arcaflow/
Apache License 2.0
6 stars 9 forks source link

Stop step based on expression #70

Open ghost opened 1 year ago

ghost commented 1 year ago

Please describe what you would like to see in this project

As part of #44, there should be the ability to stop step execution based on an expression.

Please describe your use case

This will allow for properly managing server-client relationships, such as with uperf.

ghost commented 1 year ago

This is waiting for #32

jaredoconnell commented 1 year ago

The part of the code that instructs the step to stop (by closing the context) is working. However, the plugin isn't getting the sigterm signal. I am fixing that. The deployer may need modifications.

jaredoconnell commented 1 year ago

The deployer is now sending the signal to the plugin, but the plugin isn't gracefully shutting down. No output, which is not the desired result.

jaredoconnell commented 1 year ago

The shift is now to using ATP signals. The basics for the ATP signals are in place in Go, but more work is needed.