From 50a03400a7b65b92a25d5c3be27323e226d22961 Mon Sep 17 00:00:00 2001 From: "kevin.zhang" <51311316+Kevin9703@users.noreply.github.com> Date: Mon, 28 Apr 2025 17:08:18 +0800 Subject: [PATCH] fix(workflow_cycle_manage): failed nodes were not updated in workflow_node_executions --- api/core/app/task_pipeline/workflow_cycle_manage.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/core/app/task_pipeline/workflow_cycle_manage.py b/api/core/app/task_pipeline/workflow_cycle_manage.py index d720eff73d..09747e5863 100644 --- a/api/core/app/task_pipeline/workflow_cycle_manage.py +++ b/api/core/app/task_pipeline/workflow_cycle_manage.py @@ -380,6 +380,8 @@ class WorkflowCycleManage: workflow_node_execution.finished_at = finished_at workflow_node_execution.elapsed_time = elapsed_time workflow_node_execution.execution_metadata = execution_metadata + + self._workflow_node_execution_repository.update(workflow_node_execution) return workflow_node_execution