Skip to content

[Workers for Platforms] Document that dispatch namespaces cannot be renamed - #35496

Merged
yomna-shousha merged 5 commits into
productionfrom
wfp-namespace-rename-disallowed
Nov 20, 2026
Merged

yomna-shousha merged 5 commits into
productionfrom
wfp-namespace-rename-disallowed

Conversation

@for-the-kidz

@for-the-kidz for-the-kidz commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Do not merge yet. The API change has not been released. The changelog date will be updated to the release date before merge.

Summary

Changelog and docs for removing dispatch namespace renames from Workers for Platforms. A PUT or PATCH request to the dispatch namespace API that changes name will return 400 with error code 100413, and so will wrangler dispatch-namespace rename. Dispatch Workers and outbound Workers keep the namespace name they were deployed with, so a rename could leave API reads, deploys and deletes of those Workers failing.

Updating trusted_workers is unchanged. A PUT request that sends the current name works as before, as does a PATCH request that omits name.

Changes

  • Changelog: src/content/changelog/workers-for-platforms/2026-11-20-dispatch-namespace-rename-removed.mdx, including the 100413 error message
  • How Workers for Platforms works: the Dispatch namespace section now says namespaces cannot be renamed, names the 100413 error, and explains how to move Workers to a namespace with a new name.
  • Wrangler commands > Workers for Platforms: replaces the dispatch-namespace rename reference with a note that the command returns error 100413.
  • Workers errors: adds 100413 to the Workers API error code table.

Documentation checklist

🤖 Generated with Claude Code

…enamed

The Workers API is dropping support for renaming a dispatch namespace.
Dispatch Workers and outbound Workers keep the namespace name they were
deployed with, so a rename could leave API reads, deploys and deletes of
those Workers failing.

Add a changelog entry, say on the dispatch namespace concept page that
names are permanent and how to move Workers to a new name, and replace
the `wrangler dispatch-namespace rename` reference with a note that the
command returns an error.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@yomna-shousha
yomna-shousha marked this pull request as ready for review November 20, 2026 17:30
@cloudflare-docs-bot

cloudflare-docs-bot Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

AI Review

✅ Reviewed ff70382 · 1 finding · incremental

👉 Fix in your agent 👈
Fix the following review findings in PR #35496 (https://github.com/cloudflare/cloudflare-docs/pull/35496).

Before making changes, review each finding and present a brief summary table:
- For each finding, state whether you agree, disagree, or need clarification.
- If you disagree, explain why.
- If you need clarification before deciding, ask those questions.
- Then share your plan for which issues to tackle and in what order.

After triaging, follow this order:
1. Post a comment on this PR for any findings you are skipping, with the finding ID and your reasoning.
2. Then commit the fixes for the legitimate findings.

The comment must come before the commit because the next review reads PR comments.

## Style Guide
- S-007542d0 | src/content/docs/workers/wrangler/commands/workers-for-platforms.mdx:26 | Second `:::note` admonition stacked on the same page section
  The new note is placed directly after an existing `:::note` (the deletion caveat above it), so this section now contains two consecutive admonitions of the same type. The rename caveat could be folded into that existing note or written as plain prose instead of a second block.

Style Guide

  • src/content/docs/workers/wrangler/commands/workers-for-platforms.mdx:26 · Second :::note admonition stacked on the same page section

    The new note is placed directly after an existing :::note (the deletion caveat above it), so this section now contains two consecutive admonitions of the same type. The rename caveat could be folded into that existing note or written as plain prose instead of a second block.

Commands
  • /review Run a review now.
  • /full-review Review the entire PR diff.
  • /disable-auto-review Stop automatic reviews.
  • /rebase Rebase against production.

for-the-kidz and others added 2 commits November 20, 2026 12:31
A request that changes a dispatch namespace's name returns 400 with
error code 100413. Name the code in the changelog, the dispatch
namespace concept page and the Wrangler commands note, and quote the
error message in the changelog so customers can match what they see.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The Workers errors page is where the Workers API error codes are listed.
Add the code that a dispatch namespace update returns when it tries to
change the namespace name.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@yomna-shousha
yomna-shousha added this pull request to the merge queue Nov 20, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://wfp-namespace-rename-disallowed.previews.developers.cloudflare.com (commit ff70382)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://cd50844a.previews.developers.cloudflare.com 9913498 2026-11-20T17:41:26.652Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://472f5e4f.previews.developers.cloudflare.com cf83ab9 2026-11-20T17:29:04.828Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://76d263e0.previews.developers.cloudflare.com ff70382 2026-11-20T17:53:19.561Z Visit the dashboard ↗

Merged via the queue into production with commit dc14acb Nov 20, 2026
13 checks passed
@yomna-shousha
yomna-shousha deleted the wfp-namespace-rename-disallowed branch November 20, 2026 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants