Skip to content

fix(files): resolve v2 file paths only on the v2 surface, through the canonical resolver #38019

fix(files): resolve v2 file paths only on the v2 surface, through the canonical resolver

fix(files): resolve v2 file paths only on the v2 surface, through the canonical resolver #38019

Triggered via pull request October 31, 2026 18:17
Status Cancelled
Total duration 5m 13s
Artifacts 15

ci.yml

on: pull_request
version
version
desktop-changes
0s
desktop-changes
trigger-upload
0s
trigger-upload
Matrix: image-amd64
Matrix: image-arm64
Matrix: image-dev
docs-changes
0s
docs-changes
migrate-dev  /  migrate
migrate-dev / migrate
Matrix: checks / integration
Matrix: checks / test
desktop-signing
desktop-signing
Matrix: checks / desktop-live
Matrix: checks / e2e-production
Matrix: checks / e2e
prerelease-create
0s
prerelease-create
prerelease-build  /  build
prerelease-build / build
migrate  /  migrate
migrate / migrate
prerelease-publish
0s
prerelease-publish
promote
0s
promote
prerelease-prune
0s
prerelease-prune
Matrix: ghcr
trigger-promote
trigger-promote
docs  /  embeddings
docs / embeddings
attest-subjects
attest-subjects
indexnow
indexnow
Matrix: attest
release
release
desktop-release  /  build
desktop-release / build
Fit to window
Zoom out
Zoom in

Annotations

48 errors and 32 warnings
checks / test (1/2)
Process completed with exit code 1.
app/api/v2/files/[fileId]/metadata/route.test.ts > GET /api/v2/files/[fileId]/metadata > returns archived metadata when scope=archived opts into the archived set: apps/sim/app/api/v2/files/[fileId]/metadata/route.test.ts#L159
AssertionError: expected "vi.fn()" to be called with arguments: [ ObjectContaining{…} ] Received: 1st vi.fn() call: [ - ObjectContaining { + { "input": { + "acceptVfsPath": true, "assertedWorkspaceId": "workspace-1", "fileId": "wf_1", "includeDeleted": true, }, "principal": { "keyId": "key-1", "kind": "workspace_api_key", "workspaceId": "workspace-1", + }, + "request": NextRequest { + Symbol(internal request): { + "cookies": RequestCookies { + "_headers": Headers {}, + "_parsed": Map {}, + }, + "nextUrl": "http://localhost:3000/api/v2/files/wf_1/metadata?workspaceId=workspace-1&scope=archived", + "url": "http://localhost:3000/api/v2/files/wf_1/metadata?workspaceId=workspace-1&scope=archived", + }, }, }, ] Number of calls: 1 ❯ app/api/v2/files/[fileId]/metadata/route.test.ts:159:26
app/api/v2/files/[fileId]/metadata/route.test.ts > GET /api/v2/files/[fileId]/metadata > leaves an archived file unreachable under an explicit scope=active: apps/sim/app/api/v2/files/[fileId]/metadata/route.test.ts#L128
AssertionError: expected "vi.fn()" to be called with arguments: [ ObjectContaining{…} ] Received: 1st vi.fn() call: [ - ObjectContaining { + { "input": { + "acceptVfsPath": true, "assertedWorkspaceId": "workspace-1", "fileId": "wf_1", "includeDeleted": false, + }, + "principal": { + "keyId": "key-1", + "kind": "workspace_api_key", + "workspaceId": "workspace-1", + }, + "request": NextRequest { + Symbol(internal request): { + "cookies": RequestCookies { + "_headers": Headers {}, + "_parsed": Map {}, + }, + "nextUrl": "http://localhost:3000/api/v2/files/wf_1/metadata?workspaceId=workspace-1&scope=active", + "url": "http://localhost:3000/api/v2/files/wf_1/metadata?workspaceId=workspace-1&scope=active", + }, }, }, ] Number of calls: 1 ❯ app/api/v2/files/[fileId]/metadata/route.test.ts:128:26
app/api/v2/files/[fileId]/metadata/route.test.ts > GET /api/v2/files/[fileId]/metadata > leaves an archived file unreachable when scope is omitted: apps/sim/app/api/v2/files/[fileId]/metadata/route.test.ts#L114
AssertionError: expected "vi.fn()" to be called with arguments: [ ObjectContaining{…} ] Received: 1st vi.fn() call: [ - ObjectContaining { + { "input": { + "acceptVfsPath": true, "assertedWorkspaceId": "workspace-1", "fileId": "wf_1", "includeDeleted": false, + }, + "principal": { + "keyId": "key-1", + "kind": "workspace_api_key", + "workspaceId": "workspace-1", + }, + "request": NextRequest { + Symbol(internal request): { + "cookies": RequestCookies { + "_headers": Headers {}, + "_parsed": Map {}, + }, + "nextUrl": "http://localhost:3000/api/v2/files/wf_1/metadata?workspaceId=workspace-1", + "url": "http://localhost:3000/api/v2/files/wf_1/metadata?workspaceId=workspace-1", + }, }, }, ] Number of calls: 1 ❯ app/api/v2/files/[fileId]/metadata/route.test.ts:114:26
checks / test (1/2)
@sim/app#test: command (/home/runner/_work/sim/sim/apps/sim) /home/runner/.bun/bin/bun run test --shard=1/2 exited (1)
checks / lint
Process completed with exit code 1.
check:openapi
audit failed — see the group above
error: Generated OpenAPI output is stale:: scripts/generate-openapi.ts#L59
Run bun run generate:openapi. at /home/runner/_work/sim/sim/scripts/generate-openapi.ts:59:13
check:cli-api
audit failed — see the group above
checks / lint
Process completed with exit code 1.
checks / integration (migrate, 3/8)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / integration (migrate, 3/8)
The operation was canceled.
checks / integration (migrate, 7/8)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / integration (push, 1/8)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / integration (migrate, 7/8)
The operation was canceled.
checks / integration (push, 1/8)
The operation was canceled.
checks / integration (push, 5/8)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / integration (push, 5/8)
The operation was canceled.
checks / integration (migrate, 4/8)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / integration (migrate, 4/8)
The operation was canceled.
checks / integration (migrate, 5/8)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / integration (migrate, 5/8)
The operation was canceled.
checks / integration (migrate, 8/8)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / integration (migrate, 8/8)
The operation was canceled.
checks / integration (migrate, 1/8)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / integration (push, 3/8)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / integration (push, 3/8)
The operation was canceled.
checks / integration (migrate, 1/8)
The operation was canceled.
checks / integration (push, 7/8)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / integration (push, 7/8)
The operation was canceled.
checks / integration (push, 6/8)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / integration (push, 6/8)
The operation was canceled.
checks / integration (push, 8/8)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / integration (push, 8/8)
The operation was canceled.
checks / integration (push, 4/8)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / integration (push, 4/8)
The operation was canceled.
checks / integration (push, 2/8)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / integration (push, 2/8)
The operation was canceled.
checks / integration (migrate, 6/8)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / integration (migrate, 6/8)
The operation was canceled.
checks / integration (migrate, 2/8)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / integration (migrate, 2/8)
The operation was canceled.
checks / build (e2e)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / build (e2e)
The operation was canceled.
checks / ci
Process completed with exit code 1.
checks / ci
Checks did not pass:
ci
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
ci
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / test (1/2)
[git-mirror] Skipping cache commit: Found 2 failed/cancelled steps
checks / test (1/2)
Skipping sticky disk commit due to previous step failures
checks / test (1/2)
Found 2 failed/cancelled steps in previous workflow steps
checks / test (1/2)
Skipping sticky disk commit due to previous step failures
checks / test (1/2)
Found 2 failed/cancelled steps in previous workflow steps
checks / test (1/2)
Skipping sticky disk commit due to previous step failures
checks / test (1/2)
Found 2 failed/cancelled steps in previous workflow steps
checks / lint
[git-mirror] Skipping cache commit: Found 2 failed/cancelled steps
checks / lint
[git-mirror] - Step: unknown (failed)
checks / lint
Skipping sticky disk commit due to previous step failures
checks / lint
- Step: unknown (failed)
checks / lint
Found 2 failed/cancelled steps in previous workflow steps
checks / lint
Skipping sticky disk commit due to previous step failures
checks / lint
- Step: unknown (failed)
checks / lint
Found 2 failed/cancelled steps in previous workflow steps
checks / lint
Skipping sticky disk commit due to previous step failures
checks / lint
- Step: unknown (failed)
checks / lint
Found 2 failed/cancelled steps in previous workflow steps
checks / integration (migrate, 7/8)
No files were found with the provided path: packages/db/test-results/*.json apps/sim/test-results/*.json apps/realtime/test-results/*.json. No artifacts will be uploaded.
checks / integration (push, 1/8)
No files were found with the provided path: packages/db/test-results/*.json apps/sim/test-results/*.json apps/realtime/test-results/*.json. No artifacts will be uploaded.
checks / integration (migrate, 1/8)
No files were found with the provided path: packages/db/test-results/*.json apps/sim/test-results/*.json apps/realtime/test-results/*.json. No artifacts will be uploaded.
checks / integration (push, 4/8)
No files were found with the provided path: packages/db/test-results/*.json apps/sim/test-results/*.json apps/realtime/test-results/*.json. No artifacts will be uploaded.
checks / build (e2e)
Unmount failed, retrying (7/10)...
checks / build (e2e)
Unmount failed, retrying (6/10)...
checks / build (e2e)
Unmount failed, retrying (5/10)...
checks / build (e2e)
Unmount failed, retrying (4/10)...
checks / build (e2e)
Unmount failed, retrying (3/10)...
checks / build (e2e)
Unmount failed, retrying (2/10)...
checks / build (e2e)
Unmount failed, retrying (1/10)...
checks / build (e2e)
Skipping sticky disk commit due to previous step failures
checks / build (e2e)
- Step: unknown (canceled)
checks / build (e2e)
Found 2 failed/cancelled steps in previous workflow steps

Artifacts

Produced during runtime
Name Size Digest
ci-plan
596 Bytes
sha256:c679d95f6f874b9cb681f366dc5cc4a2cb4311cf03d73d9e797608fd822f218e
integration-reports-migrate-2
687 Bytes
sha256:219dd9801b0d6a889f1a3f9a6115c5d9053c2f91db434791f92c409ba43698f0
integration-reports-migrate-3
1.64 KB
sha256:5802d2011790a77e0dafe9d7b5cf5728faed3c284f9d935529402384ecaaebb2
integration-reports-migrate-4
591 Bytes
sha256:3bc234a8f5f7c6594ff2ce80bc0f2963274fece987a53a962e6dc16ee3202600
integration-reports-migrate-5
6.59 KB
sha256:7b93c8c1ff2fdee1b4f0f59d72ddf7d61f0bb71ed04642f58e5c12f49ba8d949
integration-reports-migrate-6
984 Bytes
sha256:dd97d4ae72a200bc99b5d3a71683a0b4dde3af547a4d34e9a03654819e1a1359
integration-reports-migrate-8
5.19 KB
sha256:3ce8604f6b148417947b7f846fa12edef298f04539d69851954a358632051479
integration-reports-migrate-db
19.9 KB
sha256:aad1af96e26c0af534607704c546a74137db5c7a0af7f66ff54cff803e2813cc
integration-reports-push-2
687 Bytes
sha256:79c6ad4c8024ed01fd1dcb57f17dfeb73f8b7897b7950435b30eebc6db6d1f4c
integration-reports-push-3
1.64 KB
sha256:3a6eb812a4124c837f4c1a67f3edf447c5a5a9ce92d38605078dc1c9cc0ffb95
integration-reports-push-5
6.58 KB
sha256:eccb0b378233b44c6f298d1cd79169b03c1c23e8228c2d563e57f9a90c8351c6
integration-reports-push-6
978 Bytes
sha256:be2d552b7b2ccc56e904451f4b5edf0ebb958e499ce7b939bce3cf0c86bd5fd3
integration-reports-push-7
979 Bytes
sha256:251a5cebb76e23eba7db660853b7efa794f67b8d3b7072372a26d85bef81158b
integration-reports-push-8
5.21 KB
sha256:2e8d42885b08dbe43a8089a35735bfc6f0d40a07efb66d8991330543fb2a837e
integration-reports-push-db
21.7 KB
sha256:e1a7a6180734f7ea2e18c650c6886ded5e869fedd7842eace2da2230f4d45121