feat(copilot): copilot mcp + server side copilot execution #9877
ci.yml
on: pull_request
Detect Version
Test and Build
/
Test and Build
1m 10s
Check Docs Changes
Matrix: Build AMD64
Matrix: Build ARM64 (GHCR Only)
Process Docs
/
Process Documentation Embeddings
Matrix: Create GHCR Manifests
Create GitHub Release
Annotations
10 errors and 3 warnings
|
app/api/copilot/api-keys/route.test.ts > Copilot API Keys API Route > DELETE > should return error when Sim Agent returns non-ok response:
apps/sim/app/api/copilot/api-keys/route.test.ts#L306
AssertionError: expected 500 to be 404 // Object.is equality
- Expected
+ Received
- 404
+ 500
❯ app/api/copilot/api-keys/route.test.ts:306:31
|
|
app/api/copilot/api-keys/route.test.ts > Copilot API Keys API Route > DELETE > should successfully delete an API key:
apps/sim/app/api/copilot/api-keys/route.test.ts#L275
AssertionError: expected 500 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 500
❯ app/api/copilot/api-keys/route.test.ts:275:31
|
|
app/api/copilot/api-keys/route.test.ts > Copilot API Keys API Route > GET > should handle JSON parsing errors from Sim Agent:
apps/sim/app/api/copilot/api-keys/route.test.ts#L231
AssertionError: expected { error: 'Failed to get keys' } to deeply equal { Object (error) }
- Expected
+ Received
{
- "error": "Invalid response from Sim Agent",
+ "error": "Failed to get keys",
}
❯ app/api/copilot/api-keys/route.test.ts:231:28
|
|
app/api/copilot/api-keys/route.test.ts > Copilot API Keys API Route > GET > should handle API keys with empty apiKey string:
apps/sim/app/api/copilot/api-keys/route.test.ts#L211
AssertionError: expected 500 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 500
❯ app/api/copilot/api-keys/route.test.ts:211:31
|
|
app/api/copilot/api-keys/route.test.ts > Copilot API Keys API Route > GET > should return 500 when Sim Agent returns invalid response:
apps/sim/app/api/copilot/api-keys/route.test.ts#L170
AssertionError: expected { error: 'Failed to get keys' } to deeply equal { Object (error) }
- Expected
+ Received
{
- "error": "Invalid response from Sim Agent",
+ "error": "Failed to get keys",
}
❯ app/api/copilot/api-keys/route.test.ts:170:28
|
|
app/api/copilot/api-keys/route.test.ts > Copilot API Keys API Route > GET > should return error when Sim Agent returns non-ok response:
apps/sim/app/api/copilot/api-keys/route.test.ts#L150
AssertionError: expected 500 to be 503 // Object.is equality
- Expected
+ Received
- 503
+ 500
❯ app/api/copilot/api-keys/route.test.ts:150:31
|
|
app/api/copilot/api-keys/route.test.ts > Copilot API Keys API Route > GET > should forward userId to Sim Agent:
apps/sim/app/api/copilot/api-keys/route.test.ts#L123
AssertionError: expected "spy" to be called with arguments: [ …(2) ]
Number of calls: 0
❯ app/api/copilot/api-keys/route.test.ts:123:25
|
|
app/api/copilot/api-keys/route.test.ts > Copilot API Keys API Route > GET > should return empty array when user has no API keys:
apps/sim/app/api/copilot/api-keys/route.test.ts#L105
AssertionError: expected 500 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 500
❯ app/api/copilot/api-keys/route.test.ts:105:31
|
|
app/api/copilot/api-keys/route.test.ts > Copilot API Keys API Route > GET > should return list of API keys with masked values:
apps/sim/app/api/copilot/api-keys/route.test.ts#L82
AssertionError: expected 500 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 500
❯ app/api/copilot/api-keys/route.test.ts:82:31
|
|
lib/copilot/orchestrator/sse-handlers.test.ts:
apps/sim/lib/copilot/orchestrator/sse-handlers/handlers.ts#L10
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ lib/copilot/orchestrator/sse-handlers/handlers.ts:10:1
Caused by: Caused by: ReferenceError: Cannot access 'executeToolServerSide' before initialization
❯ lib/copilot/orchestrator/sse-handlers.test.ts:14:3
❯ lib/copilot/orchestrator/sse-handlers/handlers.ts:10: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
|