Skip to content
1 change: 1 addition & 0 deletions public/__redirects
Original file line number Diff line number Diff line change
Expand Up @@ -1966,6 +1966,7 @@
# Features section
/workers-ai/markdown-conversion/ /workers-ai/features/markdown-conversion/ 301
# workflows
/workflows/get-started/cli-quick-start/ /workflows/get-started/guide/ 301
/workflows/reference/storage-options/ /workers/platform/storage-options/ 301
/workflows/tutorials/ /workflows/examples 301
# workers KV
Expand Down
15 changes: 15 additions & 0 deletions src/content/docs/workers/wrangler/commands.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@
✓ Select an account: › My account
| Name | ID | StoreID | Comment | Scopes | Status | Created | Modified |
|-----------------------------|-------------------------------------|-------------------------------------|---------|---------|---------|------------------------|------------------------|
| ServiceA_key-1 | 13bc7498c6374a4e9d13be091c3c65f1 | 8f7a1cdced6342c18d223ece462fd88d | | workers | active | 4/9/2025, 10:06:01 PM | 4/15/2025, 09:13:05 AM |

Check warning on line 499 in src/content/docs/workers/wrangler/commands.mdx

View workflow job for this annotation

GitHub Actions / Semgrep

semgrep.style-guide-potential-date-year

Potential year found. Documentation should strive to represent universal truth, not something time-bound. (add [skip style guide checks] to commit message to skip)

Check warning on line 499 in src/content/docs/workers/wrangler/commands.mdx

View workflow job for this annotation

GitHub Actions / Semgrep

semgrep.style-guide-potential-date-year

Potential year found. Documentation should strive to represent universal truth, not something time-bound. (add [skip style guide checks] to commit message to skip)
```

<WranglerCommand command="secrets-store secret delete" headingLevel={3} />
Expand Down Expand Up @@ -550,7 +550,7 @@
┌─────────┬──────────────────────────────────┬──────────────────────────────────┬──────────────────────┬──────────────────────┐
│ Name │ ID │ AccountID │ Created │ Modified │
├─────────┼──────────────────────────────────┼──────────────────────────────────┼──────────────────────┼──────────────────────┤
│ default │ 8876bad33f164462bf0743fe8adf98f4 │ REDACTED │ 4/9/2025, 1:11:48 PM │ 4/9/2025, 1:11:48 PM │

Check warning on line 553 in src/content/docs/workers/wrangler/commands.mdx

View workflow job for this annotation

GitHub Actions / Semgrep

semgrep.style-guide-potential-date-year

Potential year found. Documentation should strive to represent universal truth, not something time-bound. (add [skip style guide checks] to commit message to skip)

Check warning on line 553 in src/content/docs/workers/wrangler/commands.mdx

View workflow job for this annotation

GitHub Actions / Semgrep

semgrep.style-guide-potential-date-year

Potential year found. Documentation should strive to represent universal truth, not something time-bound. (add [skip style guide checks] to commit message to skip)
└─────────┴──────────────────────────────────┴──────────────────────────────────┴──────────────────────┴──────────────────────┘
```

Expand All @@ -566,6 +566,21 @@

<WranglerNamespace namespace="workflows" headingLevel={3} />

### `restart`

Restart a Workflow instance

```sh
wrangler workflows instances restart <WORKFLOW_NAME> <ID>
```

- `WORKFLOW_NAME` <Type text="string" /> <MetaInfo text="required" />
- The name of a registered Workflow.
- `ID` <Type text="string" /> <MetaInfo text="required" />
- The ID of a Workflow instance.

<Render file="wrangler-commands/global-flags" product="workers" />

<WranglerCommand command="tail" />

After starting `wrangler tail`, you will receive a live feed of console and exception logs for each request your Worker receives.
Expand Down Expand Up @@ -818,7 +833,7 @@
Success! Uploaded mTLS Certificate my-origin-cert
ID: 99f5fef1-6cc1-46b8-bd79-44a0d5082b8d
Issuer: CN=my-secured-origin.com,OU=my-team,O=my-org,L=San Francisco,ST=California,C=US
Expires: 1/01/2025

Check warning on line 836 in src/content/docs/workers/wrangler/commands.mdx

View workflow job for this annotation

GitHub Actions / Semgrep

semgrep.style-guide-potential-date-year

Potential year found. Documentation should strive to represent universal truth, not something time-bound. (add [skip style guide checks] to commit message to skip)
```

You can then add this certificate as a [binding](/workers/runtime-apis/bindings/) in your [Wrangler configuration file](/workers/wrangler/configuration/):
Expand Down Expand Up @@ -847,13 +862,13 @@
ID: 99f5fef1-6cc1-46b8-bd79-44a0d5082b8d
Name: my-origin-cert
Issuer: CN=my-secured-origin.com,OU=my-team,O=my-org,L=San Francisco,ST=California,C=US
Created on: 1/01/2023

Check warning on line 865 in src/content/docs/workers/wrangler/commands.mdx

View workflow job for this annotation

GitHub Actions / Semgrep

semgrep.style-guide-potential-date-year

Potential year found. Documentation should strive to represent universal truth, not something time-bound. (add [skip style guide checks] to commit message to skip)
Expires: 1/01/2025

Check warning on line 866 in src/content/docs/workers/wrangler/commands.mdx

View workflow job for this annotation

GitHub Actions / Semgrep

semgrep.style-guide-potential-date-year

Potential year found. Documentation should strive to represent universal truth, not something time-bound. (add [skip style guide checks] to commit message to skip)

ID: c5d004d1-8312-402c-b8ed-6194328d5cbe
Issuer: CN=another-origin.com,OU=my-team,O=my-org,L=San Francisco,ST=California,C=US
Created on: 1/01/2023

Check warning on line 870 in src/content/docs/workers/wrangler/commands.mdx

View workflow job for this annotation

GitHub Actions / Semgrep

semgrep.style-guide-potential-date-year

Potential year found. Documentation should strive to represent universal truth, not something time-bound. (add [skip style guide checks] to commit message to skip)
Expires: 1/01/2025

Check warning on line 871 in src/content/docs/workers/wrangler/commands.mdx

View workflow job for this annotation

GitHub Actions / Semgrep

semgrep.style-guide-potential-date-year

Potential year found. Documentation should strive to represent universal truth, not something time-bound. (add [skip style guide checks] to commit message to skip)
```

<WranglerCommand command="mtls-certificate delete" headingLevel={3} />
Expand Down Expand Up @@ -892,7 +907,7 @@
Success! Uploaded mTLS Certificate my-origin-cert
ID: 99f5fef1-6cc1-46b8-bd79-44a0d5082b8d
Issuer: CN=my-secured-origin.com,OU=my-team,O=my-org,L=San Francisco,ST=California,C=US
Expires: 1/01/2025

Check warning on line 910 in src/content/docs/workers/wrangler/commands.mdx

View workflow job for this annotation

GitHub Actions / Semgrep

semgrep.style-guide-potential-date-year

Potential year found. Documentation should strive to represent universal truth, not something time-bound. (add [skip style guide checks] to commit message to skip)
```

Note that the certificate and private keys must be in separate (typically `.pem`) files when uploading.
Expand Down
4 changes: 4 additions & 0 deletions src/content/docs/workflows/build/rules-of-workflows.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,10 @@ export default {

</TypeScriptExample>

### Limit timeouts to 30 minutes or less

When setting a [WorkflowStep timeout](/workflows/build/workers-api/#workflowstep), ensure that its duration is 30 minutes or less. If your use case requires a timeout greater than 30 minutes, consider using `step.waitForEvent()` instead.

### Keep step return values under 1 MiB

Each step can persist up to 1 MiB (2^20 bytes) of state. If your step returns data exceeding this limit, the step will fail. This is a common issue when fetching large API responses or processing large files.
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/workflows/build/trigger-workflows.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -204,4 +204,4 @@ Refer to the [Workflows REST API documentation](/api/resources/workflows/subreso

## Command line (CLI)

Refer to the [CLI quick start](/workflows/get-started/cli-quick-start/) to learn more about how to manage and trigger Workflows via the command-line.
Refer to the [CLI quick start](/workflows/get-started/guide/) to learn more about how to manage and trigger Workflows via the command-line.
270 changes: 0 additions & 270 deletions src/content/docs/workflows/get-started/cli-quick-start.mdx

This file was deleted.

Loading