From 3dad0b38df14c0cc98db7b5ffee1dd527d419cb5 Mon Sep 17 00:00:00 2001 From: yyh Date: Wed, 28 Jan 2026 21:15:45 +0800 Subject: [PATCH] refactor(workflow)!: persist workflowRunningData when closing debug panel Keep test run results (RESULT/DETAIL/TRACING tabs) available after closing and reopening the debug panel, or switching between Graph and Skill views. --- web/app/components/workflow/hooks/use-workflow-interactions.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/web/app/components/workflow/hooks/use-workflow-interactions.ts b/web/app/components/workflow/hooks/use-workflow-interactions.ts index ddf9469788..9227e7b90b 100644 --- a/web/app/components/workflow/hooks/use-workflow-interactions.ts +++ b/web/app/components/workflow/hooks/use-workflow-interactions.ts @@ -44,7 +44,6 @@ export const useWorkflowInteractions = () => { const isActiveRun = runningStatus === WorkflowRunningStatus.Running || runningStatus === WorkflowRunningStatus.Waiting workflowStore.setState({ showDebugAndPreviewPanel: false, - ...(isActiveRun ? {} : { workflowRunningData: undefined }), }) if (!isActiveRun) { handleNodeCancelRunningStatus()