From 19e977a78bd3bb951388f3cb4e9791ff7a776d6e Mon Sep 17 00:00:00 2001 From: Shuchang Zheng Date: Fri, 24 Oct 2025 16:25:31 -0700 Subject: [PATCH] get task v2 block disable_cache value back (#3815) --- .../src/routes/workflows/editor/workflowEditorUtils.ts | 2 ++ .../src/routes/workflows/types/workflowYamlTypes.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/skyvern-frontend/src/routes/workflows/editor/workflowEditorUtils.ts b/skyvern-frontend/src/routes/workflows/editor/workflowEditorUtils.ts index 5f5a19d2..797dbccb 100644 --- a/skyvern-frontend/src/routes/workflows/editor/workflowEditorUtils.ts +++ b/skyvern-frontend/src/routes/workflows/editor/workflowEditorUtils.ts @@ -1089,6 +1089,7 @@ function getWorkflowBlock(node: WorkflowBlockNode): BlockYAML { totp_identifier: node.data.totpIdentifier, totp_verification_url: node.data.totpVerificationUrl, url: node.data.url, + disable_cache: node.data.disableCache ?? false, }; } case "validation": { @@ -1894,6 +1895,7 @@ function convertBlocksToBlockYAML( max_steps: block.max_steps, totp_identifier: block.totp_identifier, totp_verification_url: block.totp_verification_url, + disable_cache: block.disable_cache ?? false, }; return blockYaml; } diff --git a/skyvern-frontend/src/routes/workflows/types/workflowYamlTypes.ts b/skyvern-frontend/src/routes/workflows/types/workflowYamlTypes.ts index c44fdaba..b548833b 100644 --- a/skyvern-frontend/src/routes/workflows/types/workflowYamlTypes.ts +++ b/skyvern-frontend/src/routes/workflows/types/workflowYamlTypes.ts @@ -174,6 +174,7 @@ export type Taskv2BlockYAML = BlockYAMLBase & { totp_verification_url: string | null; totp_identifier: string | null; max_steps: number | null; + disable_cache: boolean; }; export type ValidationBlockYAML = BlockYAMLBase & {