Skip to content

[Workers] Update Worker size limit docs#31002

Draft
for-the-kidz wants to merge 1 commit into
productionfrom
for-the-kidz/update-workers-size-limits
Draft

[Workers] Update Worker size limit docs#31002
for-the-kidz wants to merge 1 commit into
productionfrom
for-the-kidz/update-workers-size-limits

Conversation

@for-the-kidz
Copy link
Copy Markdown

Summary

Updates the Workers, Workflows, and Agents limits docs for WC-4489. The Worker size limit is now documented as a single 64 MiB uncompressed limit on all Workers plans, matching the removal of the former compressed 3 MB/10 MB limit and the Wrangler bundle-size reporter behavior in cloudflare/workers-sdk#14001.

Documentation checklist

@github-actions github-actions Bot added product:workers Related to Workers product product:workflows Workflows: https://developers.cloudflare.com/workflows/ product:agents Build and deploy AI-powered Agents on Cloudflare that can act autonomously. labels May 22, 2026
@github-actions
Copy link
Copy Markdown
Contributor

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/content/docs/agents/ @irvinebroque, @rita3ko, @elithrar, @thomasgauvin, @threepointone, @whoiskatrin, @cloudflare/product-owners, @cloudflare/ai-agents, @cloudflare/dev-plat-leads
/src/content/docs/workers/ @cloudflare/workers-docs, @GregBrimble, @irvinebroque, @mikenomitch, @korinne, @WalshyDev, @cloudflare/deploy-config, @cloudflare/product-owners, @cloudflare/wrangler, @MattieTK, @cloudflare/dev-plat-leads
/src/content/docs/workflows/ @elithrar, @celso, @mia303, @jonesphillip, @cloudflare/product-owners

Copy link
Copy Markdown
Contributor

@ask-bonk ask-bonk Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 issues need attention before merge.

MEDIUMsrc/content/docs/workers/platform/limits.mdx:272: The output code block should use txt output (with the output suffix) per the style guide for showing command output.

MEDIUM — This PR removes the compressed size limit and unifies the uncompressed limit across plans, which is a user-facing change. It should include a changelog entry per the documentation checklist.

Out of scope: The workflows limits table has pre-existing unit spacing inconsistencies (1MiB, 100MB) that violate the style guide, but those are unchanged in this PR.

```sh
wrangler deploy --outdir bundled/ --dry-run
```

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add the output suffix per the style guide for command output blocks:

Suggested change
```txt output

@ask-bonk
Copy link
Copy Markdown
Contributor

ask-bonk Bot commented May 22, 2026

Posted a review on PR #31002.

Summary of changes

  • Workers limits (src/content/docs/workers/platform/limits.mdx): Removes the separate compressed size limit (3 MB Free / 10 MB Paid) and documents a single 64 MiB uncompressed limit across all plans. Updates the wrangler deploy output example and clarifies that Total Upload is the uncompressed size.
  • Workflows limits (src/content/docs/workflows/reference/limits.mdx): Updates the "Workflow class definitions per script" row from 3 MB / 10 MB to 64 MiB uncompressed for both plans, links to the #worker-size anchor, and fixes a missing closing parenthesis in the "Total scripts per account" row.
  • Agents limits (src/content/docs/agents/platform/limits.mdx): Updates footnote [^2] to reflect the 64 MiB uncompressed limit on all plans.

Issues flagged

  • MEDIUM — The output code block in workers/platform/limits.mdx should use txt output (with the output suffix) per the style guide. Posted an inline suggestion.
  • MEDIUM — The PR changes user-facing limits and should include a changelog entry (checklist item is currently unchecked).

Labels
The PR already has the correct product labels (product:workers, product:workflows, product:agents, size/s). No additional labels were needed.

github run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:agents Build and deploy AI-powered Agents on Cloudflare that can act autonomously. product:workers Related to Workers product product:workflows Workflows: https://developers.cloudflare.com/workflows/ size/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.