Skip to content

feat: ImageProvider — multi-provider image generation (#9) #4

feat: ImageProvider — multi-provider image generation (#9)

feat: ImageProvider — multi-provider image generation (#9) #4

Triggered via push April 1, 2026 15:54
Status Failure
Total duration 23s
Artifacts

ci.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 3 warnings
test (22)
Process completed with exit code 1.
src/__tests__/cerebras.test.ts > CerebrasProvider > metrics > should track metrics on failed request: src/__tests__/cerebras.test.ts#L311
AssertionError: promise resolved "{ id: 'chatcmpl-123', …(9) }" instead of rejecting - Expected + Received - [Error: rejected promise] + Object { + "content": "Hello!", + "finishReason": "stop", + "id": "chatcmpl-123", + "message": "Hello!", + "metadata": Object { + "created": 1700000000, + "systemFingerprint": undefined, + }, + "model": "llama-3.1-8b", + "provider": "cerebras", + "responseTime": 0, + "toolCalls": undefined, + "usage": Object { + "cost": 0.0000015000000000000002, + "inputTokens": 10, + "outputTokens": 5, + "totalTokens": 15, + }, + } ❯ src/__tests__/cerebras.test.ts:311:58
src/__tests__/cerebras.test.ts > CerebrasProvider > metrics > should track metrics on successful request: src/utils/circuit-breaker.ts#L91
LLMProviderError: Circuit breaker rejected request for provider: cerebras. ❯ CircuitBreaker.exec src/utils/circuit-breaker.ts:91:13 ❯ CircuitBreaker.execute src/utils/circuit-breaker.ts:70:17 ❯ CerebrasProvider.executeWithResiliency src/providers/base.ts:129:37 ❯ CerebrasProvider.generateResponse src/providers/cerebras.ts:103:35 ❯ src/__tests__/cerebras.test.ts:294:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'CIRCUIT_BREAKER_OPEN', provider: 'cerebras', retryable: true, statusCode: undefined, rateLimited: undefined, quotaExceeded: undefined, retryAfterSec: +0, consecutiveFailures: 1 }
test (18)
The strategy configuration was canceled because "test._22" failed
test (18)
Process completed with exit code 1.
src/__tests__/groq.test.ts > GroqProvider > metrics > should track metrics on successful request: src/utils/circuit-breaker.ts#L91
LLMProviderError: Circuit breaker rejected request for provider: groq. ❯ CircuitBreaker.exec src/utils/circuit-breaker.ts:91:13 ❯ CircuitBreaker.execute src/utils/circuit-breaker.ts:70:17 ❯ GroqProvider.executeWithResiliency src/providers/base.ts:129:37 ❯ GroqProvider.generateResponse src/providers/groq.ts:78:35 ❯ src/__tests__/groq.test.ts:292:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'CIRCUIT_BREAKER_OPEN', provider: 'groq', retryable: true, statusCode: undefined, rateLimited: undefined, quotaExceeded: undefined, retryAfterSec: +0, consecutiveFailures: 1 }
test (20)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (22)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (18)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/