From c2dbe60147b1f2660c76fcbb85040bef6c6e392a Mon Sep 17 00:00:00 2001 From: Jordan Ritter Date: Mon, 30 Nov 2026 15:12:31 -0800 Subject: [PATCH 1/2] ci(drift): temporary diagnostic probe for claude-sonnet-4-5 retirement --- .github/workflows/test-drift.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/test-drift.yml b/.github/workflows/test-drift.yml index 9feb6933..fdce1701 100644 --- a/.github/workflows/test-drift.yml +++ b/.github/workflows/test-drift.yml @@ -714,6 +714,22 @@ jobs: node-version: 24 cache: pnpm - run: pnpm install --frozen-lockfile + - name: "DIAG (temporary): Anthropic claude-sonnet-4-5 retirement probe" + run: | + probe() { + echo "=== $1 $2 (version header: $3)" + if [ "$3" = yes ]; then vh=(-H "anthropic-version: 2023-06-01"); else vh=(); fi + if [ "$1" = GET ]; then + curl -sS -w "\nHTTP %{http_code}\n" "https://api.anthropic.com$2" -H "x-api-key: $ANTHROPIC_API_KEY" "${vh[@]}" + else + curl -sS -w "\nHTTP %{http_code}\n" "https://api.anthropic.com/v1/messages" -H "x-api-key: $ANTHROPIC_API_KEY" "${vh[@]}" -H "content-type: application/json" -d "{\"model\":\"$2\",\"max_tokens\":8,\"messages\":[{\"role\":\"user\",\"content\":\"hi\"}]}" + fi + } + for m in claude-sonnet-4-5 claude-sonnet-5-5; do + probe GET "/v1/models/$m" no + probe GET "/v1/models/$m" yes + probe POST "$m" yes + done # ---- PR preflight — per-provider key triage (graceful degradation) --- # The PR-scoped live leg must NOT hard-block a drift-code PR merely because From 65964aa32710f784da804c50de650666d10d88de Mon Sep 17 00:00:00 2001 From: Jordan Ritter Date: Mon, 30 Nov 2026 15:17:06 -0800 Subject: [PATCH 2/2] Revert "ci(drift): temporary diagnostic probe for claude-sonnet-4-5 retirement" This reverts commit c2dbe60147b1f2660c76fcbb85040bef6c6e392a. --- .github/workflows/test-drift.yml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/.github/workflows/test-drift.yml b/.github/workflows/test-drift.yml index fdce1701..9feb6933 100644 --- a/.github/workflows/test-drift.yml +++ b/.github/workflows/test-drift.yml @@ -714,22 +714,6 @@ jobs: node-version: 24 cache: pnpm - run: pnpm install --frozen-lockfile - - name: "DIAG (temporary): Anthropic claude-sonnet-4-5 retirement probe" - run: | - probe() { - echo "=== $1 $2 (version header: $3)" - if [ "$3" = yes ]; then vh=(-H "anthropic-version: 2023-06-01"); else vh=(); fi - if [ "$1" = GET ]; then - curl -sS -w "\nHTTP %{http_code}\n" "https://api.anthropic.com$2" -H "x-api-key: $ANTHROPIC_API_KEY" "${vh[@]}" - else - curl -sS -w "\nHTTP %{http_code}\n" "https://api.anthropic.com/v1/messages" -H "x-api-key: $ANTHROPIC_API_KEY" "${vh[@]}" -H "content-type: application/json" -d "{\"model\":\"$2\",\"max_tokens\":8,\"messages\":[{\"role\":\"user\",\"content\":\"hi\"}]}" - fi - } - for m in claude-sonnet-4-5 claude-sonnet-5-5; do - probe GET "/v1/models/$m" no - probe GET "/v1/models/$m" yes - probe POST "$m" yes - done # ---- PR preflight — per-provider key triage (graceful degradation) --- # The PR-scoped live leg must NOT hard-block a drift-code PR merely because