Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fixed hanging http template manual retry with previous outputs. Fixes #11889 #12122

Closed
wants to merge 9 commits into from
5 changes: 2 additions & 3 deletions workflow/controller/taskset.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,8 @@ func (woc *wfOperationCtx) reconcileTaskSet(ctx context.Context) error {
for nodeID, taskResult := range workflowTaskSet.Status.Nodes {
node, err := woc.wf.Status.Nodes.Get(nodeID)
if err != nil {
woc.log.Warnf("[SPECIAL][DEBUG] returning but assumed validity before")
woc.log.Errorf("[DEBUG] Was unable to obtain node for %s", nodeID)
return err
woc.log.Info("Continuing to retry")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should definitely be more specific here -- if you read this message in the Controller's logs, it would be pretty ambiguous.

Suggested change
woc.log.Info("Continuing to retry")
woc.log.Debugf("Unable to obtain node for %s during TaskSet Reconciliation. Expected during a retry, continuing", nodeId)

I also think debug level makes more sense here, since this is now an expected error

continue
}

node.Outputs = taskResult.Outputs.DeepCopy()
Expand Down