Skip to content

feat: [ENG-2998] Anthropic mapping to v1/messages on gateway #1178

feat: [ENG-2998] Anthropic mapping to v1/messages on gateway

feat: [ENG-2998] Anthropic mapping to v1/messages on gateway #1178

Triggered via pull request September 11, 2025 23:28
Status Failure
Total duration 49s
Artifacts

worker-test.yml

on: pull_request
Worker AI Gateway Tests
42s
Worker AI Gateway Tests
Fit to window
Zoom out
Zoom in

Annotations

9 errors
Worker AI Gateway Tests
Process completed with exit code 1.
registry-ts.spec.ts > Registry Tests > BYOK Tests > anthropic - claude-3.5-haiku - BYOK direct: worker/test/ai-gateway/registry-ts.spec.ts#L279
TypeError: Body has already been used. It can only be used once. Use tee() first if you need to read it twice. ❯ registry-ts.spec.ts:279:26 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { remote: true }
registry-ts.spec.ts > Registry Tests > BYOK Tests > anthropic - claude-3.5-sonnet-v2 - BYOK direct: worker/test/ai-gateway/registry-ts.spec.ts#L279
TypeError: Body has already been used. It can only be used once. Use tee() first if you need to read it twice. ❯ registry-ts.spec.ts:279:26 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { remote: true }
registry-ts.spec.ts > Registry Tests > BYOK Tests > anthropic - claude-3.7-sonnet - BYOK direct: worker/test/ai-gateway/registry-ts.spec.ts#L279
TypeError: Body has already been used. It can only be used once. Use tee() first if you need to read it twice. ❯ registry-ts.spec.ts:279:26 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { remote: true }
registry-ts.spec.ts > Registry Tests > BYOK Tests > anthropic - claude-sonnet-4 - BYOK direct: worker/test/ai-gateway/registry-ts.spec.ts#L279
TypeError: Body has already been used. It can only be used once. Use tee() first if you need to read it twice. ❯ registry-ts.spec.ts:279:26 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { remote: true }
registry-ts.spec.ts > Registry Tests > BYOK Tests > anthropic - claude-opus-4 - BYOK direct: worker/test/ai-gateway/registry-ts.spec.ts#L279
TypeError: Body has already been used. It can only be used once. Use tee() first if you need to read it twice. ❯ registry-ts.spec.ts:279:26 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { remote: true }
registry-ts.spec.ts > Registry Tests > BYOK Tests > anthropic - claude-opus-4-1 - BYOK direct: worker/test/ai-gateway/registry-ts.spec.ts#L279
TypeError: Body has already been used. It can only be used once. Use tee() first if you need to read it twice. ❯ registry-ts.spec.ts:279:26 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { remote: true }
pass-through.spec.ts > Pass-Through Tests > Customer-Specific Tests > Mixed provider fallback scenarios > should fallback from Groq to OpenAI to Anthropic: worker/test/ai-gateway/test-framework.ts#L254
AssertionError: expected 429 to be 200 // Object.is equality - Expected + Received - 200 + 429 ❯ runGatewayTest test-framework.ts:254:27
pass-through.spec.ts > Pass-Through Tests > Customer-Specific Tests > Fallback with comma-separated models > should try bedrock first, then fallback to anthropic: worker/test/ai-gateway/test-framework.ts#L254
AssertionError: expected 500 to be 200 // Object.is equality - Expected + Received - 200 + 500 ❯ runGatewayTest test-framework.ts:254:27