Live
Pod‑Level GPU Cost Tracking in Kubernetes with CloudBoltShadow AI: Operational Risks and Practical Guardrails for EngineersAI code generation delivers a 45k‑line data pipeline in 7 hours – practical takeaways for engineersAzure AI Gateway Hits GA as a Dedicated Service for Model Access GovernanceAWS Nitro Sandboxes Enable Isolated AI Agent Execution on Shared EC2 NodesPyTorch Adds GreenLight AI Reviewer for Auto‑Approving Low‑Risk Pull RequestsCognition’s SWE‑2.1 Ultrafast delivers 10× coding model speedup on CerebrasAI‑driven troubleshooting and unified self‑service in VMware Cloud Foundation and VKSPod‑Level GPU Cost Tracking in Kubernetes with CloudBoltShadow AI: Operational Risks and Practical Guardrails for EngineersAI code generation delivers a 45k‑line data pipeline in 7 hours – practical takeaways for engineersAzure AI Gateway Hits GA as a Dedicated Service for Model Access GovernanceAWS Nitro Sandboxes Enable Isolated AI Agent Execution on Shared EC2 NodesPyTorch Adds GreenLight AI Reviewer for Auto‑Approving Low‑Risk Pull RequestsCognition’s SWE‑2.1 Ultrafast delivers 10× coding model speedup on CerebrasAI‑driven troubleshooting and unified self‑service in VMware Cloud Foundation and VKS
Cloudflare

Dispatch Namespace Naming Tightened: New Validation Affects API, Wrangler, and Terraform

AI SummaryPowered by AI

Cloudflare now enforces lowercase letters, numbers, underscores, and dashes for dispatch namespace names, requiring them to start with a letter, number, or underscore and be 256 characters or fewer. The stricter validation causes create operations via the API, Wrangler CLI, and Terraform to reject non‑conforming names, so engineers must audit naming conventions to avoid deployment failures.

Cloudflare has updated the rules governing dispatch namespace naming. Names must now consist solely of lowercase letters, digits, underscores, or dashes, begin with a letter, digit, or underscore, and be no longer than 256 characters. The change aligns dispatch namespace names with the existing worker‑name constraints.

What Changed

Previously, a dispatch namespace could include characters such as slashes, percent signs, spaces, and uppercase letters. Those characters sometimes broke API calls that read, deploy, or delete workers within the namespace. The new validation rejects any name that does not meet the stricter pattern, returning a 400 response with error code 100120.

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).

Impact on Tooling and Automation

Three primary interfaces now surface the validation error:

  • POST to the dispatch namespace creation endpoint returns 400/100120 for invalid names.
  • The wrangler dispatch-namespace create command mirrors the same error code.
  • Terraform resources of type cloudflare_workers_for_platforms_dispatch_namespace fail during apply if the name attribute violates the new rules.

Existing namespaces remain functional; the rule only applies to new creations.

Operational and Security Considerations

From an operational standpoint, the change reduces the likelihood of malformed API requests that could cause silent failures or require manual remediation. For security‑focused teams, limiting the character set eliminates edge‑case parsing issues that might be exploited in downstream services that assume well‑formed identifiers.

Practitioners should review any CI/CD pipelines, IaC templates, or scripts that generate namespace names dynamically. Automated checks that enforce the new pattern can prevent build breaks. If a legacy namespace uses prohibited characters, it will continue to work, but any attempt to clone or recreate it with a new name must follow the updated rules.

Related CloudNinjas coverage: hands-on guides.

What This Means For Practitioners

Audit your naming conventions now and update any tooling that constructs dispatch namespace identifiers. Add a simple regex check—^[a-z0-9_-][a-z0-9_-]{0,255}$—to validation steps in CI pipelines, Terraform modules, and Wrangler wrappers. By aligning with the new constraints, you avoid unexpected 400 errors, keep deployment automation smooth, and maintain a cleaner surface for downstream services that consume namespace identifiers.

Originally published atCloudflare Developer Platform