Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions workflow/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -1233,6 +1233,12 @@ func FormulateRetryWorkflow(ctx context.Context, wf *wfv1.Workflow, restartSucce
toDelete = setUnion(toDelete, pathToDelete)
}

// Note: The parameter override deletion logic from PR #15827 has been removed.
// The issue it was trying to fix (workflow stuck in Running) should be addressed
// in the controller's node state management, not by deleting unrelated nodes.
// Deleting all TaskGroup children indiscriminately causes issues #16055 where
// successful sibling nodes are incorrectly removed.

for nodeID := range toReset {
// avoid resetting nodes that are marked for deletion
if in := toDelete[nodeID]; in {
Expand Down
Loading