From 861cac5257f5e0d3cc2a010f09481ab93b8241e6 Mon Sep 17 00:00:00 2001 From: Omar Ajoue Date: Wed, 27 Sep 2023 12:38:53 +0200 Subject: [PATCH] fix(core): Prevent executions from displaying Running status incorrectly (#7261) Github issue / Community forum post (link here to close automatically): https://linear.app/n8n/issue/HELP-338/large-number-of-long-running-executions-for-nadjalemlist#comment-18d1fc96 After investigating this issue with @ivov and @flipswitchingmonkey we've identified this missing assignment of execution status. This is the only inconsistency we've found that could cause executions to continue displaying as `Running` even after finished. --- packages/core/src/WorkflowExecute.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/src/WorkflowExecute.ts b/packages/core/src/WorkflowExecute.ts index 7c508e59fa..cfa9809cda 100644 --- a/packages/core/src/WorkflowExecute.ts +++ b/packages/core/src/WorkflowExecute.ts @@ -1591,6 +1591,7 @@ export class WorkflowExecute { } else { Logger.verbose('Workflow execution finished successfully', { workflowId: workflow.id }); fullRunData.finished = true; + fullRunData.status = 'success'; } // Check if static data changed