feat(files): gmail upload attachment, workspace files, file storage limits #4918
ci.yml
on: pull_request
Test and Build
/
Test and Build
31s
Matrix: Build AMD64
Matrix: Build ARM64 (GHCR Only)
Deploy Trigger.dev
/
Deploy to Trigger.dev
Process Docs
/
Process Documentation Embeddings
Matrix: Create GHCR Manifests
Annotations
5 errors
|
Test and Build / Test and Build
Process completed with exit code 1.
|
|
app/api/knowledge/[id]/documents/route.test.ts > Knowledge Base Documents API Route > POST /api/knowledge/[id]/documents - Authentication & Authorization > should handle database errors during creation:
apps/sim/app/api/knowledge/[id]/documents/route.test.ts#L608
AssertionError: expected 'Database error' to be 'Failed to create document' // Object.is equality
Expected: "Failed to create document"
Received: "Database error"
❯ app/api/knowledge/[id]/documents/route.test.ts:608:26
|
|
app/api/knowledge/[id]/documents/route.test.ts > Knowledge Base Documents API Route > POST /api/knowledge/[id]/documents - Bulk Documents > should create bulk documents successfully:
apps/sim/app/api/knowledge/[id]/documents/route.test.ts#L451
AssertionError: expected "spy" to be called with arguments: [ [ { …(4) }, { …(4) } ], …(2) ]
Received:
1st spy call:
@@ -12,7 +12,8 @@
"filename": "doc2.pdf",
"mimeType": "application/pdf",
},
],
"kb-123",
- Any<String>,
+ "c1e27bc0",
+ "user-123",
]
Number of calls: 1
❯ app/api/knowledge/[id]/documents/route.test.ts:451:48
|
|
app/api/knowledge/[id]/documents/route.test.ts > Knowledge Base Documents API Route > POST /api/knowledge/[id]/documents - Single Document > should create single document successfully:
apps/sim/app/api/knowledge/[id]/documents/route.test.ts#L343
AssertionError: expected "spy" to be called with arguments: [ { …(4) }, 'kb-123', Any<String> ]
Received:
1st spy call:
@@ -4,7 +4,8 @@
"fileUrl": "https://example.com/test-document.pdf",
"filename": "test-document.pdf",
"mimeType": "application/pdf",
},
"kb-123",
- Any<String>,
+ "c8513b35",
+ "user-123",
]
Number of calls: 1
❯ app/api/knowledge/[id]/documents/route.test.ts:343:47
|
|
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)
|