improvement(copilot): v0.2 #6148
ci.yml
on: pull_request
Test and Build
/
Test and Build
1m 7s
Check Docs Changes
Matrix: Build AMD64
Matrix: Build ARM64 (GHCR Only)
Process Docs
/
Process Documentation Embeddings
Matrix: Create GHCR Manifests
Annotations
4 errors
|
Test and Build / Test and Build
Process completed with exit code 1.
|
|
app/api/chat/manage/[id]/route.test.ts > Chat Edit API Route > GET > should return 401 when user is not authenticated:
apps/sim/app/api/chat/manage/[id]/route.test.ts#L91
Error: Test timed out in 5000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ app/api/chat/manage/[id]/route.test.ts:91:5
|
|
app/api/copilot/chat/route.test.ts > Copilot Chat API Route > GET > should return chats for authenticated user and workflow:
apps/sim/app/api/copilot/chat/route.test.ts#L551
AssertionError: expected { success: true, chats: [ …(2) ] } to deeply equal { success: true, …(1) }
- Expected
+ Received
@@ -1,8 +1,9 @@
{
"chats": [
{
+ "config": null,
"createdAt": "2024-01-01T00:00:00.000Z",
"id": "chat-1",
"messageCount": 4,
"messages": [
{
@@ -21,15 +22,17 @@
"content": "Response 2",
"role": "assistant",
},
],
"model": "claude-3-haiku-20240307",
+ "planArtifact": null,
"previewYaml": null,
"title": "First Chat",
"updatedAt": "2024-01-02T00:00:00.000Z",
},
{
+ "config": null,
"createdAt": "2024-01-03T00:00:00.000Z",
"id": "chat-2",
"messageCount": 2,
"messages": [
{
@@ -40,10 +43,11 @@
"content": "Response 1",
"role": "assistant",
},
],
"model": "claude-3-haiku-20240307",
+ "planArtifact": null,
"previewYaml": null,
"title": "Second Chat",
"updatedAt": "2024-01-04T00:00:00.000Z",
},
],
❯ app/api/copilot/chat/route.test.ts:551:28
|
|
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)
|