From fac43774c9b7a836f8685a1f94c461d60d2111c5 Mon Sep 17 00:00:00 2001 From: Matt Silverlock Date: Mon, 25 Nov 2024 12:39:54 -0500 Subject: [PATCH 1/2] workflows: step limit increase 256 -> 512 --- src/content/docs/workflows/reference/limits.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/content/docs/workflows/reference/limits.mdx b/src/content/docs/workflows/reference/limits.mdx index dd902217a8b4be..94750d5e6ef5e8 100644 --- a/src/content/docs/workflows/reference/limits.mdx +++ b/src/content/docs/workflows/reference/limits.mdx @@ -20,12 +20,12 @@ Many limits are inherited from those applied to Workers scripts and as documente | Duration (wall clock) per step [^3] | Unlimited | Unlimited - for example, waiting on network I/O calls or querying a database | | Maximum persisted state per step | 1MiB (2^20 bytes) | 1MiB (2^20 bytes) | | Maximum state that can be persisted per Workflow instance | 100MB | 1GB | -| Maximum `step.sleep` duration | 365 days (1 year) [^1] | -| Maximum steps per Workflow | 256 [^1] | +| Maximum `step.sleep` duration | 365 days (1 year) [^1] | 365 days (1 year) [^1] | +| Maximum steps per Workflow | 512 [^1] | 512 [^1] | | Maximum Workflow executions | 100,000 per day [shared with Workers daily limit](/workers/platform/limits/#worker-limits) | Unlimited | | Concurrent Workflow instances (executions) | 25 | 100 [^1] | | Retention limit for completed Workflow state | 3 days | 30 days [^2] | -| Maximum length of a Workflow ID [^4] | 64 characters | +| Maximum length of a Workflow ID [^4] | 64 characters | 64 characters | [^1]: This limit will be reviewed and revised during the open beta for Workflows. Follow the [Workflows changelog](/workflows/reference/changelog/) for updates. From 68ab357b5733359f763c831f623717b9f860429d Mon Sep 17 00:00:00 2001 From: Matt Silverlock Date: Mon, 25 Nov 2024 12:43:36 -0500 Subject: [PATCH 2/2] workflows: changelog on step limits --- src/content/changelogs/workflows.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/content/changelogs/workflows.yaml b/src/content/changelogs/workflows.yaml index ffdc7c5419ad54..bb9d0fb09aa45a 100644 --- a/src/content/changelogs/workflows.yaml +++ b/src/content/changelogs/workflows.yaml @@ -5,6 +5,12 @@ productLink: "/workflows/" productArea: Developer platform productAreaLink: /workers/platform/changelog/platform/ entries: + - publish_date: "2024-11-30" + title: "Step limit increased" + description: |- + Workflows now allow you to define up to 512 steps in a single Workflow definition, up from the previous limit of 256. This limit will continue to increase during the course of the open beta. + + If you have Workflows that need more steps, we recommend delegating additional work to other Workflows by [triggering a new Workflow](/workflows/build/trigger-workflows/) from within a step and passing any state as [parameters to that Workflow instance](/workflows/build/events-and-parameters/). - publish_date: "2024-10-23" title: "Workflows is now in public beta!" description: |-