From f96b4f287aa8bedd8a557290ec4bb38e21b48a36 Mon Sep 17 00:00:00 2001 From: Novice <857526207@qq.com> Date: Tue, 11 Feb 2025 16:35:21 +0800 Subject: [PATCH] fix: iteration node log time error (#13511) --- api/core/app/task_pipeline/workflow_cycle_manage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/core/app/task_pipeline/workflow_cycle_manage.py b/api/core/app/task_pipeline/workflow_cycle_manage.py index dcc364d227..ad29201df3 100644 --- a/api/core/app/task_pipeline/workflow_cycle_manage.py +++ b/api/core/app/task_pipeline/workflow_cycle_manage.py @@ -842,4 +842,4 @@ class WorkflowCycleManage: if node_execution_id not in self._workflow_node_executions: raise ValueError(f"Workflow node execution not found: {node_execution_id}") cached_workflow_node_execution = self._workflow_node_executions[node_execution_id] - return cached_workflow_node_execution + return session.merge(cached_workflow_node_execution)