StackStorm / st2

StackStorm (aka "IFTTT for Ops") is event-driven automation for auto-remediation, incident responses, troubleshooting, deployments, and more for DevOps and SREs. Includes rules engine, workflow, 160 integration packs with 6000+ actions (see https://exchange.stackstorm.org) and ChatOps. Installer at https://docs.stackstorm.com/install/index.html
https://stackstorm.com/
Apache License 2.0
6.11k stars 746 forks source link

Add a timeout parameter to the Orquesta runner #5116

Open blag opened 3 years ago

blag commented 3 years ago

Almost all action runners have a timeout parameter (see the fancy table here), but there is no timeout parameter for Orquesta.

This means that there is no way to set a time limit a subworkflow if something goes wrong.

It would be nice to allow users to specify this parameter as a fail safe in case the Orquesta engine hangs, for example. It would also be more consistent with our other action runners:

tasks:
  do_thing:
    action: mypack.myworkflow  # Orquesta workflow, may take awhile to finish, and/or hang
    input:
      timeout: 60  # seconds

This has been requested by multiple people in the StackStorm Forum.

nguyenxuandat commented 1 month ago

is this solved?