From 69f5ac17c4423060c446dc6b040ae20052c27252 Mon Sep 17 00:00:00 2001 From: Danny Kopping Date: Tue, 8 Sep 2026 11:05:08 +0200 Subject: [PATCH] fix(.github/workflows): use canonical dogfood deployment URL (#29075) Use `https://dogfood.cdr.dev` directly when deploying dogfood templates. The legacy hostname returns a 301 redirect, converting upload POST requests into GET requests that fail with HTTP 405. Refs https://github.com/coder/coder/actions/runs/34145739247/job/101967393279
Diagnosis evidence The job failed uploading all three template archives after Terraform validation and authenticated reads succeeded. An unauthenticated empty POST to the legacy upload URL confirmed the 301 redirect to the canonical hostname. This change avoids that redirect without changing the provider or template configuration.
Generated by Coder Agents on behalf of @dannykopping. --- .github/workflows/dogfood.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dogfood.yaml b/.github/workflows/dogfood.yaml index 317dfb5baca..80b7f6baa67 100644 --- a/.github/workflows/dogfood.yaml +++ b/.github/workflows/dogfood.yaml @@ -314,7 +314,7 @@ jobs: terraform apply -auto-approve env: # Consumed by coderd provider - CODER_URL: https://dev.coder.com + CODER_URL: https://dogfood.cdr.dev CODER_SESSION_TOKEN: ${{ secrets.CODER_SESSION_TOKEN }} # Template source & details TF_VAR_CODER_DOGFOOD_ANTHROPIC_API_KEY: ${{ secrets.CODER_DOGFOOD_ANTHROPIC_API_KEY }}