Repository navigation
fix(files): authorize the workspace before resolving a files/ path #38006
ci.yml
on: pull_request
checks
/
changes
20s
version
desktop-changes
trigger-upload
Matrix: image-amd64
Matrix: image-arm64
Matrix: image-dev
docs-changes
migrate-dev
/
migrate
Matrix: checks / integration
Matrix: checks / test
checks
/
lint
2m 50s
checks
/
test-types
1m 0s
checks
/
build
3m 23s
Matrix: checks / desktop-live
Matrix: checks / e2e-production
Matrix: checks / e2e
prerelease-prune
0s
indexnow
0s
Matrix: attest
desktop-release
/
build
Annotations
6 errors and 11 warnings
|
checks / lint
Process completed with exit code 1.
|
|
checks / test (1/2)
Process completed with exit code 1.
|
|
lib/workspace-files/application/download-workspace-file-items.test.ts:
apps/sim/lib/workspace-files/file-type-sql.ts#L24
Error: [vitest] No "EXTENSION_TO_MIME" export is defined on the "@/lib/uploads/utils/file" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("@/lib/uploads/utils/file"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ lib/workspace-files/file-type-sql.ts:24:17
❯ lib/workspace-files/query-scope.ts:6:1
|
|
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 / ci
Process completed with exit code 1.
|
|
checks / ci
Checks did not pass:
|
|
checks / test (1/2)
[git-mirror] Skipping cache commit: Found 2 failed/cancelled steps
|
|
checks / test (1/2)
[git-mirror] - Step: unknown (failed)
|
|
checks / test (1/2)
Skipping sticky disk commit due to previous step failures
|
|
checks / test (1/2)
- Step: unknown (failed)
|
|
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)
- Step: unknown (failed)
|
|
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)
- Step: unknown (failed)
|
|
checks / test (1/2)
Found 2 failed/cancelled steps in previous workflow steps
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
ci-plan
|
945 Bytes |
sha256:3b6eca26f793831f741d33cde3b0386ced2c12f794be24ae3ad859f2e14f6425
|
|
|
desktop-reports-lease-lapse
|
4.13 KB |
sha256:a3e96d792c0534d589c2c2b3e10a728caa238ce5d976c4f47307e27544c93fc9
|
|
|
desktop-reports-rest
|
4.92 KB |
sha256:1af78dee0047fd43789361c7218df2f36971c8b18b9ad1fc7cafd3003ce1d0ce
|
|
|
e2e-reports-browser-extension
|
1010 KB |
sha256:558cc6afb1c8eef3354a15b9fb730da4c1ea9ca5756ffe1b893b1d20e2edd0b1
|
|
|
e2e-reports-cli
|
8.44 KB |
sha256:6b75030530f6c7f82aa61c42266718211d48ec03073cfaeb78a48d344961dbb9
|
|
|
e2e-reports-desktop-inbox
|
3.42 MB |
sha256:a596f6dcb9e4c0fff018ecaee45ca65f6f982326e04d709d0691b141b9c43415
|
|
|
e2e-reports-mobile-chromium-1
|
2.55 KB |
sha256:4fd14ba2a765dc7c90310f5e0f635a5a377746912a47b322a9834c89eeac3b0e
|
|
|
e2e-reports-mobile-chromium-2
|
2.18 KB |
sha256:e321e5b89cea725b4e16689598e345bb16d52f2a07bf0e64d5b76c40ede11f06
|
|
|
e2e-reports-mobile-webkit-1
|
3.22 KB |
sha256:e413f6402b4a2ada3dfb1fdb8b7ddb940cd72f7fd0809b4aceb3cd72863a768c
|
|
|
e2e-reports-mobile-webkit-2
|
2.59 KB |
sha256:9f620e936ba60b59078309d11ea4c8fc8ae6be28a170befee6563fe627324e40
|
|
|
e2e-reports-project-files
|
11.7 KB |
sha256:a8c9e9ad8fcd2fd936892d2b7e6e08d1b50fc6d47cf569fc7a1b7bdccfb194f3
|
|
|
e2e-reports-scim
|
3.72 KB |
sha256:df763bf1e0267ee326fd86098e58e7a1baaef7672c7b000eaa985400bc25e87e
|
|
|
e2e-reports-seo
|
5.47 KB |
sha256:68fa7fe862f34efb887b3ba9607e03ff5b6d9866857ae52c257653e098dda408
|
|
|
e2e-reports-stop-after
|
2.37 KB |
sha256:94ab8e2bcf9ee4449bdd16d15535bc20cc0d1c393cf9a19673bae3c47ec43cba
|
|
|
integration-reports-migrate-1
|
4.5 KB |
sha256:e22d672971f5c7843e923be557426ca4c9743eecdd123131eae0361be68ae8f9
|
|
|
integration-reports-migrate-2
|
23.6 KB |
sha256:df038a5a877e81af8d14964a4b047b1fec4a3d92d00fd7e7411cb7d6dc6b9b70
|
|
|
integration-reports-migrate-3
|
23.3 KB |
sha256:edbb7a4d1282908a988c285400a9341f7442332de57386bac615b5496c33e024
|
|
|
integration-reports-migrate-4
|
20.2 KB |
sha256:cc8657154dfd9489930bad527c186110bcc28cec5e0a74c69e990ed682529ce1
|
|
|
integration-reports-migrate-5
|
28 KB |
sha256:4619f98442ea81e04f5b2b25e85611a6c8e5162778d965c04474f7b90f251006
|
|
|
integration-reports-migrate-6
|
28.9 KB |
sha256:376c5f23802bab714f5fbcf6315c6cd060420d33f60a7bfc1ea250510ea6c026
|
|
|
integration-reports-migrate-7
|
20.7 KB |
sha256:460e96f9023b7ca2f6324ff1b8430a73ba431325ae50f416365579c3e3c6099e
|
|
|
integration-reports-migrate-8
|
27.4 KB |
sha256:98ab5a2d504fef98389ee2ae5f3794f0d21b426ee213ea56ca369aa98362aadf
|
|
|
integration-reports-migrate-db
|
20 KB |
sha256:3ba2d4afa2fe9752ba232546521ef54a31e2f925ace93c6d020d3fdf4679c20d
|
|
|
integration-reports-push-1
|
4.48 KB |
sha256:6c4ff2a1cdb49bb9ed8cdd2525f751f19bfa6c3ee4381c867e923bc5de58ee74
|
|
|
integration-reports-push-2
|
23.6 KB |
sha256:8a164e18732140b5136da8d0e909f50023857dc390250a967465a8e8134dff38
|
|
|
integration-reports-push-3
|
23.2 KB |
sha256:8427bb4acaf68155adeb22cbc03bb78df418ff2cf1b6522a5b3af56b4ac57ec6
|
|
|
integration-reports-push-4
|
20.1 KB |
sha256:5c5bf8fac97e6be67bb2a8397de5f37dc9f63239d1037bc219f544c1a14a1be0
|
|
|
integration-reports-push-5
|
27.9 KB |
sha256:fb222d6639cc641a08d1395ea6fe87d96b3ca8e86aef5c0f68fcea1029a0aed9
|
|
|
integration-reports-push-6
|
29.1 KB |
sha256:75f6f7e961b83eef1fcbc9100872ea68b5667185899bc2c9f27e4851503e18f5
|
|
|
integration-reports-push-7
|
20.7 KB |
sha256:4fcf9fee42531c2afa71184a768b77b639a65c43a23fe8b0da4ff945730837bf
|
|
|
integration-reports-push-8
|
27.2 KB |
sha256:f3c199b50ab3fb5d364d47b9b5a244436943dca9f76b1dfa256be4d44bc95781
|
|
|
integration-reports-push-db
|
21.7 KB |
sha256:4759babac808b33fef9212e74f25e64d4ad61698a27f36cc912b702c97c5c8c3
|
|