improvement(tool-input): general abstraction to enrich agent context, reuse visibility helpers #8633
ci.yml
on: pull_request
Detect Version
0s
Test and Build
/
Test and Build
40s
Check Docs Changes
0s
Matrix: Build AMD64
Matrix: Build ARM64 (GHCR Only)
Process Docs
/
Process Documentation Embeddings
Matrix: Create GHCR Manifests
Annotations
10 errors and 2 warnings
|
tools/workflow/executor.test.ts > workflowExecutorTool > request.body > should handle empty JSON object string:
apps/sim/tools/workflow/executor.test.ts#L151
AssertionError: expected { input: {}, triggerType: 'api', …(1) } to deeply equal { input: {}, triggerType: 'api', …(1) }
- Expected
+ Received
{
"input": {},
"triggerType": "api",
- "useDraftState": false,
+ "useDraftState": true,
}
❯ tools/workflow/executor.test.ts:151:22
|
|
tools/workflow/executor.test.ts > workflowExecutorTool > request.body > should handle empty object inputMapping:
apps/sim/tools/workflow/executor.test.ts#L136
AssertionError: expected { input: {}, triggerType: 'api', …(1) } to deeply equal { input: {}, triggerType: 'api', …(1) }
- Expected
+ Received
{
"input": {},
"triggerType": "api",
- "useDraftState": false,
+ "useDraftState": true,
}
❯ tools/workflow/executor.test.ts:136:22
|
|
tools/workflow/executor.test.ts > workflowExecutorTool > request.body > should fallback to empty object for empty string:
apps/sim/tools/workflow/executor.test.ts#L121
AssertionError: expected { input: {}, triggerType: 'api', …(1) } to deeply equal { input: {}, triggerType: 'api', …(1) }
- Expected
+ Received
{
"input": {},
"triggerType": "api",
- "useDraftState": false,
+ "useDraftState": true,
}
❯ tools/workflow/executor.test.ts:121:22
|
|
tools/workflow/executor.test.ts > workflowExecutorTool > request.body > should fallback to empty object for invalid JSON string:
apps/sim/tools/workflow/executor.test.ts#L106
AssertionError: expected { input: {}, triggerType: 'api', …(1) } to deeply equal { input: {}, triggerType: 'api', …(1) }
- Expected
+ Received
{
"input": {},
"triggerType": "api",
- "useDraftState": false,
+ "useDraftState": true,
}
❯ tools/workflow/executor.test.ts:106:22
|
|
tools/workflow/executor.test.ts > workflowExecutorTool > request.body > should default to empty object when inputMapping is null:
apps/sim/tools/workflow/executor.test.ts#L91
AssertionError: expected { input: {}, triggerType: 'api', …(1) } to deeply equal { input: {}, triggerType: 'api', …(1) }
- Expected
+ Received
{
"input": {},
"triggerType": "api",
- "useDraftState": false,
+ "useDraftState": true,
}
❯ tools/workflow/executor.test.ts:91:22
|
|
tools/workflow/executor.test.ts > workflowExecutorTool > request.body > should default to empty object when inputMapping is undefined:
apps/sim/tools/workflow/executor.test.ts#L76
AssertionError: expected { input: {}, triggerType: 'api', …(1) } to deeply equal { input: {}, triggerType: 'api', …(1) }
- Expected
+ Received
{
"input": {},
"triggerType": "api",
- "useDraftState": false,
+ "useDraftState": true,
}
❯ tools/workflow/executor.test.ts:76:22
|
|
tools/workflow/executor.test.ts > workflowExecutorTool > request.body > should handle arrays in JSON string inputMapping:
apps/sim/tools/workflow/executor.test.ts#L61
AssertionError: expected { input: { …(2) }, …(2) } to deeply equal { input: { …(2) }, …(2) }
- Expected
+ Received
@@ -10,7 +10,7 @@
"b",
"c",
],
},
"triggerType": "api",
- "useDraftState": false,
+ "useDraftState": true,
}
❯ tools/workflow/executor.test.ts:61:22
|
|
tools/workflow/executor.test.ts > workflowExecutorTool > request.body > should handle nested objects in JSON string inputMapping:
apps/sim/tools/workflow/executor.test.ts#L46
AssertionError: expected { …(3) } to deeply equal { …(3) }
- Expected
+ Received
@@ -5,7 +5,7 @@
"email": "[email protected]",
"name": "John",
},
},
"triggerType": "api",
- "useDraftState": false,
+ "useDraftState": true,
}
❯ tools/workflow/executor.test.ts:46:22
|
|
tools/workflow/executor.test.ts > workflowExecutorTool > request.body > should parse JSON string inputMapping (UI-provided via tool-input):
apps/sim/tools/workflow/executor.test.ts#L31
AssertionError: expected { …(3) } to deeply equal { …(3) }
- Expected
+ Received
@@ -2,7 +2,7 @@
"input": {
"firstName": "John",
"lastName": "Doe",
},
"triggerType": "api",
- "useDraftState": false,
+ "useDraftState": true,
}
❯ tools/workflow/executor.test.ts:31:22
|
|
tools/workflow/executor.test.ts > workflowExecutorTool > request.body > should pass through object inputMapping unchanged (LLM-provided args):
apps/sim/tools/workflow/executor.test.ts#L16
AssertionError: expected { …(3) } to deeply equal { …(3) }
- Expected
+ Received
@@ -3,7 +3,7 @@
"age": 30,
"firstName": "John",
"lastName": "Doe",
},
"triggerType": "api",
- "useDraftState": false,
+ "useDraftState": true,
}
❯ tools/workflow/executor.test.ts:16:22
|
|
Test and Build / Test and Build
Skipping sticky disk commit due to previous step failures
|
|
Test and Build / Test and Build
Found 2 failed/cancelled steps in previous workflow steps
|