We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0393427 commit 1bd50faCopy full SHA for 1bd50fa
workflow/executor/executor.go
@@ -888,7 +888,14 @@ func (we *WorkflowExecutor) Wait() error {
888
annotationUpdatesCh := we.monitorAnnotations(ctx)
889
go we.monitorDeadline(ctx, annotationUpdatesCh)
890
891
- err = we.RuntimeExecutor.Wait(mainContainerID)
+ _ = wait.ExponentialBackoff(retry.DefaultRetry, func() (bool, error) {
892
+ err = we.RuntimeExecutor.Wait(mainContainerID)
893
+ if err != nil {
894
+ log.Warnf("Failed to wait for container id '%s': %v", mainContainerID, err)
895
+ return false, err
896
+ }
897
+ return true, nil
898
+ })
899
if err != nil {
900
return err
901
}
0 commit comments