Skip to content

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

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 #38014

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

ci.yml

on: pull_request
version
version
desktop-changes
desktop-changes
trigger-upload
trigger-upload
Matrix: image-amd64
Matrix: image-arm64
Matrix: image-dev
docs-changes
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
prerelease-create
prerelease-build  /  build
prerelease-build / build
migrate  /  migrate
migrate / migrate
prerelease-publish
prerelease-publish
promote
0s
promote
prerelease-prune
0s
prerelease-prune
Matrix: ghcr
trigger-promote
0s
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

71 errors and 34 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 / e2e (project-files)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / e2e (scim)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / e2e (scim)
A task was canceled.
checks / e2e (cli)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / e2e (cli)
The operation was canceled.
checks / e2e (seo)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / e2e (seo)
A task was canceled.
checks / e2e (mobile, chromium, 2/2)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / e2e (mobile, chromium, 2/2)
A task was canceled.
checks / desktop-live (lease-lapse)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / desktop-live (lease-lapse)
A task was canceled.
checks / e2e (mobile, chromium, 1/2)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / e2e (mobile, chromium, 1/2)
A task was canceled.
checks / desktop-live (rest)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / desktop-live (rest)
A task was canceled.
checks / e2e (desktop-inbox)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / e2e (desktop-inbox)
The operation was canceled.
checks / e2e (stop-after)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / e2e (stop-after)
The operation was canceled.
checks / e2e (mobile, webkit, 1/2)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / e2e (mobile, webkit, 1/2)
A task was canceled.
checks / e2e (mobile, webkit, 2/2)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / e2e (mobile, webkit, 2/2)
A task was canceled.
checks / e2e (browser-extension)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / e2e (browser-extension)
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 (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 (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, 7/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, 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, 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 / 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 (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 (migrate, 1/8)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / integration (migrate, 1/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, 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 (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 (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, 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 (push, 1/8)
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / integration (push, 1/8)
The operation was canceled.
checks / build
Canceling since a higher priority waiting request for ci-refs/pull/9531/merge exists
checks / build
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 (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 / integration (migrate, 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 / 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, 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 (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, 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 / build
Unmount failed, retrying (7/10)...
checks / build
Unmount failed, retrying (6/10)...
checks / build
Unmount failed, retrying (5/10)...
checks / build
Unmount failed, retrying (4/10)...
checks / build
Unmount failed, retrying (3/10)...
checks / build
Unmount failed, retrying (2/10)...
checks / build
Unmount failed, retrying (1/10)...
checks / build
Skipping sticky disk commit due to previous step failures
checks / build
- Step: unknown (canceled)
checks / build
Found 2 failed/cancelled steps in previous workflow steps

Artifacts

Produced during runtime
Name Size Digest
ci-plan
597 Bytes
sha256:4a4e0a1932bf30573cdbd26ebde7a7189f6c153a6eeb8786973f5e43bfa8b635
integration-reports-migrate-2
688 Bytes
sha256:0a7f40a6c1b0ce7992a405d9ffbfb47783bbc87cb29cc195365eb5ea7c1090a6
integration-reports-migrate-3
1.64 KB
sha256:a6e0865af54c488e180b24b9be71a81a1c5fe746b03e8a4b167af08a5abb9c8f
integration-reports-migrate-5
6.57 KB
sha256:75d809c453869c6a83c8ddf95169b7c58af322e9976d377c63838140cea602cf
integration-reports-migrate-6
983 Bytes
sha256:c8ef89227c6653a8be91c466e9b7659f24160097d717b131456c350fa8eb8021
integration-reports-migrate-8
3.71 KB
sha256:95f06abc76e4cf44c122e008c429d519111d8ee935b5a9dcb02574f2e0319048
integration-reports-migrate-db
19.9 KB
sha256:82505af2df22e675326d7158cef5b772f8f7d9e58583eafa8ec34bd15e877531
integration-reports-push-2
689 Bytes
sha256:654c169447da5370e8bda238f9c1448221848e94af6caa81887e3177c4f135f4
integration-reports-push-3
1.64 KB
sha256:c6e0f2591518a364139456597caded48411027ef327068f87379b7618c087c7e
integration-reports-push-5
27.9 KB
sha256:19292311ed402027a78a8c0f8727cb6adc98469a747d4525577f139e60baf4b3
integration-reports-push-6
985 Bytes
sha256:547012f105a24865017899ec08cf5257ecb52f6d39937c86ef4cec8f781dc7c6
integration-reports-push-8
27.1 KB
sha256:6b706f1f3b504580b2de7f65cd02ab18e771d8dcb0f3e74416f500290346a947
integration-reports-push-db
21.6 KB
sha256:76af516106606be8e6136858c3278036da7af373c66e849c275d0c69cd53332a