feat(workflows): lock/duplicate improvements for workflows #15703
ci.yml
on: pull_request
Detect Version
0s
Test and Build
/
Test and Build
2m 11s
Check Docs Changes
0s
Matrix: Build Dev ECR
Matrix: Build ARM64 (GHCR Only)
Matrix: Build AMD64
Migrate Dev DB
/
Apply Database Migrations
Matrix: Create GHCR Manifests
Process Docs
/
Process Documentation Embeddings
Create GitHub Release
0s
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 trim folder name when updating:
apps/sim/app/api/folders/[id]/route.test.ts#L324
AssertionError: expected null not to be null
❯ app/api/folders/[id]/route.test.ts:324:35
|
|
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
|