From 1c459691bf395186aadfbd0ef4a6da6b51185a6d Mon Sep 17 00:00:00 2001 From: Rohit Rajan Date: Sat, 25 Oct 2025 13:09:00 +0530 Subject: [PATCH] fix: flush buffer on run completion --- server/src/workflow-management/classes/Interpreter.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/src/workflow-management/classes/Interpreter.ts b/server/src/workflow-management/classes/Interpreter.ts index 6142ed24..f9a48921 100644 --- a/server/src/workflow-management/classes/Interpreter.ts +++ b/server/src/workflow-management/classes/Interpreter.ts @@ -614,6 +614,8 @@ export class WorkflowInterpreter { const status = await interpreter.run(page, params); + await this.flushPersistenceBuffer(); + // Structure the output to maintain separate data for each action type const result = { log: this.debugMessages,