diff --git a/docs/api-reference/openapi.json b/docs/api-reference/openapi.json index 9eb59ec17..bb3dfff43 100644 --- a/docs/api-reference/openapi.json +++ b/docs/api-reference/openapi.json @@ -12616,7 +12616,7 @@ "run_sequentially": { "type": "boolean", "nullable": true, - "title": "Run Sequentially" + "title": "Prevent Overlapping Runs" }, "sequential_key": { "type": "string", @@ -12760,7 +12760,7 @@ }, "run_sequentially": { "type": "boolean", - "title": "Run Sequentially", + "title": "Prevent Overlapping Runs", "default": false }, "sequential_key": { diff --git a/docs/developers/debugging/faq.mdx b/docs/developers/debugging/faq.mdx index 33c996e2b..164dfe0d5 100644 --- a/docs/developers/debugging/faq.mdx +++ b/docs/developers/debugging/faq.mdx @@ -131,9 +131,9 @@ Also verify: -Use the "Run Sequentially" option with a credential key: +Use the "Prevent Overlapping Runs" option with a credential key: -1. Enable "Run Sequentially" in workflow settings +1. Enable "Prevent Overlapping Runs" in workflow settings 2. Set the sequential key to your credential identifier 3. Skyvern will queue runs that share the same credential diff --git a/docs/developers/debugging/troubleshooting-guide.mdx b/docs/developers/debugging/troubleshooting-guide.mdx index 63aeb6652..be0d9dc83 100644 --- a/docs/developers/debugging/troubleshooting-guide.mdx +++ b/docs/developers/debugging/troubleshooting-guide.mdx @@ -209,7 +209,7 @@ See [Using Artifacts](/developers/debugging/using-artifacts) for the full list o **Fix:** - Wait for other runs to complete - Check your plan's concurrency limits in Settings -- If using "Run Sequentially" with credentials, ensure prior runs finish +- If using "Prevent Overlapping Runs" with credentials, ensure prior runs finish diff --git a/fern/openapi/skyvern_openapi.json b/fern/openapi/skyvern_openapi.json index 0a401bc2e..b0198ad3d 100644 --- a/fern/openapi/skyvern_openapi.json +++ b/fern/openapi/skyvern_openapi.json @@ -20020,7 +20020,7 @@ "type": "null" } ], - "title": "Run Sequentially" + "title": "Prevent Overlapping Runs" }, "sequential_key": { "anyOf": [ @@ -20283,7 +20283,7 @@ }, "run_sequentially": { "type": "boolean", - "title": "Run Sequentially", + "title": "Prevent Overlapping Runs", "default": false }, "sequential_key": { diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/StartNode/WorkflowSettingsEditor.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/StartNode/WorkflowSettingsEditor.tsx index a30d41a54..ea10ead03 100644 --- a/skyvern-frontend/src/routes/workflows/editor/nodes/StartNode/WorkflowSettingsEditor.tsx +++ b/skyvern-frontend/src/routes/workflows/editor/nodes/StartNode/WorkflowSettingsEditor.tsx @@ -51,6 +51,12 @@ import { type WorkflowStartNodeData, } from "./types"; +const PREVENT_OVERLAPPING_RUNS_TOOLTIP = + "Queues new runs of this workflow until any in-progress run finishes. Does not affect block ordering inside a single run; blocks always execute in declared order. Use this when concurrent runs would collide on shared state, such as the same credentials, browser session, or downstream account."; + +const SEQUENTIAL_KEY_TOOLTIP = + "Scope the run queue. Runs with the same key are queued together; runs with different keys can still execute in parallel. Templated against workflow parameters, for example {{ account_id }} to serialize per account."; + function WorkflowSettingsEditor({ blockId }: { blockId: string }) { // Subscribe to the start node's data slice. The sidebar mount lives // outside the per-node renderer, and the body also subscribes to @@ -255,8 +261,8 @@ function WorkflowSettingsEditorBody({
- - + +
- +