Skip to content

Commit

Permalink
fix: when key not present assume NodeRunning. Fixes 11843 (#11847)
Browse files Browse the repository at this point in the history
Signed-off-by: isubasinghe <isitha@pipekit.io>
  • Loading branch information
isubasinghe authored and terrytangyuan committed Oct 19, 2023
1 parent 4b6cdae commit 20f1c6b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion workflow/controller/dag.go
Expand Up @@ -157,7 +157,9 @@ func (d *dagContext) assessDAGPhase(targetTasks []string, nodes wfv1.Nodes, isSh

node, err := nodes.Get(curr.nodeId)
if err != nil {
return "", err
// this is okay, this means that
// we are still running
return wfv1.NodeRunning, nil
}
// We need to store the current branchPhase to remember the last completed phase in this branch so that we can apply it to omitted nodes
branchPhase := curr.phase
Expand Down

0 comments on commit 20f1c6b

Please sign in to comment.