Test and Build #78
test-build.yml
on: workflow_dispatch
Lint and Test
29s
Build App
2m 5s
Matrix: test-shard
Annotations
15 errors and 24 warnings
|
Lint and Test
Process completed with exit code 1.
|
|
Lint and Test
@sim/app#lint:check: command (/home/runner/_work/sim/sim/apps/sim) /home/runner/.bun/bin/bun run lint:check exited (1)
|
|
Lint and Test
Process completed with exit code 1.
|
|
Test (shard 2)
Process completed with exit code 1.
|
|
Test (shard 2)
@sim/app#test: command (/home/runner/_work/sim/sim/apps/sim) /home/runner/.bun/bin/bun run test exited (1)
|
|
lib/internal/oci-object-storage-native/operations.test.ts > native OCI bounded files and schemas > rejects unsupported or unsafe operation input 2:
apps/sim/lib/uploads/utils/file-schemas.ts#L33
Error: [vitest] No "isInternalFileUrl" export is defined on the "@/lib/uploads/utils/file-utils" 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-utils"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ Object.z.object.passthrough.refine.refine.message [as fn] lib/uploads/utils/file-schemas.ts:33:14
❯ Object.inst._zod.check ../../node_modules/zod/v4/core/schemas.js:2071:23
❯ runChecks ../../node_modules/zod/v4/core/schemas.js:46:35
❯ Object.inst._zod.run ../../node_modules/zod/v4/core/schemas.js:112:20
❯ Object.inst._zod.parse ../../node_modules/zod/v4/core/schemas.js:1630:35
❯ Object.inst._zod.parse ../../node_modules/zod/v4/core/schemas.js:1659:35
❯ eval ../../node_modules/zod/v4/core/doc.js:33:16
❯ ../../node_modules/zod/v4/core/schemas.js:897:34
|
|
blocks/blocks.test.ts > Blocks Module > Canonical Param Validation > should have unique canonicalParamIds per operation/condition context:
apps/sim/blocks/blocks.test.ts#L1306
Error: Canonical param reuse across conditions:
Block "oci_object_storage_native": Canonical param "bucketName" is used across 3 different conditions. Each operation should have its own unique canonicalParamId.
Block "oci_object_storage_native": Canonical param "objectName" is used across 4 different conditions. Each operation should have its own unique canonicalParamId.
Block "oci_object_storage_native": Canonical param "versioning" is used across 2 different conditions. Each operation should have its own unique canonicalParamId.
Block "oci_object_storage_native": Canonical param "storageTier" is used across 2 different conditions. Each operation should have its own unique canonicalParamId.
❯ blocks/blocks.test.ts:1306:15
|
|
blocks/blocks.test.ts > Blocks Module > Canonical Param Validation > should have properly formed canonical pairs (matching conditions):
apps/sim/blocks/blocks.test.ts#L1265
Error: Canonical pair validation errors:
Block "oci_object_storage_native": Canonical param "bucketName" has members with different conditions: {"field":"operation","value":["oci_object_storage_native_abort_multipart_upload","oci_object_storage_native_batch_delete_objects","oci_object_storage_native_commit_multipart_upload","oci_object_storage_native_copy_object","oci_object_storage_native_create_multipart_upload","oci_object_storage_native_create_preauthenticated_request","oci_object_storage_native_delete_bucket","oci_object_storage_native_delete_lifecycle_policy","oci_object_storage_native_delete_object","oci_object_storage_native_delete_preauthenticated_request","oci_object_storage_native_download_object","oci_object_storage_native_get_bucket","oci_object_storage_native_get_lifecycle_policy","oci_object_storage_native_get_preauthenticated_request","oci_object_storage_native_head_object","oci_object_storage_native_list_multipart_parts","oci_object_storage_native_list_multipart_uploads","oci_object_storage_native_list_object_versions","oci_object_storage_native_list_objects","oci_object_storage_native_list_preauthenticated_requests","oci_object_storage_native_put_lifecycle_policy","oci_object_storage_native_rename_object","oci_object_storage_native_restore_object","oci_object_storage_native_update_bucket","oci_object_storage_native_update_object_storage_tier","oci_object_storage_native_upload_object","oci_object_storage_native_upload_part"]} vs {"field":"operation","value":["oci_object_storage_native_create_bucket"]} vs {"field":"operation","value":["oci_object_storage_native_abort_multipart_upload","oci_object_storage_native_batch_delete_objects","oci_object_storage_native_commit_multipart_upload","oci_object_storage_native_copy_object","oci_object_storage_native_create_bucket","oci_object_storage_native_create_multipart_upload","oci_object_storage_native_create_preauthenticated_request","oci_object_storage_native_delete_bucket","oci_object_storage_native_delete_lifecycle_policy","oci_object_storage_native_delete_object","oci_object_storage_native_delete_preauthenticated_request","oci_object_storage_native_download_object","oci_object_storage_native_get_bucket","oci_object_storage_native_get_lifecycle_policy","oci_object_storage_native_get_preauthenticated_request","oci_object_storage_native_head_object","oci_object_storage_native_list_multipart_parts","oci_object_storage_native_list_multipart_uploads","oci_object_storage_native_list_object_versions","oci_object_storage_native_list_objects","oci_object_storage_native_list_preauthenticated_requests","oci_object_storage_native_put_lifecycle_policy","oci_object_storage_native_rename_object","oci_object_storage_native_restore_object","oci_object_storage_native_update_bucket","oci_object_storage_native_update_object_storage_tier","oci_object_storage_native_upload_object","oci_object_storage_native_upload_part"]}
Block "oci_object_storage_native": Canonical param "bucketName" has 2 basic mode members (should have at most 1)
Block "oci_object_storage_native": Canonical param "objectName" has members with different conditions: {"field":"operation","value":["oci_object_storage_native_head_object","oci_object_storage_native_download_object","oci_object_storage_native_copy_object","oci_object_storage_native_rename_object","oci_object_storage_native_delete_object","oci_object_storage_native_restore_object","oci_object_storage_native_update_object_storage_tier"]} vs {"field":"operation","value":["oci_object_storage_native_abort_multipart_upload","oci_object_storage_native_commit_multipart_upload","oci_object_storage_native_create_multipart_upload","oci_object_storage_native_list_multipart_parts","oci_object_storage_native_upload_object","oci_object_storage_native_upload_part"]} vs {"field":"operation","value":["oci_object_storage_native_abort_multipart_upload","oci_object_storage_native_commit_multipart_upload","oci_object_storage_native_copy_object","oci_object_storage_native_create_multipart_upload","oci_object_storage_native_delete_object","oci_object_storage_native_download_obj
|
|
blocks/blocks.test.ts > Blocks Module > Input/Output Validation > should have valid output types:
apps/sim/blocks/blocks.test.ts#L663
AssertionError: expected [ 'string', 'number', 'boolean', …(5) ] to include 'object'
❯ blocks/blocks.test.ts:663:43
|
|
Build App
Process completed with exit code 1.
|
|
Build App
Type '"object"' is not assignable to type 'PrimitiveValueType'.
|
|
Build App
Type '"object"' is not assignable to type 'PrimitiveValueType'.
|
|
Build App
Type '"object"' is not assignable to type 'PrimitiveValueType'.
|
|
Build App
Type '"object"' is not assignable to type 'PrimitiveValueType'.
|
|
Build App
@sim/app#build: command (/home/runner/_work/sim/sim/apps/sim) /home/runner/.bun/bin/bun run build exited (1)
|
|
Lint and Test
Skipping sticky disk commit due to previous step failures
|
|
Lint and Test
- Step: unknown (failed)
|
|
Lint and Test
Found 2 failed/cancelled steps in previous workflow steps
|
|
Lint and Test
Skipping sticky disk commit due to previous step failures
|
|
Lint and Test
- Step: unknown (failed)
|
|
Lint and Test
Found 2 failed/cancelled steps in previous workflow steps
|
|
Lint and Test
Skipping sticky disk commit due to previous step failures
|
|
Lint and Test
- Step: unknown (failed)
|
|
Lint and Test
Found 2 failed/cancelled steps in previous workflow steps
|
|
Test (shard 2)
Skipping sticky disk commit due to previous step failures
|
|
Test (shard 2)
Found 2 failed/cancelled steps in previous workflow steps
|
|
Test (shard 2)
Skipping sticky disk commit due to previous step failures
|
|
Test (shard 2)
Found 2 failed/cancelled steps in previous workflow steps
|
|
Test (shard 2)
Skipping sticky disk commit due to previous step failures
|
|
Test (shard 2)
Found 2 failed/cancelled steps in previous workflow steps
|
|
Build App
Skipping sticky disk commit due to previous step failures
|
|
Build App
- Step: unknown (failed)
|
|
Build App
Found 2 failed/cancelled steps in previous workflow steps
|
|
Build App
Skipping sticky disk commit due to previous step failures
|
|
Build App
- Step: unknown (failed)
|
|
Build App
Found 2 failed/cancelled steps in previous workflow steps
|
|
Build App
Skipping sticky disk commit due to previous step failures
|
|
Build App
- Step: unknown (failed)
|
|
Build App
Found 2 failed/cancelled steps in previous workflow steps
|