Open johnkm516 opened 1 week ago
Hello John, I'm not able to reproduce on kestra:develop. See the following flow and screenshot
id: parent
namespace: kestra.test
tasks:
- id: hello
type: io.kestra.plugin.core.log.Log
message: Hello World! 🚀
- id: subflow
type: io.kestra.plugin.core.flow.Subflow
flowId: child
namespace: kestra.test
id: child
namespace: kestra.test
tasks:
- id: retry
type: io.kestra.plugin.scripts.shell.Commands
commands:
- sleep 5
- exit 1
retry:
type: constant
interval: PT10M
maxAttempt: 5
taskRunner:
type: io.kestra.plugin.core.runner.Process
Can you provide flows to reproduce (if mines aren't complete) and screenshot please ?
Describe the issue
I have not tested this without subflows, therefore I do not know if this issue is exclusive to a parent workflow executing child workflows that are in retry, or if this issue exists regardless.
1) Create a parent workflow that executes a child workflow. 2) Have the child workflow cause an error with a retry, for example 5 times with an interval of 10s. 3) While the child workflow is in retry, kill the parent execution (Kill parents and subflows, or kill the parent, either or it doesn't work). 4) The parent and child workflow executions are not killed. The retry logic overrides the kill command and keeps executing.
Environment