fix(workflow): IF-ELSE nodes connected to the same subsequent node cause execution to stop (#8247)

This commit is contained in:
takatost 2024-09-11 12:28:32 +08:00 committed by GitHub
parent 91942e37ff
commit 5f4cdd66fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -86,10 +86,6 @@ class Graph(BaseModel):
if target_node_id not in reverse_edge_mapping: if target_node_id not in reverse_edge_mapping:
reverse_edge_mapping[target_node_id] = [] reverse_edge_mapping[target_node_id] = []
# is target node id in source node id edge mapping
if any(graph_edge.target_node_id == target_node_id for graph_edge in edge_mapping[source_node_id]):
continue
target_edge_ids.add(target_node_id) target_edge_ids.add(target_node_id)
# parse run condition # parse run condition