Repository navigation
fix(files): resolve v2 file paths only on the v2 surface, through the canonical resolver #38028
ci.yml
on: pull_request
checks
/
changes
18s
version
0s
desktop-changes
0s
trigger-upload
Matrix: image-amd64
Matrix: image-arm64
Matrix: image-dev
docs-changes
0s
migrate-dev
/
migrate
Matrix: checks / integration
Matrix: checks / test
checks
/
lint
2m 6s
checks
/
test-types
1m 13s
checks
/
build
3m 39s
Matrix: checks / desktop-live
Matrix: checks / e2e-production
Matrix: checks / e2e
prerelease-prune
indexnow
0s
Matrix: attest
desktop-release
/
build
Annotations
13 errors and 18 warnings
|
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 / 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 / e2e (desktop-inbox)
Process completed with exit code 1.
|
|
checks / ci
Process completed with exit code 1.
|
|
checks / ci
Checks did not pass:
|
|
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 / 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
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
ci-plan
|
596 Bytes |
sha256:581184640c40623add43015e8360d724d77013d0193ebcfa96785cca4a640722
|
|
|
desktop-reports-lease-lapse
|
28.3 KB |
sha256:8e663052da6e19864abde041d0c567f3a2b6ddf2692e56456f2ca3f0f9111d59
|
|
|
desktop-reports-rest
|
29 KB |
sha256:918f0a817a70b70ed7be552e602445945f6cae7bca1f5e9b7d341fe8c5a0ccd3
|
|
|
e2e-reports-browser-extension
|
988 KB |
sha256:6006fbf2c9e82113c2a6ee510160600eb128ac8b0973147d372c16c9f785bc6b
|
|
|
e2e-reports-cli
|
8.45 KB |
sha256:6e1ceb6bc753b0854e60b1387882ecf699b0baefd780536f1a952ce0240f2fac
|
|
|
e2e-reports-desktop-inbox
|
3.43 MB |
sha256:19d87f6aa6cfdc523eac7f2c65b8843351d2e4a75136ff63c6dea469b1e40a5a
|
|
|
e2e-reports-mobile-chromium-1
|
2.55 KB |
sha256:12b4c19acc982447d5d15a4acc899dd1009806f16bde6a99c4edf816b44383f6
|
|
|
e2e-reports-mobile-chromium-2
|
2.17 KB |
sha256:af737cbe0dd5b0afde33f20cde9f5eec30ddb1f2dd355343d508cc59cd420be4
|
|
|
e2e-reports-mobile-webkit-1
|
3.4 KB |
sha256:92d869571542b0f3616a0a744f34c820208554708d3a728eb865287a434d1e72
|
|
|
e2e-reports-mobile-webkit-2
|
2.49 KB |
sha256:26786ecbbbb91f049b87aeda9ff4b76ed20e8c60eb5028df107ae556d716a192
|
|
|
e2e-reports-project-files
|
11.7 KB |
sha256:44c6bbc73dd17dceee15f1ac975f1ee823046a23e7c24458a0aa2e4d9f240218
|
|
|
e2e-reports-scim
|
3.78 KB |
sha256:b95b38ecb470ca4de0b3123b781458705583797c205c7141bd15bc490592d3be
|
|
|
e2e-reports-seo
|
5.45 KB |
sha256:4d0b72f7952a18837332a7ed2280854e962369c128db948cfc0fddd5c9a9ad02
|
|
|
e2e-reports-stop-after
|
2.4 KB |
sha256:4d79763e7487b4291ee66b8a7f726bad31b6bcc5b1b9c8fd491657bcff90f6d6
|
|
|
http-e2e-desktop-inbox
|
3.45 MB |
sha256:212c0d9d99342a048d12978e3a9250bfd96f69a738cf2851a9c12e40c560cd4c
|
|
|
integration-reports-migrate-1
|
4.5 KB |
sha256:9f89bce2f2001bfe9cde673b23bc4a49c7eaa15f450c6ced5b2dda0173d8e288
|
|
|
integration-reports-migrate-2
|
23.6 KB |
sha256:74843881420cc1ec379d5a317bdabe317f49cadbd5a5649c5683b5372ebd7d23
|
|
|
integration-reports-migrate-3
|
23.2 KB |
sha256:ad9eb2fea1af62d81e2b4517e68e398a6004b1b02d37337f1e42df51a881b93b
|
|
|
integration-reports-migrate-4
|
20.1 KB |
sha256:e5f38e3956a5d25eb50aa8f42a11e86dea1b2234dbbcaab65f54e477d52b7110
|
|
|
integration-reports-migrate-5
|
28 KB |
sha256:a48192fa0ec0f2a0c5cbf74c265ad600768babdf8ed9a8d2ec0fe934847bf579
|
|
|
integration-reports-migrate-6
|
29.1 KB |
sha256:5bc5286362564cfcdab0196f7905de426d9140b3020fa2b7f8c25b8a772571f7
|
|
|
integration-reports-migrate-7
|
20.7 KB |
sha256:7546aae32b9c26fdbee74f29c78634b7078b903163095ed30454b40b82f80460
|
|
|
integration-reports-migrate-8
|
27.5 KB |
sha256:e6b4df04481b3a775da4ce64cf1a4fb229b3e23b07fb223491e66b1a2b3d24c0
|
|
|
integration-reports-migrate-db
|
20 KB |
sha256:6f0d4ea81cf311abdaa39abc651c29af0400301ae0fc1cae6998d3d1ae4c98b8
|
|
|
integration-reports-push-1
|
4.5 KB |
sha256:28b2248c02cd39095663bf9cdb349aa29b61da30e52314887977126c9ee7fbb8
|
|
|
integration-reports-push-2
|
23.6 KB |
sha256:0783d2b4d7c14e194d655903d1a76a5e3d2bca618caba0934820eb2147c0d451
|
|
|
integration-reports-push-3
|
23.3 KB |
sha256:3fb4d8e448d9ffccad65bd315645c3d0892c598761080977a1823433ca482d28
|
|
|
integration-reports-push-4
|
20.2 KB |
sha256:992cb9780e2c2405e5a7b47241c7ff686095c6ea3603d921cd80e0d378595558
|
|
|
integration-reports-push-5
|
28.1 KB |
sha256:07f4390acc29f149bfafff325b8c16878bc156cca81416ec78a2a2f9d8882d00
|
|
|
integration-reports-push-6
|
29 KB |
sha256:bac7eaa7eeb97f0ec3dc221a2db8ee95a86f62335a24c8c8d9c05c190bafc403
|
|
|
integration-reports-push-7
|
20.7 KB |
sha256:c80cb50fea87aa5cefa4873ebfe09293c364226b3f1f814d9eee3a0a6a1f4c1e
|
|
|
integration-reports-push-8
|
27.2 KB |
sha256:055bd32434023669a1549ab2d69663b6d92ce456764da17d30a5e0ee0d37f2f5
|
|
|
integration-reports-push-db
|
21.6 KB |
sha256:9b44aa348c67915ee5b7be6daab24acffa5b5cb0036114df85b230b75763303a
|
|