Skip to content

feat(hosted-key-services) Add hosted key for multiple services #11199

feat(hosted-key-services) Add hosted key for multiple services

feat(hosted-key-services) Add hosted key for multiple services #11199

Triggered via pull request March 7, 2026 21:21
Status Failure
Total duration 1m 19s
Artifacts

ci.yml

on: pull_request
Detect Version
0s
Detect Version
Test and Build  /  Test and Build
1m 8s
Test and Build / Test and Build
Check Docs Changes
0s
Check Docs Changes
Matrix: Build AMD64
Matrix: Build ARM64 (GHCR Only)
Process Docs  /  Process Documentation Embeddings
Process Docs / Process Documentation Embeddings
Matrix: Create GHCR Manifests
Create GitHub Release
Create GitHub Release
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 6 warnings
Test and Build / Test and Build
Process completed with exit code 1.
providers/utils.test.ts > getApiKey > should return empty for ollama provider without requiring API key: apps/sim/providers/utils.test.ts#L152
TypeError: (0 , getApiKey) is not a function ❯ providers/utils.test.ts:152:17
providers/utils.test.ts > getApiKey > should throw error in hosted environment if rotation fails and no user key: apps/sim/providers/utils.test.ts#L110
AssertionError: expected [Function] to throw error including 'No API key available for openai gpt-4o' but got '(0 , getApiKey)…' Expected: "No API key available for openai gpt-4o" Received: "(0 , __vite_ssr_import_2__.getApiKey) is not a function" ❯ providers/utils.test.ts:110:51
providers/utils.test.ts > getApiKey > should fall back to user key in hosted environment if rotation fails: apps/sim/providers/utils.test.ts#L97
TypeError: (0 , getApiKey) is not a function ❯ providers/utils.test.ts:97:17
providers/utils.test.ts > getApiKey > should throw error if no key provided in non-hosted environment: apps/sim/providers/utils.test.ts#L84
AssertionError: expected [Function] to throw error including 'API key is required for openai gpt-4' but got '(0 , getApiKey)…' Expected: "API key is required for openai gpt-4" Received: "(0 , __vite_ssr_import_2__.getApiKey) is not a function" ❯ providers/utils.test.ts:84:48
providers/utils.test.ts > getApiKey > should return user-provided key when not in hosted environment: apps/sim/providers/utils.test.ts#L71
TypeError: (0 , getApiKey) is not a function ❯ providers/utils.test.ts:71:18
Test and Build / Test and Build
sim#test: command (/home/runner/_work/sim/sim/apps/sim) /home/runner/.bun/bin/bun run test exited (1)
Test and Build / Test and Build
Skipping sticky disk commit due to previous step failures
Test and Build / Test and Build
- Step: unknown (failed)
Test and Build / Test and Build
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Test and Build
Skipping sticky disk commit due to previous step failures
Test and Build / Test and Build
- Step: unknown (failed)
Test and Build / Test and Build
Found 2 failed/cancelled steps in previous workflow steps