Skip to content

[9.4]Upgrade to Node.js 24.14.1 (#260558)#265880

Merged
jbudz merged 4 commits intoelastic:9.4from
jbudz:backport/260558/9.4
Apr 29, 2026
Merged

[9.4]Upgrade to Node.js 24.14.1 (#260558)#265880
jbudz merged 4 commits intoelastic:9.4from
jbudz:backport/260558/9.4

Conversation

@jbudz
Copy link
Copy Markdown
Contributor

@jbudz jbudz commented Apr 27, 2026

Backports #260558

jbudz and others added 4 commits April 27, 2026 13:44
Upgrades Node.js from 22.22.0 to 24.14.1.

https://nodejs.org/en/blog/release/v24.0.0
https://nodejs.org/en/blog/migrations/v22-to-v24
https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V24.md

Reopened version of elastic#254588 except
with the `url.parse`
[deprecation](https://nodejs.org/api/deprecations.html#dep0169-insecure-urlparse)
migration deferred to elastic#260591.
`url.parse` is used widely across the codebase including in low level
libraries.
Migrating all at once increases risk of an accidental break in critical
code paths.

https://buildkite.com/elastic/kibana-pointer-compression/builds/422
https://buildkite.com/elastic/kibana-glibc-2-dot-17/builds/125

https://buildkite.com/elastic/appex-qa-serverless-kibana-ftr-tests/builds/8894

---------

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
## Summary

Fix this error after node 24.14.1 upgrade (elastic#260453):

```
$ node scripts/kbn bootstrap
success yarn.lock integrity check passed - no need to update
info pre-build webpack bundles
Using moon at (node:28990) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
(Use `node --trace-deprecation ...` to show where the warning was created)
/Users/jen/Projects/kibana/node_modules/.bin/moon
UNHANDLED EXCEPTION: Error: spawn ENAMETOOLONG
    at ChildProcess.spawn (node:internal/child_process:421:11)
    at Object.spawn (node:child_process:796:9)
    at run (file:///Users/jen/Projects/kibana/src/dev/kbn_pm/src/lib/spawn.mjs:105:29)
    at moonRun (file:///Users/jen/Projects/kibana/src/dev/kbn_pm/src/lib/moon.mjs:66:10)
    at processTicksAndRejections (node:internal/process/task_queues:104:5)
    at file:///Users/jen/Projects/kibana/src/dev/kbn_pm/src/commands/bootstrap/bootstrap_command.mjs:130:13
    at async Promise.allSettled (index 0)
    at time (file:///Users/jen/Projects/kibana/src/dev/kbn_pm/src/cli.mjs:72:22)
    at async Promise.all (index 0)
    at Object.run (file:///Users/jen/Projects/kibana/src/dev/kbn_pm/src/commands/bootstrap/bootstrap_command.mjs:125:5)
error Command failed with exit code 1.
```
@jbudz jbudz requested a review from kibanamachine as a code owner April 27, 2026 18:55
@jbudz jbudz added backport This PR is a backport of another PR ci:all-cypress-suites ci:build-storybooks labels Apr 27, 2026
@kibanamachine
Copy link
Copy Markdown
Contributor

kibanamachine commented Apr 27, 2026

💔 Build Failed

Failed CI Steps

Metrics [docs]

✅ unchanged

History

@jbudz jbudz requested a review from a team April 27, 2026 20:53
@jbudz jbudz merged commit d04875d into elastic:9.4 Apr 29, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants