From 4b345bec0326f0fb874afb0f62ec246cca70344f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Fri, 7 Jun 2024 10:58:26 +0200 Subject: [PATCH 01/11] fix(core): Allow graceful shutdown for main with active executions (#9661) --- packages/cli/src/commands/start.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cli/src/commands/start.ts b/packages/cli/src/commands/start.ts index 03831a12cb15d..fdcab49131e80 100644 --- a/packages/cli/src/commands/start.ts +++ b/packages/cli/src/commands/start.ts @@ -98,9 +98,9 @@ export class Start extends BaseCommand { await this.externalHooks?.run('n8n.stop', []); - if (Container.get(OrchestrationService).isMultiMainSetupEnabled) { - await this.activeWorkflowManager.removeAllTriggerAndPollerBasedWorkflows(); + await this.activeWorkflowManager.removeAllTriggerAndPollerBasedWorkflows(); + if (Container.get(OrchestrationService).isMultiMainSetupEnabled) { await Container.get(OrchestrationService).shutdown(); } From 3b10c0f6aa87969965ed8a4ec339b295d6fe6199 Mon Sep 17 00:00:00 2001 From: oleg Date: Fri, 7 Jun 2024 11:47:23 +0200 Subject: [PATCH 02/11] fix(Chat Trigger Node): Fix public chat container dimensions (#9664) Signed-off-by: Oleg Ivaniv --- .../nodes/trigger/ChatTrigger/templates.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/@n8n/nodes-langchain/nodes/trigger/ChatTrigger/templates.ts b/packages/@n8n/nodes-langchain/nodes/trigger/ChatTrigger/templates.ts index 9c7f7f0301a6a..82d73451846f4 100644 --- a/packages/@n8n/nodes-langchain/nodes/trigger/ChatTrigger/templates.ts +++ b/packages/@n8n/nodes-langchain/nodes/trigger/ChatTrigger/templates.ts @@ -49,6 +49,14 @@ export function createPage({ Chat +