Skip to content

feat(files): gmail upload attachment, workspace files, file storage limits #4918

feat(files): gmail upload attachment, workspace files, file storage limits

feat(files): gmail upload attachment, workspace files, file storage limits #4918

Triggered via pull request October 17, 2025 00:46
Status Failure
Total duration 48s
Artifacts

ci.yml

on: pull_request
Test and Build  /  Test and Build
31s
Test and Build / Test and Build
Matrix: Build AMD64
Matrix: Build ARM64 (GHCR Only)
Deploy Trigger.dev  /  Deploy to Trigger.dev
Deploy Trigger.dev / Deploy to Trigger.dev
Process Docs  /  Process Documentation Embeddings
Process Docs / Process Documentation Embeddings
Matrix: Create GHCR Manifests
Fit to window
Zoom out
Zoom in

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)