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

Home Page:https://stackstorm.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Timeout support for Orquesta tasks

jesvilnie opened this issue · comments

I have found missing the implementation of timeout logic for the Orquesta tasks.

It would be really nice to have something like this:

...
tasks:
  my_task:
    action: mypack.myaction 
    retry:
      delay: 10
      count: 3
    timeout: 120
    next:
       - when: <% timedout() %>
          do: task_for_managing_timeout
...

I would like it too

Every action/task in ST2 has a timeout so that value can be set on the action itself. Not quite the same as the task level but it does make the "failure" criteria more clear as it remains a function of the action itself.