child steps template with outputs breaks execution of the parent steps template #12286
Closed
2 of 3 tasks
Labels
area/controller
Controller issues, panics
solution/duplicate
This issue or PR is a duplicate of an existing one
type/bug
type/regression
Regression from previous behavior (a specific type of bug)
Pre-requisites
:latest
What happened/what did you expect to happen?
Okay, so this is a weird one.
If you run the workflow I provided below, you'll see that
step1
, which is supposed to trigger templatet2
, never shows up in the UI. The workflow gets marked as successful, and after inspecting the workflow status manually using kubectl, I can see thatstep1
did get executed, but it is not visible in the UI. This might not be a bug in the UI since the controller could be doing something wrong, and the UI follows along. I don't have enough knowledge about internals to know right away.This only happens when
step0
calls another StepsTemplate that has outputs declared (in this case it ist1
). When I remove outputs fromt1
it works, thestep1
does show up in the UI. Ifstep0
callst2
it works as well.Workflow that does not work - step1 never shows up in the UI
How the UI looks like
Workflow that does work - step1 shows up in the UI (outputs from t1 are removed)
How the UI looks like
I was getting around this issue #12283 by declaring dummy outputs, but then I noticed the bug I described above.
Version
v3.5.2
Paste a small workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
Logs from the workflow controller
Logs from in your workflow's wait container
The text was updated successfully, but these errors were encountered: