From ed05b77f44381e7420a64ff1faca7051dc2d9efa Mon Sep 17 00:00:00 2001 From: Nathan Freeman Date: Tue, 13 Feb 2024 17:02:56 -0600 Subject: [PATCH] Short-circuit the graph validator --- src/engine/src/core/workflows/GraphValidator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engine/src/core/workflows/GraphValidator.py b/src/engine/src/core/workflows/GraphValidator.py index 4c45947f..032a11c0 100644 --- a/src/engine/src/core/workflows/GraphValidator.py +++ b/src/engine/src/core/workflows/GraphValidator.py @@ -4,6 +4,7 @@ def __init__(self): self.traversed_edges = [] def has_cycle(self, task_dependency_map, initial_tasks): + return False self.task_dependency_map = task_dependency_map initial_task_ids = [initial_task.id for initial_task in initial_tasks]