From e61641d7ec9e84c22bef055efa3fdc8b6bc6510b Mon Sep 17 00:00:00 2001 From: yiling Date: Sun, 4 Oct 2026 10:22:31 +0800 Subject: [PATCH] fix(workflow): increase activity startToCloseTimeout to 120 minutes --- packages/workflow-core/src/workflow-utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/workflow-core/src/workflow-utils.ts b/packages/workflow-core/src/workflow-utils.ts index 137ddbbf..5165c75e 100644 --- a/packages/workflow-core/src/workflow-utils.ts +++ b/packages/workflow-core/src/workflow-utils.ts @@ -70,7 +70,7 @@ export function getActivities(): T { // Temporal's proxyActivities requires a type parameter, so we use any for generic activities. // eslint-disable-next-line @typescript-eslint/no-explicit-any baseProxy = wf.proxyActivities({ - startToCloseTimeout: '10 minutes', + startToCloseTimeout: '120 minutes', retry: { maximumAttempts: 5, initialInterval: '10s', @@ -165,7 +165,7 @@ export async function executeActivity( if (isTemporal()) { // eslint-disable-next-line @typescript-eslint/no-explicit-any const handle = wf.proxyActivities({ - startToCloseTimeout: '10 minutes', + startToCloseTimeout: '120 minutes', taskQueue: queue, retry: { maximumAttempts: 5,