fix(input-format): resolution for blocks with input format fields #9137
ci.yml
on: pull_request
Detect Version
0s
Test and Build
/
Test and Build
59s
Check Docs Changes
0s
Matrix: Build AMD64
Matrix: Build ARM64 (GHCR Only)
Process Docs
/
Process Documentation Embeddings
Matrix: Create GHCR Manifests
Create GitHub Release
0s
Annotations
6 errors and 3 warnings
|
Test and Build / Test and Build
Process completed with exit code 1.
|
|
lib/workflows/comparison/normalize.test.ts > Workflow Normalization Utilities > sanitizeInputFormat > should preserve all other fields:
apps/sim/lib/workflows/comparison/normalize.test.ts#L402
AssertionError: expected { id: 'input1', …(5) } to deeply equal { id: 'input1', …(4) }
- Expected
+ Received
@@ -5,6 +5,7 @@
"type": "string",
"validation": {
"max": 100,
"min": 0,
},
+ "value": "test-value",
}
❯ lib/workflows/comparison/normalize.test.ts:402:25
|
|
lib/workflows/comparison/normalize.test.ts > Workflow Normalization Utilities > sanitizeInputFormat > should remove value and collapsed fields:
apps/sim/lib/workflows/comparison/normalize.test.ts#L381
AssertionError: expected [ { id: 'input1', …(2) }, …(2) ] to deeply equal [ Array(3) ]
- Expected
+ Received
@@ -1,13 +1,15 @@
[
{
"id": "input1",
"name": "Name",
+ "value": "John",
},
{
"id": "input2",
"name": "Age",
+ "value": 25,
},
{
"id": "input3",
"name": "Email",
},
❯ lib/workflows/comparison/normalize.test.ts:381:22
|
|
lib/workflows/comparison/compare.test.ts > hasWorkflowChanged > Input Format Field Scenarios > should not detect change when inputFormat value is typed and cleared:
apps/sim/lib/workflows/comparison/compare.test.ts#L1752
AssertionError: expected true to be false // Object.is equality
- Expected
+ Received
- false
+ true
❯ lib/workflows/comparison/compare.test.ts:1752:63
|
|
lib/workflows/comparison/compare.test.ts > hasWorkflowChanged > InputFormat SubBlock Special Handling > should ignore value and collapsed fields in inputFormat:
apps/sim/lib/workflows/comparison/compare.test.ts#L589
AssertionError: expected true to be false // Object.is equality
- Expected
+ Received
- false
+ true
❯ lib/workflows/comparison/compare.test.ts:589:50
|
|
Test and Build / Test and Build
sim#test: command (/home/runner/_work/sim/sim/apps/sim) /home/runner/.bun/bin/bun run test exited (1)
|
|
Test and Build / Test and Build
Skipping sticky disk commit due to previous step failures
|
|
Test and Build / Test and Build
- Step: unknown (failed)
|
|
Test and Build / Test and Build
Found 2 failed/cancelled steps in previous workflow steps
|