Skip to content

chore(drift): verify claude-sonnet-4-5 retirement impact (no change needed) - #649

Closed
jpr5 wants to merge 2 commits into
mainfrom
fix/drift-sonnet-4-5-retired
Closed

jpr5 wants to merge 2 commits into
mainfrom
fix/drift-sonnet-4-5-retired

Conversation

@jpr5

@jpr5 jpr5 commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Anthropic retired Claude Sonnet 4.5 (claude-sonnet-4-5) on Mon Nov 30 2026. This PR checked, with live evidence, whether the nightly drift suite breaks because of it.

Result: no drift-suite code change is needed. No live drift call to the retired model fails. The net diff of this PR is empty. A temporary diagnostic commit collected the evidence and was then reverted. This draft is kept only as the record of the investigation.

Live evidence (RED probe on unchanged code, Drift Tests run 46534515133, job drift-live-pr, about 3:10 PM PST)

Raw Anthropic responses from the diagnostic step:

Request Status Body
GET /v1/models/claude-sonnet-4-5, no anthropic-version (this is the drift test's request) 400 invalid_request_error: anthropic-version: header is required
GET /v1/models/claude-sonnet-4-5, with version 404 not_found_error: model: claude-sonnet-4-5
POST /v1/messages model claude-sonnet-4-5 404 not_found_error: model: claude-sonnet-4-5 was not found. It was retired on 2026-11-30.
GET /v1/models/claude-sonnet-5-5, with version 200 lifecycle: active
POST /v1/messages model claude-sonnet-5-5 200 real assistant turn

The only drift test that sends a live request with claude-sonnet-4-5 in it is the vendor case vendor:anthropic-model-detail-missing-version-enforce (src/__tests__/drift/models.drift.ts:214). It deliberately omits anthropic-version. Anthropic checks the header before it resolves the model, so it still returns the exact expected 400. No drift test sends /v1/messages with claude-sonnet-4-5 (anthropic.drift.ts uses claude-sonnet-4-6).

The head drift report, run live after the retirement, is identical to the base report from the last nightly run before the retirement (run 46364775345). Both have the same 3 pre-existing entries (Anthropic native auth/version x2, Gemini native auth). There is no new entry.

Bedrock

Not in the drift-live-pr job (the Bedrock leg runs only on main). Probed directly in account 058264219587, us-west-2, at 3:11 PM PST:

  • Converse on us.anthropic.claude-sonnet-4-5-20250929-v1:0: stopReason: end_turn, real text.
  • InvokeModel on the same profile: 200, model: claude-sonnet-4-5-20250929, stop_reason: end_turn.
  • The inference profile status is ACTIVE.

Bedrock still serves Sonnet 4.5. The CI role aimock-daily-bedrock-drift is also IAM-pinned to that exact profile, so changing P1_BEDROCK_MODEL_ID would break the leg. Bedrock is left unchanged.

Model registry

claude-sonnet-4-5 stays in includeFamilies.anthropic. The precedent (commit 318b610, the 2026-08-07 Claude 3.x / 4.0 retirements) is that scripts/drift-sync.ts mechanically appends a family to deprecatedFamilies when the family leaves the live listing. Nobody edits it by hand.

Not changed

Unit-test and golden fixtures that use claude-sonnet-4-5 as a plain string. They never call a provider.

@pkg-pr-new

pkg-pr-new Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@copilotkit/aimock@649

commit: 65964aa

@jpr5 jpr5 changed the title fix(drift): handle claude-sonnet-4-5 retirement in live drift probes chore(drift): verify claude-sonnet-4-5 retirement impact (no change needed) Nov 30, 2026
@jpr5

jpr5 commented Nov 30, 2026

Copy link
Copy Markdown
Contributor Author

Evidence only. Sonnet 4.5's retirement doesn't break any live drift call. Closing.

@jpr5 jpr5 closed this Nov 30, 2026
@jpr5
jpr5 deleted the fix/drift-sonnet-4-5-retired branch November 30, 2026 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant