chore: replace dev.coder.com with dogfood.cdr.dev (#29250)

The dogfood deployment moved to `dogfood.cdr.dev`. Update the Vite and
Storybook dev server `allowedHosts`, the dogfood template AI gateway
URLs and boundary allowlist, and internal comments and workflow notes
that refer to the deployment.

Customer-facing docs, illustrative examples, test fixtures, mocks, and
Helm golden files are left unchanged.

Generated by Coder Agents on behalf of @f0ssel.
This commit is contained in:
Garrett Delfosse
2026-09-11 21:14:39 +00:00
committed by GitHub
parent 18c637101c
commit c26a6b86a9
9 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -1407,7 +1407,7 @@ jobs:
GCLOUD_ACCESS_TOKEN: ${{ steps.gcloud_auth.outputs.access_token }}
JSIGN_PATH: /tmp/jsign-6.0.jar
# Enable React profiling build and discoverable source maps
# for the dogfood deployment (dev.coder.com). This also
# for the dogfood deployment (dogfood.cdr.dev). This also
# applies to release/* branch builds, but those still
# produce coder-preview images, not release images.
# Release images are built by release.yaml (no profiling).
+1 -1
View File
@@ -27,7 +27,7 @@ on:
# above before any push, so a broken image never reaches Docker
# Hub.
# `deploy_template` runs `terraform apply` and creates new
# `coderd_template` versions on dev.coder.com whose `name` is the
# `coderd_template` versions on dogfood.cdr.dev whose `name` is the
# commit short SHA. Content is unchanged when `dogfood/**` is
# unchanged, so the new versions are cosmetic.
push:
+1 -1
View File
@@ -4,7 +4,7 @@ allowlist:
- method=GET domain=*.typicode.com
# Coder Dogfood Deployment
- domain=dev.coder.com
- domain=dogfood.cdr.dev
# Domain used in coder workspaces
- method=POST domain=http-intake.logs.datadoghq.com
+1 -1
View File
@@ -11,7 +11,7 @@ The following explains how to do certain things related to dogfooding.
### Dogfood using Coder's Deployment
1. Go to
[https://dev.coder.com/templates/coder-ts](https://dev.coder.com/templates/coder-ts)
[https://dogfood.cdr.dev/templates/coder-ts](https://dogfood.cdr.dev/templates/coder-ts)
1. If you don't have an account, sign in with GitHub
2. If you see a dialog/pop-up, hit "Cancel" (this is because of Rippling)
2. Create a workspace
+1 -1
View File
@@ -728,7 +728,7 @@ resource "coder_devcontainer" "coder" {
workspace_folder = local.repo_dir
}
# Add a cost so we get some quota usage in dev.coder.com
# Add a cost so we get some quota usage in dogfood.cdr.dev
resource "coder_metadata" "home_volume" {
resource_id = docker_volume.home_volume.id
daily_cost = 1
+2 -2
View File
@@ -323,9 +323,9 @@ resource "coder_agent" "dev" {
OIDC_TOKEN : data.coder_workspace_owner.me.oidc_access_token,
},
data.coder_parameter.use_ai_gateway.value ? {
ANTHROPIC_BASE_URL : "https://dev.coder.com/api/v2/ai-gateway/anthropic",
ANTHROPIC_BASE_URL : "https://dogfood.cdr.dev/api/v2/ai-gateway/anthropic",
ANTHROPIC_AUTH_TOKEN : data.coder_workspace_owner.me.session_token,
OPENAI_BASE_URL : "https://dev.coder.com/api/v2/ai-gateway/openai/v1",
OPENAI_BASE_URL : "https://dogfood.cdr.dev/api/v2/ai-gateway/openai/v1",
OPENAI_API_KEY : data.coder_workspace_owner.me.session_token,
} : {}
)
+1 -1
View File
@@ -9,7 +9,7 @@ SCRIPT_DIR=$(dirname "${BASH_SOURCE[0]}")
source "${SCRIPT_DIR}/lib.sh"
# Ensure that extant environment variables do not override
# the config dir we use to override auth for dev.coder.com.
# the config dir we use to override auth for dogfood.cdr.dev.
unset CODER_SESSION_TOKEN
unset CODER_URL
+2 -2
View File
@@ -19,7 +19,7 @@ export default {
},
core: {
allowedHosts: [".coder", ".dev.coder.com"],
allowedHosts: [".coder", ".dogfood.cdr.dev"],
},
async viteFinal(config) {
@@ -28,7 +28,7 @@ export default {
// port sharing.
config.server = {
...config.server,
allowedHosts: [".coder", ".dev.coder.com"],
allowedHosts: [".coder", ".dogfood.cdr.dev"],
};
return config;
},
+1 -1
View File
@@ -163,7 +163,7 @@ export default defineConfig({
secure: process.env.NODE_ENV === "production",
},
},
allowedHosts: [".coder", ".dev.coder.com"],
allowedHosts: [".coder", ".dogfood.cdr.dev"],
},
// Pre-bundle deps that Vite tends to discover late. Without this, Vite
// re-optimizes mid-session which returns 504 "Outdated Optimize Dep" for