diff --git a/pkg/payload/task_graph.go b/pkg/payload/task_graph.go index d8d629e971..4ae4577484 100644 --- a/pkg/payload/task_graph.go +++ b/pkg/payload/task_graph.go @@ -536,7 +536,7 @@ func RunGraph(ctx context.Context, graph *TaskGraph, maxParallelism int, fn func incompleteCount := 0 for i, result := range results { if result == nil { - if firstIncompleteNode == nil { + if firstIncompleteNode == nil && len(graph.Nodes[i].Tasks) > 0 { firstIncompleteNode = graph.Nodes[i] } incompleteCount++