Skip to content

[Workers] Restructure versions and deployments docs#31787

Open
ajhawkings wants to merge 7 commits into
productionfrom
ajhawkings/restructure-versions-and-deployments
Open

[Workers] Restructure versions and deployments docs#31787
ajhawkings wants to merge 7 commits into
productionfrom
ajhawkings/restructure-versions-and-deployments

Conversation

@ajhawkings

@ajhawkings ajhawkings commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

Promotes versions & deployments to a top-level section under Workers and restructures it. Separates out a "deployment management" which allows the overview page to become a proper summary. And separates the instructions for setting up version affinity into a new page.

Aim: make our existing primitives clearer for devs and do groundwork for skew protection and automatic version affinity documentation when they launch

Preview: https://ajhawkings-restructure-versions-and-deployments.preview.developers.cloudflare.com/workers/versions-and-deployments/

Changes

Move versions & deployments to top level

  • Versions and deployments moved from /workers/configuration/versions-and-deployments/ to /workers/versions-and-deployments/
  • This is a growing section with multiple sub-pages (and now subsections) - including version affinity (added in this PR) and skew protection (coming soon). I think it is important for it to be top-level
  • All internal links and redirects updated accordingly

Overview page split into two

  • Overview becomes explainer on what versions and deployments are as separate concepts and the default behaviour
  • New Deployment management page Houses the how-to content for uploading versions without deploying, deploying via Wrangler/dashboard

Gradual deployments section

  • Converted to sub-section with overview page, to cope with a separate version affinity page. This is needed to better document our existing primitives and to do the groundwork for adding more documentation for when we ship automatic version affinity. (durable object gradual deployments also extracted to separate page - I think this works better but not 100% necessary)
  • Added version skew during gradual deployments section: explains the two forms (within a Worker, between Workers) and points to solutions

New Version affinity page

  • Dedicated page explaining the Cloudflare-Workers-Version-Key header nested under Gradual deployments
  • Decision tree for choosing a version key: authenticated apps (user ID), session-based apps, anonymous/cookieless apps (IP-based or self-managed cookie)
  • Static assets section explaining the fingerprinted asset mismatch problem (404s during gradual rollouts)
  • The separate static assets gradual rollouts page included some good guidance but was hidden away under advanced - so has been folded into this page with a redirect created

Documentation checklist

Relocate the versions and deployments pages from
/workers/configuration/versions-and-deployments/ to
/workers/versions-and-deployments/ and update all internal links and
redirects accordingly.
Restructure the versions and deployments section to improve clarity
around gradual deployments, version skew, and version affinity.

Changes:
- Split the overview page into an overview and a separate deployment
  management page
- Convert gradual-deployments into a directory with sub-pages
- Create dedicated version affinity page with decision tree for
  authenticated, session-based, and anonymous applications
- Extract Durable Objects section into its own page under gradual
  deployments
- Add version skew framing to the gradual deployments page
- Add disambiguation note to version overrides page
- Fold static assets gradual rollouts content into version affinity
  page and redirect the old page

Note: The static assets section on the version affinity page is
temporary and will be replaced with a link to skew protection
documentation when that feature launches.
@github-actions github-actions Bot added product:workers Related to Workers product product:rules Related to rules product:cloudflare-for-platforms product:durable-objects Durable Objects: https://developers.cloudflare.com/workers/learning/using-durable-objects/ product:kv product:hyperdrive Hyperdrive: https://developers.cloudflare.com/hyperdrive/ product:changelog product:containers size/xl labels Jun 29, 2026
@github-actions

github-actions Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

This PR changes current filenames or deletes current files. Make sure you have redirects set up to cover the following paths:

  • /workers/configuration/versions-and-deployments/gradual-deployments/
  • /workers/configuration/versions-and-deployments/
  • /workers/configuration/versions-and-deployments/rollbacks/
  • /workers/configuration/versions-and-deployments/version-overrides/

@github-actions

github-actions Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

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

Pattern Owners
/public/__redirects @cloudflare/content-engineering, @cloudflare/product-owners
/src/content/changelog/ @cloudflare/pm-changelogs, @cloudflare/product-owners
/src/content/docs/cloudflare-for-platforms/workers-for-platforms/ @irvinebroque, @dinasaur404, @cloudflare/deploy-config, @cloudflare/product-owners
/src/content/docs/containers/ @mikenomitch, @th0m, @cloudflare/product-owners, @cloudflare/cloudchamber
/src/content/docs/durable-objects/ @elithrar, @rita3ko, @irvinebroque, @vy-ton, @iglesiasbrandon, @joshthoward, @danlapid, @oxyjun, @lambrospetrou, @mikenomitch, @cloudflare/product-owners
/src/content/docs/hyperdrive/ @elithrar, @rita3ko, @irvinebroque, @vy-ton, @ivoryibu, @thomasgauvin, @sejoker, @oxyjun, @knickish, @cloudflare/product-owners
/src/content/docs/kv/ @elithrar, @thomasgauvin, @oxyjun, @cloudflare/product-owners
/src/content/docs/rules/ @pedrosousa, @cloudflare/appsec-reviewers, @elithrar, @smarsh-cf, @maurizioabba, @cloudflare/product-owners
/src/content/docs/workers/ci-cd/ @irvinebroque, @aninibread, @GregBrimble, @ericclemmons, @cloudflare/product-owners, @yomna-shousha, @MattieTK, @vy-ton
/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, @vy-ton
/src/content/docs/workers/observability/ @irvinebroque, @mikenomitch, @nevikashah, @cloudflare/product-owners, @vy-ton
/src/content/docs/workers/static-assets @irvinebroque, @GregBrimble, @WalshyDev, @cloudflare/deploy-config, @cloudflare/product-owners, @MattieTK, @vy-ton
/src/content/docs/workers/wrangler/ @cloudflare/wrangler, @irvinebroque, @cloudflare/product-owners, @MattieTK, @vy-ton
* @cloudflare/product-owners
/src/content/release-notes/workers.yaml @cloudflare/workers-docs, @GregBrimble, @WalshyDev, @aninibread, @cloudflare/deploy-config, @cloudflare/product-owners, @irvinebroque, @mikenomitch, @MattieTK

@github-actions

github-actions Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Preview URL: https://910ca4be.preview.developers.cloudflare.com
Preview Branch URL: https://ajhawkings-restructure-versions-and-deployments.preview.developers.cloudflare.com

Files with changes (up to 15)

Original Link Updated Link
https://developers.cloudflare.com/workers/configuration/versions-and-deployments/gradual-deployments/ https://ajhawkings-restructure-versions-and-deployments.preview.developers.cloudflare.com/workers/configuration/versions-and-deployments/gradual-deployments/
https://developers.cloudflare.com/workers/versions-and-deployments/gradual-deployments/version-affinity/ https://ajhawkings-restructure-versions-and-deployments.preview.developers.cloudflare.com/workers/versions-and-deployments/gradual-deployments/version-affinity/
https://developers.cloudflare.com/workers/versions-and-deployments/gradual-deployments/ https://ajhawkings-restructure-versions-and-deployments.preview.developers.cloudflare.com/workers/versions-and-deployments/gradual-deployments/
https://developers.cloudflare.com/workers/static-assets/routing/advanced/gradual-rollouts/ https://ajhawkings-restructure-versions-and-deployments.preview.developers.cloudflare.com/workers/static-assets/routing/advanced/gradual-rollouts/
https://developers.cloudflare.com/workers/configuration/versions-and-deployments/ https://ajhawkings-restructure-versions-and-deployments.preview.developers.cloudflare.com/workers/configuration/versions-and-deployments/
https://developers.cloudflare.com/workers/versions-and-deployments/deployment-management/ https://ajhawkings-restructure-versions-and-deployments.preview.developers.cloudflare.com/workers/versions-and-deployments/deployment-management/
https://developers.cloudflare.com/workers/versions-and-deployments/version-overrides/ https://ajhawkings-restructure-versions-and-deployments.preview.developers.cloudflare.com/workers/versions-and-deployments/version-overrides/
https://developers.cloudflare.com/workers/versions-and-deployments/ https://ajhawkings-restructure-versions-and-deployments.preview.developers.cloudflare.com/workers/versions-and-deployments/
https://developers.cloudflare.com/workers/versions-and-deployments/gradual-deployments/with-durable-objects/ https://ajhawkings-restructure-versions-and-deployments.preview.developers.cloudflare.com/workers/versions-and-deployments/gradual-deployments/with-durable-objects/
https://developers.cloudflare.com/workers/versions-and-deployments/rollbacks/ https://ajhawkings-restructure-versions-and-deployments.preview.developers.cloudflare.com/workers/versions-and-deployments/rollbacks/
https://developers.cloudflare.com/workers/wrangler/commands/workers/ https://ajhawkings-restructure-versions-and-deployments.preview.developers.cloudflare.com/workers/wrangler/commands/workers/
https://developers.cloudflare.com/workers/configuration/previews/ https://ajhawkings-restructure-versions-and-deployments.preview.developers.cloudflare.com/workers/configuration/previews/
https://developers.cloudflare.com/changelog/post/2025-09-11-increased-version-rollback-limit/ https://ajhawkings-restructure-versions-and-deployments.preview.developers.cloudflare.com/changelog/post/2025-09-11-increased-version-rollback-limit/
https://developers.cloudflare.com/workers/ci-cd/builds/ https://ajhawkings-restructure-versions-and-deployments.preview.developers.cloudflare.com/workers/ci-cd/builds/
https://developers.cloudflare.com/workers/configuration/multipart-upload-metadata/ https://ajhawkings-restructure-versions-and-deployments.preview.developers.cloudflare.com/workers/configuration/multipart-upload-metadata/

@ajhawkings ajhawkings marked this pull request as ready for review June 30, 2026 13:43
@ajhawkings ajhawkings requested a review from irvinebroque as a code owner June 30, 2026 13:43
@cloudflare-docs-bot

cloudflare-docs-bot Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Review

💡 3 suggestions found in commit 910ca4b.

Code Review

This code review is in beta and may not always be helpful — use your judgment.

No code review issues found.

Conventions

Checks PR title, description, and redirect checklist.

No convention issues found.

Style Guide Review

Suggestions (3)
File Issue
workers/versions-and-deployments/deployment-management.mdx line 35 Passive voice — Added line uses passive voice: "Changes made to a Worker's triggers ... need to be applied separately with the command ..." Fix: Rewrite in active voice, e.g., "To apply changes to a Worker's triggers ..., use the command ..." or "Apply changes to a Worker's triggers ... with the command ..."
changelog/workers/2025-09-11-increased-version-rollback-limit.mdx line 18 Use "refer to" instead of "Learn more about" — Line uses "Learn more about versioned deployments and rollbacks." Fix: Rewrite as "For more information, refer to Versioned deployments and Rollbacks."
changelog/workers/2025-02-03-workers-metrics-revamp.mdx line 13 Avoid marketing language — Added line ends with "This new interface enables you to:" Fix: Replace "enables you to" with direct language stating what the interface does.

Redirects

No missing redirect entries found.

Commands

Only codeowners can run commands. Post a comment with the command to trigger it.

Command Description
/review Runs a review now. Incremental if a prior review exists, full if not.
/full-review Re-reviews the entire PR diff from scratch, ignoring incremental history. Useful after a rebase, when you want a fresh review, or if the bot gets out of sync and reports issues that no longer exist.
/ignore-review-limit Permanently lifts the 2-review automatic limit for this PR. Future pushes will trigger reviews as normal.
/disable-auto-review Stops automatic reviews from triggering on future pushes to this PR. Codeowners can still run /review or /full-review manually.

@ajhawkings

Copy link
Copy Markdown
Collaborator Author

/review

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

Labels

product:changelog product:cloudflare-for-platforms product:containers product:durable-objects Durable Objects: https://developers.cloudflare.com/workers/learning/using-durable-objects/ product:hyperdrive Hyperdrive: https://developers.cloudflare.com/hyperdrive/ product:kv product:rules Related to rules product:workers Related to Workers product size/xl

Projects

None yet

Development

Successfully merging this pull request may close these issues.