Worker environments inconsistency

Can somebody explain why there is such inconsistency in docs https://developers.cloudflare.com/workers/platform/environments#naming ?

  1. Docs say that one can create different environments for the same worker service
  2. But then wrangler.toml requires to have a unique service name for every environment
  3. Which in result creates completely separate worker services with production environments
  4. Wrangler github action also creates separate worker services

The new environments aren’t yet supported in Wrangler. Right now, it will do it the old way (new Worker per env)

I’m not sure when this will be supported but that’s why

Can somebody explain why there is such inconsistency in docs https://developers.cloudflare.com/workers/platform/environments#naming ?

  1. Docs say that one can create different environments for the same worker service
  2. But then wrangler.toml requires to have unique service name for every environment
  3. Which in result creates completely separate worker services with production environments
  4. Wrangler github action also creates separate worker services
1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.