Disabled the isValid check in walkoff for executions

This commit is contained in:
Frikky
2025-03-06 22:07:30 +01:00
parent 276a8c50fa
commit f26e122b79
+2
View File
@@ -1094,10 +1094,12 @@ func handleExecution(id string, workflow shuffle.Workflow, request *http.Request
workflow.Errors = []string{}
}
/*
if !workflow.IsValid {
log.Printf("[ERROR] Stopped execution as workflow %s is not valid.", workflow.ID)
return shuffle.WorkflowExecution{}, fmt.Sprintf(`workflow %s is invalid`, workflow.ID), errors.New("Failed getting workflow")
}
*/
maxExecutionDepth := 10
if os.Getenv("SHUFFLE_MAX_EXECUTION_DEPTH") != "" {