Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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 @@ -566,7 +566,7 @@
async fetch(req: Request, env: Env): Promise<Response> {
let instances = [
{ id: "user1", params: { name: "John" } },
{ id: "user2", params: { name: "Jane" } },

Check warning on line 569 in src/content/docs/workflows/build/rules-of-workflows.mdx

View workflow job for this annotation

GitHub Actions / Semgrep

semgrep.style-guide-potential-date-month

Potential month found. Documentation should strive to represent universal truth, not something time-bound. (add [skip style guide checks] to commit message to skip)
{ id: "user3", params: { name: "Alice" } },
{ id: "user4", params: { name: "Bob" } },
];
Expand All @@ -589,6 +589,10 @@

</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
Loading