|
@@ -43,7 +43,13 @@ class StreamProcessor(ABC):
|
|
|
and edge.run_condition.branch_identify
|
|
|
and run_result.edge_source_handle == edge.run_condition.branch_identify
|
|
|
):
|
|
|
- reachable_node_ids.extend(self._fetch_node_ids_in_reachable_branch(edge.target_node_id))
|
|
|
+ # remove unreachable nodes
|
|
|
+ # FIXME: because of the code branch can combine directly, so for answer node
|
|
|
+ # we remove the node maybe shortcut the answer node, so comment this code for now
|
|
|
+ # there is not effect on the answer node and the workflow, when we have a better solution
|
|
|
+ # we can open this code. Issues: #11542 #9560 #10638 #10564
|
|
|
+
|
|
|
+ # reachable_node_ids.extend(self._fetch_node_ids_in_reachable_branch(edge.target_node_id))
|
|
|
continue
|
|
|
else:
|
|
|
unreachable_first_node_ids.append(edge.target_node_id)
|