Skip to content

feat(workspace-sync): add portable imports and v2 fork workflows #31022

feat(workspace-sync): add portable imports and v2 fork workflows

feat(workspace-sync): add portable imports and v2 fork workflows #31022

Triggered via pull request September 9, 2026 23:47
Status Failure
Total duration 3m 28s
Artifacts

ci.yml

on: pull_request
Detect Version
0s
Detect Version
Migrate Dev DB  /  Apply Database Migrations
Migrate Dev DB / Apply Database Migrations
Detect Desktop Changes
Detect Desktop Changes
Matrix: Build AMD64
Matrix: Build ARM64 (GHCR Only)
Matrix: Test and Build / oauth-postgres
Matrix: Test and Build / test-shard
Test and Build  /  Lint and Test
1m 16s
Test and Build / Lint and Test
Test and Build  /  Build App
3m 23s
Test and Build / Build App
Check Docs Changes
0s
Check Docs Changes
Matrix: Build Dev ECR
Deploy Trigger.dev (Dev)
0s
Deploy Trigger.dev (Dev)
Check Desktop Signing Secrets
0s
Check Desktop Signing Secrets
Migrate DB  /  Apply Database Migrations
Migrate DB / Apply Database Migrations
Create Desktop Prerelease
Create Desktop Prerelease
Promote Images
Promote Images
Desktop Prerelease Build  /  Build, Sign, Notarize
Desktop Prerelease Build / Build, Sign, Notarize
Matrix: Create GHCR Manifests
Process Docs  /  Process Documentation Embeddings
Process Docs / Process Documentation Embeddings
Publish Desktop Prerelease
Publish Desktop Prerelease
Resolve Attestation Subjects
0s
Resolve Attestation Subjects
Prune Desktop Prereleases
0s
Prune Desktop Prereleases
Matrix: Attest Images
Create GitHub Release
0s
Create GitHub Release
Desktop Release  /  Build, Sign, Notarize
Desktop Release / Build, Sign, Notarize
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 27 warnings
Test and Build / Lint and Test
Process completed with exit code 1.
Test and Build / Lint and Test
docs#test: command (/home/runner/_work/sim/sim/apps/docs) /home/runner/.bun/bin/bun run test exited (1)
lib/openapi-download.test.ts > OpenAPI download > combines every API domain into one OpenAPI document: apps/docs/lib/openapi-download.test.ts#L36
AssertionError: expected [ '/api/v2/workflows', …(151) ] to have a length of 133 but got 152 - Expected + Received - 133 + 152 ❯ lib/openapi-download.test.ts:36:32
Test and Build / Lint and Test
Process completed with exit code 1.
Test and Build / Test (shard 2)
Process completed with exit code 1.
app/api/workspaces/[id]/fork/lineage/route.test.ts > fork lineage route > keeps a null parent null without resolving permissions: apps/sim/app/api/workspaces/[id]/fork/lineage/route.test.ts#L137
AssertionError: expected 500 to be 200 // Object.is equality - Expected + Received - 200 + 500 ❯ app/api/workspaces/[id]/fork/lineage/route.test.ts:137:24
app/api/workspaces/[id]/fork/lineage/route.test.ts > fork lineage route > marks the parent inaccessible when the viewer holds no permission on it: apps/sim/app/api/workspaces/[id]/fork/lineage/route.test.ts#L128
AssertionError: expected 500 to be 200 // Object.is equality - Expected + Received - 200 + 500 ❯ app/api/workspaces/[id]/fork/lineage/route.test.ts:128:24
app/api/workspaces/[id]/fork/lineage/route.test.ts > fork lineage route > marks accessible and inaccessible nodes via the canonical permission resolver: apps/sim/app/api/workspaces/[id]/fork/lineage/route.test.ts#L97
AssertionError: expected 500 to be 200 // Object.is equality - Expected + Received - 200 + 500 ❯ app/api/workspaces/[id]/fork/lineage/route.test.ts:97:24
app/api/workspaces/[id]/fork/lineage/route.test.ts > fork lineage route > requires admin on the current workspace before loading lineage: apps/sim/app/api/workspaces/[id]/fork/lineage/route.test.ts#L78
AssertionError: expected "vi.fn()" to be called with arguments: [ 'workspace-1', 'user-1' ] Number of calls: 0 ❯ app/api/workspaces/[id]/fork/lineage/route.test.ts:78:44
app/api/workspaces/[id]/fork/route.test.ts > POST /api/workspaces/[id]/fork > still returns the created fork when the copy succeeds: apps/sim/app/api/workspaces/[id]/fork/route.test.ts#L109
AssertionError: expected 500 to be 201 // Object.is equality - Expected + Received - 201 + 500 ❯ app/api/workspaces/[id]/fork/route.test.ts:109:29
app/api/workspaces/[id]/fork/route.test.ts > POST /api/workspaces/[id]/fork > classifies a refusal that drizzle wrapped in a transaction error: apps/sim/app/api/workspaces/[id]/fork/route.test.ts#L88
AssertionError: expected 500 to be 409 // Object.is equality - Expected + Received - 409 + 500 ❯ app/api/workspaces/[id]/fork/route.test.ts:88:29
app/api/workspaces/[id]/fork/route.test.ts > POST /api/workspaces/[id]/fork > renders a full-folder-tree refusal as an actionable 409: apps/sim/app/api/workspaces/[id]/fork/route.test.ts#L71
AssertionError: expected 500 to be 409 // Object.is equality - Expected + Received - 409 + 500 ❯ app/api/workspaces/[id]/fork/route.test.ts:71:29
Test and Build / Test (shard 2)
@sim/app#test: command (/home/runner/_work/sim/sim/apps/sim) /home/runner/.bun/bin/bun run test exited (1)
Test and Build / Test (shard 3)
Process completed with exit code 1.
app/api/workspaces/[id]/fork/promote/route.test.ts > POST /api/workspaces/[id]/fork/promote > classifies a refusal that drizzle wrapped in a transaction error: apps/sim/app/api/workspaces/[id]/fork/promote/route.test.ts#L122
AssertionError: expected 500 to be 409 // Object.is equality - Expected + Received - 409 + 500 ❯ app/api/workspaces/[id]/fork/promote/route.test.ts:122:29
app/api/workspaces/[id]/fork/promote/route.test.ts > POST /api/workspaces/[id]/fork/promote > renders a full-folder-tree refusal as an actionable 409: apps/sim/app/api/workspaces/[id]/fork/promote/route.test.ts#L108
AssertionError: expected 500 to be 409 // Object.is equality - Expected + Received - 409 + 500 ❯ app/api/workspaces/[id]/fork/promote/route.test.ts:108:29
app/api/workspaces/[id]/fork/promote/route.test.ts > POST /api/workspaces/[id]/fork/promote > names the other side of the edge for promoteFork to record the sync: apps/sim/app/api/workspaces/[id]/fork/promote/route.test.ts#L97
AssertionError: expected 500 to be 200 // Object.is equality - Expected + Received - 200 + 500 ❯ app/api/workspaces/[id]/fork/promote/route.test.ts:97:29
lib/api/contracts/v2/__tests__/list-pagination.test.ts > v2 list pagination split > classifies every v2 list as paged or full-set: apps/sim/lib/api/contracts/v2/__tests__/list-pagination.test.ts#L574
AssertionError: A new v2 list must be classified in PAGED_LISTS or FULL_SET_LISTS. See .agents/skills/v2-api-conventions/SKILL.md.: expected [ …(5) ] to deeply equal [] - Expected + Received - [] + [ + "GET /api/v2/workspaces/[workspaceId]/fork/children", + "GET /api/v2/workspaces/[workspaceId]/fork/mappings", + "GET /api/v2/workspaces/[workspaceId]/fork/resources", + "GET /api/v2/workspaces/[workspaceId]/operations", + "POST /api/v2/selectors/list", + ] ❯ lib/api/contracts/v2/__tests__/list-pagination.test.ts:574:9
Test and Build / Test (shard 3)
@sim/app#test: command (/home/runner/_work/sim/sim/apps/sim) /home/runner/.bun/bin/bun run test exited (1)
Test and Build / Lint and Test
Skipping sticky disk commit due to previous step failures
Test and Build / Lint and Test
- Step: unknown (failed)
Test and Build / Lint and Test
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Lint and Test
Skipping sticky disk commit due to previous step failures
Test and Build / Lint and Test
- Step: unknown (failed)
Test and Build / Lint and Test
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Lint and Test
Skipping sticky disk commit due to previous step failures
Test and Build / Lint and Test
- Step: unknown (failed)
Test and Build / Lint and Test
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Test (shard 2)
Skipping sticky disk commit due to previous step failures
Test and Build / Test (shard 2)
- Step: unknown (failed)
Test and Build / Test (shard 2)
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Test (shard 2)
Skipping sticky disk commit due to previous step failures
Test and Build / Test (shard 2)
- Step: unknown (failed)
Test and Build / Test (shard 2)
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Test (shard 2)
Skipping sticky disk commit due to previous step failures
Test and Build / Test (shard 2)
- Step: unknown (failed)
Test and Build / Test (shard 2)
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Test (shard 3)
Skipping sticky disk commit due to previous step failures
Test and Build / Test (shard 3)
- Step: unknown (failed)
Test and Build / Test (shard 3)
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Test (shard 3)
Skipping sticky disk commit due to previous step failures
Test and Build / Test (shard 3)
- Step: unknown (failed)
Test and Build / Test (shard 3)
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Test (shard 3)
Skipping sticky disk commit due to previous step failures
Test and Build / Test (shard 3)
- Step: unknown (failed)
Test and Build / Test (shard 3)
Found 2 failed/cancelled steps in previous workflow steps