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 Sep 21, 2023
1 parent c6fdb03 commit 0fde680
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion workflow/controller/dag.go
Original file line number Diff line number Diff line change
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 0fde680

Please sign in to comment.