Dispatch namespace名、Workerの命名規則に統一
原題: Dispatch namespace names now follow Worker naming rules
changelog / Compute / Workers for Platforms / 2026/11/25 09:00 JST
Cloudflareは、Workers for PlatformsのDispatch namespace名に、Workerと同じ命名規則を適用すると発表した。新規作成するnamespace名は小文字・数字・アンダースコア・ハイフンのみで、先頭はハイフン以外、256文字以内でなければならない。従来はスラッシュやパーセント、スペース、大文字なども使えたが、APIリクエストが失敗する原因になっていた。既存のnamespaceには影響しない。Workers for PlatformsでマルチテナントのWorkerを運用する開発者は、新規作成時の命名に注意したい。
出典サイトで原文を開く → 出典サイトの説明: New dispatch namespace names can only use lowercase letters, numbers, underscores, and dashes, and must start with a letter, number, or underscore.
New dispatch namespace names must: Use only lowercase letters, numbers, underscores ( _ ), and dashes ( - ). Start with a letter, number, or underscore. Be 256 characters or fewer. Previously, namespace names could contain characters such as / , % , spaces, and uppercase letters. Some of these characters could cause API requests to read, deploy, or delete Workers in the namespace to fail. What changes: POST requests to the dispatch namespace API return a 400 error with code 100120 if name does not meet these requirements: Invalid dispatch namespace name. Ensure it does not already exist and uses only lowercase letters, numbers, underscores and dashes (do not start with a dash). wrangler dispatch-namespace create returns the same 100120 error. Terraform applies that create a cloudflare_workers_for_platforms_dispatch_namespace resource with an invalid name fail. Existing namespaces are not affected. These are the same naming rules that apply to Worker names. For more information, refer to How Workers for Platforms works .
出典: 公式ページ