Skip to content

🚨 JavaScript Code Node Timeout in v1.98.1 β€” Works Fine in v1.97.1Β #16541

Open
@vineetdpnd

Description

@vineetdpnd

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

  1. Upgrade from v1.97.1 to v1.98.1
  2. Create a new workflow with a Code Node using:

return [ { json: { test: $now } } ];

  1. Execute the node

  2. Observe that the node hangs indefinitely or times out with no result

  3. 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs FeedbackWaiting for further input or clarification.in linearIssue or PR has been created in Linear for internal review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions