Skip to content

Commit 43c4b99

Browse files
elithrarOxyjun
andauthored
Apply suggestions from code review
Co-authored-by: Jun Lee <[email protected]>
1 parent cc2f3c2 commit 43c4b99

File tree

6 files changed

+11
-5
lines changed

6 files changed

+11
-5
lines changed

src/content/docs/workflows/build/trigger-workflows.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,9 @@ Once stopped, the Workflow instance *cannot* be resumed.
151151

152152
### Restart a Workflow
153153

154-
You can restart a Workflow instance by calling `restart` against a specific instance ID.
154+
:::caution
155+
156+
**Known issue**: Restarting a Workflow via the `restart()` method is not currently supported ad will throw an exception (error).
155157

156158
```ts
157159
let instance = await env.MY_WORKFLOW.get("abc-123")

src/content/docs/workflows/examples/index.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ sidebar:
77
order: 6
88
group:
99
hideIndex: true
10+
group:
11+
hideIndex: true
1012

1113
---
1214

src/content/docs/workflows/get-started/index.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ sidebar:
55
order: 1
66
group:
77
hideIndex: true
8+
group:
9+
hideIndex: true
810

911
---
1012

src/content/docs/workflows/observability/metrics-analytics.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ You can optionally select a time window to query. This defaults to the last 24 h
3434

3535
You can programmatically query analytics for your Workflows via the [GraphQL Analytics API](/analytics/graphql-api/). This API queries the same datasets as the Cloudflare dashboard, and supports GraphQL [introspection](/analytics/graphql-api/features/discovery/introspection/).
3636

37-
Workflows GraphQL datasets require an `accountTag` filter with your Cloudflare account ID and includes the `workflowsAdaptive` and `workflowsAdaptiveGroups` datasets.
37+
Workflows GraphQL datasets require an `accountTag` filter with your Cloudflare account ID, and includes the `workflowsAdaptive` and `workflowsAdaptiveGroups` datasets.
3838

3939
### Examples
4040

src/content/docs/workflows/reference/limits.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sidebar:
88

99
import { Render } from "~/components"
1010

11-
Limits that apply to authoring, deploying and running Workflows are detailed below.
11+
Limits that apply to authoring, deploying, and running Workflows are detailed below.
1212

1313
Many limits are inherited from those applied to Workers scripts and as documented in the [Workers limits](/workers/platform/limits/) documentation.
1414

@@ -26,7 +26,7 @@ Many limits are inherited from those applied to Workers scripts and as documente
2626
| Concurrent Workflow instances (executions) | 25 | 1,000 [^1] |
2727
| Retention limit for completed Workflow state | 3 days | 30 days [^2] |
2828

29-
<beta>beta</beta> This limit will be reviewed and revised during the open beta for Workflows, and we'll update this page and our changelog.
29+
[^1]: This limit will be reviewed and revised during the open beta for Workflows, and we'll update this page and our changelog.
3030

3131
[^2]: Workflow state and logs will be retained for 3 days on the Workers Free plan and 30 days on the Workers Paid plan.
3232

src/content/docs/workflows/reference/pricing.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Workflows pricing is identical to [Workers Standard pricing](/workers/platform/p
2121
* **CPU time**: the total amount of compute (measured in milliseconds) consumed by a given Workflow.
2222
* **Requests** (invocations): the number of Workflow invocations. [Subrequests](/workers/platform/limits/#subrequests) made from a Workflow do not incur additional request costs.
2323

24-
A Workflow that is waiting on a response to an API call, paused as a result of calling `step.sleep`, or otherwise idle does not incur CPU time.
24+
A Workflow that is waiting on a response to an API call, paused as a result of calling `step.sleep`, or otherwise idle, does not incur CPU time.
2525

2626
## Frequently Asked Questions
2727

0 commit comments

Comments
 (0)