Skip to content

Commit

Permalink
Added another place where workflow can stop if it's finished already
Browse files Browse the repository at this point in the history
  • Loading branch information
frikky committed Nov 24, 2023
1 parent 73d4474 commit 25cdb40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -17671,7 +17671,7 @@ func DecideExecution(ctx context.Context, workflowExecution WorkflowExecution, e
continueOuter = false

if fixed > 0 && skippedCnt == len(parents[nextAction]) {
log.Printf("[WARNING][%s] All parents of %s (%s) are skipped. (%d/%d): %s", workflowExecution.ExecutionId, action.Label, nextAction, fixed, len(parents[nextAction]), strings.Join(parents[nextAction], ", "))
log.Printf("[WARNING][%s] All parents of %s (%s) are skipped. (%d/%d): %s. Should set to skipped.", workflowExecution.ExecutionId, action.Label, nextAction, fixed, len(parents[nextAction]), strings.Join(parents[nextAction], ", "))
continueOuter = true
}
}
Expand Down

0 comments on commit 25cdb40

Please sign in to comment.