Description
Bug Description
After upgrading to [email protected], all executions using the Code Node (JavaScript language) stop responding and eventually time out β even with basic or minimal logic inside. This issue is not present in version 1.97.1, where the same workflows run perfectly.
Notably, Python language execution in the Code Node continues to work normally, indicating this is specific to the JavaScript node execution in 1.98.1.
System memory is not a constraint β we have 30GB+ of free memory on the host, and no other performance issues are observed.
To Reproduce
- Upgrade from v1.97.1 to v1.98.1
- Create a new workflow with a Code Node using:
return [ { json: { test: $now } } ];
-
Execute the node
-
Observe that the node hangs indefinitely or times out with no result
-
Roll back to v1.97.1 β same node executes correctly.
Expected behavior
The JavaScript Code Node should:
Execute even basic JavaScript code without issue
Return a valid output object (as it did in previous versions)
Operating System
Ubuntu 24.04.2 LTS
n8n Version
1.98.1
Node.js Version
v22.14.0
Database
PostgreSQL
Execution mode
main (default)