Skip to content

feat(workflows): lock/duplicate improvements for workflows #15703

feat(workflows): lock/duplicate improvements for workflows

feat(workflows): lock/duplicate improvements for workflows #15703

Triggered via pull request May 2, 2026 00:28
Status Failure
Total duration 2m 42s
Artifacts

ci.yml

on: pull_request
Detect Version
0s
Detect Version
Test and Build  /  Test and Build
2m 11s
Test and Build / Test and Build
Check Docs Changes
0s
Check Docs Changes
Matrix: Build Dev ECR
Matrix: Build ARM64 (GHCR Only)
Matrix: Build AMD64
Migrate Dev DB  /  Apply Database Migrations
Migrate Dev DB / Apply Database Migrations
Matrix: Create GHCR Manifests
Process Docs  /  Process Documentation Embeddings
Process Docs / Process Documentation Embeddings
Create GitHub Release
0s
Create GitHub Release
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 9 warnings
app/api/folders/[id]/route.test.ts > Individual Folder API Route > Circular Reference Prevention > should prevent circular references when updating parent: apps/sim/app/api/folders/[id]/route.test.ts#L408
AssertionError: expected 500 to be 400 // Object.is equality - Expected + Received - 400 + 500 ❯ app/api/folders/[id]/route.test.ts:408:31
app/api/folders/[id]/route.test.ts > Individual Folder API Route > Input Validation > should handle empty folder name: apps/sim/app/api/folders/[id]/route.test.ts#L363
AssertionError: expected 500 to be 200 // Object.is equality - Expected + Received - 200 + 500 ❯ app/api/folders/[id]/route.test.ts:363:31
app/api/folders/[id]/route.test.ts > Individual Folder API Route > PUT /api/folders/[id] > should handle database errors gracefully: apps/sim/app/api/folders/[id]/route.test.ts#L346
AssertionError: expected "spy" to be called with arguments: [ 'Error updating folder:', …(1) ] Received: 1st spy call: [ - "Error updating folder:", + "Unhandled route error", { - "error": Any<Error>, + "duration": 0, + "error": "[vitest] No \"FolderLockedError\" export is defined on the \"@sim/workflow-authz\" mock. Did you forget to return it from \"vi.mock\"? + If you need to partially mock a module, you can use \"importOriginal\" helper inside: + ", }, ] Number of calls: 1 ❯ app/api/folders/[id]/route.test.ts:346:32
app/api/folders/[id]/route.test.ts > Individual Folder API Route > PUT /api/folders/[id] > should return 400 when trying to set folder as its own parent: apps/sim/app/api/folders/[id]/route.test.ts#L279
AssertionError: expected 500 to be 400 // Object.is equality - Expected + Received - 400 + 500 ❯ app/api/folders/[id]/route.test.ts:279:31
app/api/folders/[id]/route.test.ts > Individual Folder API Route > PUT /api/folders/[id] > should allow folder update for admin permissions: apps/sim/app/api/folders/[id]/route.test.ts#L262
AssertionError: expected 500 to be 200 // Object.is equality - Expected + Received - 200 + 500 ❯ app/api/folders/[id]/route.test.ts:262:31
app/api/folders/[id]/route.test.ts > Individual Folder API Route > PUT /api/folders/[id] > should allow folder update for write permissions: apps/sim/app/api/folders/[id]/route.test.ts#L245
AssertionError: expected 500 to be 200 // Object.is equality - Expected + Received - 200 + 500 ❯ app/api/folders/[id]/route.test.ts:245:31
app/api/folders/[id]/route.test.ts > Individual Folder API Route > PUT /api/folders/[id] > should update parent folder successfully: apps/sim/app/api/folders/[id]/route.test.ts#L198
AssertionError: expected 500 to be 200 // Object.is equality - Expected + Received - 200 + 500 ❯ app/api/folders/[id]/route.test.ts:198:31
app/api/folders/[id]/route.test.ts > Individual Folder API Route > PUT /api/folders/[id] > should update folder successfully: apps/sim/app/api/folders/[id]/route.test.ts#L178
AssertionError: expected 500 to be 200 // Object.is equality - Expected + Received - 200 + 500 ❯ app/api/folders/[id]/route.test.ts:178:31
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
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