Skip to content

improvement(files): update execution for passing base64 strings #8761

improvement(files): update execution for passing base64 strings

improvement(files): update execution for passing base64 strings #8761

Triggered via pull request January 21, 2026 01:19
Status Failure
Total duration 1m 7s
Artifacts

ci.yml

on: pull_request
Detect Version
0s
Detect Version
Test and Build  /  Test and Build
57s
Test and Build / Test and Build
Check Docs Changes
0s
Check Docs Changes
Matrix: Build AMD64
Matrix: Build ARM64 (GHCR Only)
Process Docs  /  Process Documentation Embeddings
Process Docs / Process Documentation Embeddings
Matrix: Create GHCR Manifests
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
lib/core/security/input-validation.test.ts > createPinnedUrl > should preserve port if specified: apps/sim/lib/core/security/input-validation.test.ts#L602
TypeError: createPinnedUrl is not a function ❯ lib/core/security/input-validation.test.ts:602:20
lib/core/security/input-validation.test.ts > createPinnedUrl > should replace hostname with IP: apps/sim/lib/core/security/input-validation.test.ts#L597
TypeError: createPinnedUrl is not a function ❯ lib/core/security/input-validation.test.ts:597:20
executor/handlers/condition/condition-handler.test.ts > ConditionBlockHandler > should pass correct parameters to function_execute tool: apps/sim/executor/handlers/condition/condition-handler.test.ts#L189
AssertionError: expected "spy" to be called with arguments: [ 'function_execute', …(4) ] Received: 1st spy call: @@ -1,9 +1,10 @@ [ "function_execute", - ObjectContaining { + { "_context": { + "isDeployedContext": undefined, "workflowId": "test-workflow-id", "workspaceId": "test-workspace-id", }, "blockData": { "source-block-1": { @@ -12,11 +13,12 @@ }, }, "blockNameMapping": { "sourceblock": "source-block-1", }, - "code": StringContaining "context.value > 5", + "code": "const context = {\"value\":10,\"text\":\"hello\"}; + return Boolean(context.value > 5)", "envVars": { "API_KEY": "test-key", }, "timeout": 5000, "workflowVariables": { @@ -25,11 +27,10 @@ "type": "plain", "value": "john", }, }, }, - false, false, { "activeExecutionPath": Set {}, "blockLogs": [], "blockStates": Map { Number of calls: 1 ❯ executor/handlers/condition/condition-handler.test.ts:189:29
tools/index.test.ts > MCP Tool Execution > should handle MCP API network errors: apps/sim/tools/index.test.ts#L1007
AssertionError: expected 'Missing workspaceId in execution cont…' to contain 'Network error' Expected: "Network error" Received: "Missing workspaceId in execution context for MCP tool test_tool" ❯ tools/index.test.ts:1007:26
tools/index.test.ts > MCP Tool Execution > should handle MCP tool execution errors: apps/sim/tools/index.test.ts#L965
AssertionError: expected 'Missing workspaceId in execution cont…' to contain 'Tool not found on server' Expected: "Tool not found on server" Received: "Missing workspaceId in execution context for MCP tool nonexistent_tool" ❯ tools/index.test.ts:965:26
tools/index.test.ts > MCP Tool Execution > should execute MCP tool with valid tool ID: apps/sim/tools/index.test.ts#L830
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ tools/index.test.ts:830:28
tools/index.test.ts > Automatic Internal Route Detection > should call external URLs directly with SSRF protection: apps/sim/tools/index.test.ts#L541
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ tools/index.test.ts:541:28
tools/index.test.ts > executeTool Function > should execute a tool successfully: apps/sim/tools/index.test.ts#L208
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ tools/index.test.ts:208:28
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