st2 icon indicating copy to clipboard operation
st2 copied to clipboard

Timeout support for Orquesta tasks

Open jesvilnie opened this issue 1 year ago • 2 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
...

jesvilnie avatar Apr 05 '24 09:04 jesvilnie

I would like it too

Aliskaa avatar Jun 13 '24 07:06 Aliskaa

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.

jamesdreid avatar Jun 14 '24 15:06 jamesdreid