chore: bump Node.js from 20 to 24 LTS (CM-1280) - #4489
Open
skwowet wants to merge 6 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Migrates CDP’s supported runtime from Node.js 20 to Node.js 24 LTS across development, CI, Docker images, and TypeScript definitions.
Changes:
- Updates Node.js runtime requirements, CI actions, Docker images, and
@types/node. - Upgrades backend
bcryptfor Node.js 24 compatibility. - Adjusts fetch dispatcher typing and affiliation fallback indexing.
Reviewed changes
Copilot reviewed 90 out of 91 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
.nvmrc |
Selects Node.js 24. |
package.json |
Requires Node.js 24+. |
README.md |
Documents Node.js 24 requirement. |
pnpm-lock.yaml |
Locks updated Node types and bcrypt dependencies. |
backend/package.json |
Upgrades bcrypt and Node types. |
frontend/Dockerfile |
Builds frontend with Node.js 24. |
.github/actions/node/package.json |
Updates action Node types. |
.github/actions/node/builder/action.yaml |
Uses the Node.js 24 action runtime. |
.github/workflows/backend-lint.yaml |
Runs backend and service lint on Node.js 24. |
.github/workflows/frontend-lint.yml |
Adds Node.js 24 setup. |
.github/workflows/server-tests.yml |
Runs server tests using .nvmrc. |
services/archetypes/consumer/package.json |
Updates Node types. |
services/archetypes/standard/package.json |
Updates Node types. |
services/archetypes/worker/package.json |
Updates Node types. |
services/apps/automatic_projects_discovery_worker/package.json |
Updates Node types. |
services/apps/cache_worker/package.json |
Updates Node types. |
services/apps/categorization_worker/package.json |
Updates Node types. |
services/apps/cron_service/package.json |
Updates Node types. |
services/apps/data_sink_worker/package.json |
Updates Node types. |
services/apps/entity_merging_worker/package.json |
Updates Node types. |
services/apps/exports_worker/package.json |
Updates Node types. |
services/apps/integration_run_worker/package.json |
Updates Node types. |
services/apps/integration_stream_worker/package.json |
Updates Node types. |
services/apps/kafka_connect_monitor/package.json |
Updates Node types. |
services/apps/members_enrichment_worker/package.json |
Updates Node types. |
services/apps/merge_suggestions_worker/package.json |
Updates Node types. |
services/apps/nango_webhook_api/package.json |
Updates Node types. |
services/apps/nango_worker/package.json |
Updates Node types. |
services/apps/organizations_enrichment_worker/package.json |
Updates Node types. |
services/apps/packages_worker/package.json |
Updates Node types. |
services/apps/packages_worker/src/npm/fetchDownloads.ts |
Adapts dispatcher typing for Node.js 24. |
services/apps/packages_worker/src/npm/fetchPackument.ts |
Adapts dispatcher typing for Node.js 24. |
services/apps/packages_worker/src/packagist/fetchPackage.ts |
Adapts Packagist dispatcher typing. |
services/apps/packages_worker/src/packagist/listPackages.ts |
Adapts package-list dispatcher typing. |
services/apps/packages_worker/src/pypi/fetchProject.ts |
Adapts PyPI dispatcher typing. |
services/apps/profiles_worker/package.json |
Updates Node types. |
services/apps/projects_evaluation_worker/package.json |
Updates Node types. |
services/apps/script_executor_worker/package.json |
Updates Node types. |
services/apps/search_sync_api/package.json |
Updates Node types. |
services/apps/search_sync_worker/package.json |
Updates Node types. |
services/apps/security_best_practices_worker/package.json |
Updates Node types. |
services/apps/template_consumer/package.json |
Updates Node types. |
services/apps/template_worker/package.json |
Updates Node types. |
services/apps/temporal_codec_server/package.json |
Updates Node types. |
services/apps/webhook_api/package.json |
Updates Node types. |
services/libs/anthropic-aws/package.json |
Updates Node types. |
services/libs/audit-logs/package.json |
Updates Node types. |
services/libs/common/package.json |
Updates Node types. |
services/libs/common_services/package.json |
Updates Node types. |
services/libs/data-access-layer/package.json |
Updates Node types. |
services/libs/data-access-layer/src/affiliations/index.ts |
Replaces .at(0) with indexed access. |
services/libs/database/package.json |
Updates Node types. |
services/libs/integrations/package.json |
Updates Node types. |
services/libs/logging/package.json |
Updates Node types. |
services/libs/nango/package.json |
Updates Node types. |
services/libs/opensearch/package.json |
Updates Node types. |
services/libs/queue/package.json |
Updates Node types. |
services/libs/redis/package.json |
Updates Node types. |
services/libs/slack/package.json |
Updates Node types. |
services/libs/snowflake/package.json |
Updates Node types. |
services/libs/telemetry/package.json |
Updates Node types. |
services/libs/temporal/package.json |
Updates Node types. |
services/libs/test-kit/package.json |
Updates Node types. |
services/libs/types/package.json |
Updates Node types. |
scripts/services/docker/Dockerfile.automatic_projects_discovery_worker |
Uses Node.js 24 images. |
scripts/services/docker/Dockerfile.backend |
Uses Node.js 24 images. |
scripts/services/docker/Dockerfile.cache_worker |
Uses Node.js 24 images. |
scripts/services/docker/Dockerfile.categorization_worker |
Uses Node.js 24 images. |
scripts/services/docker/Dockerfile.cron_service |
Uses Node.js 24 images. |
scripts/services/docker/Dockerfile.data_sink_worker |
Uses Node.js 24 images. |
scripts/services/docker/Dockerfile.entity_merging_worker |
Uses Node.js 24 images. |
scripts/services/docker/Dockerfile.exports_worker |
Uses Node.js 24 images. |
scripts/services/docker/Dockerfile.integration_run_worker |
Uses Node.js 24 images. |
scripts/services/docker/Dockerfile.integration_stream_worker |
Uses Node.js 24 images. |
scripts/services/docker/Dockerfile.kafka_connect_monitor |
Uses Node.js 24 images. |
scripts/services/docker/Dockerfile.members_enrichment_worker |
Uses Node.js 24 images. |
scripts/services/docker/Dockerfile.merge_suggestions_worker |
Uses Node.js 24 images. |
scripts/services/docker/Dockerfile.nango_webhook_api |
Uses Node.js 24 images. |
scripts/services/docker/Dockerfile.nango_worker |
Uses Node.js 24 images. |
scripts/services/docker/Dockerfile.organizations_enrichment_worker |
Uses Node.js 24 images. |
scripts/services/docker/Dockerfile.packages |
Uses Node.js 24 images. |
scripts/services/docker/Dockerfile.pcc_sync_worker |
Uses Node.js 24 images. |
scripts/services/docker/Dockerfile.profiles_worker |
Uses Node.js 24 images. |
scripts/services/docker/Dockerfile.projects_evaluation_worker |
Uses Node.js 24 images. |
scripts/services/docker/Dockerfile.script_executor |
Uses Node.js 24. |
scripts/services/docker/Dockerfile.script_executor_worker |
Uses Node.js 24 images. |
scripts/services/docker/Dockerfile.search_sync_api |
Uses Node.js 24 images. |
scripts/services/docker/Dockerfile.search_sync_worker |
Uses Node.js 24 images. |
scripts/services/docker/Dockerfile.security_best_practices_worker |
Uses Node.js 24 images. |
scripts/services/docker/Dockerfile.snowflake_connectors_worker |
Uses Node.js 24 images. |
scripts/services/docker/Dockerfile.webhook_api |
Uses Node.js 24 images. |
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
Suppressed comments (1)
services/apps/packages_worker/src/packagist/fetchPackage.ts:126
- Casting the entire options object to
RequestInitdisables validation for every standard fetch field, so later typos or invalid values can pass typecheck. Keep the compatibility escape hatch ondispatcheronly and let TypeScript check the rest of the object.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
skwowet
force-pushed
the
chore/cm-1280-node-24-lts
branch
from
August 18, 2026 11:15
1a92e7d to
64e859b
Compare
skwowet
force-pushed
the
chore/cm-1280-node-24-lts
branch
from
August 18, 2026 11:22
64e859b to
fabeb05
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 90 out of 91 changed files in this pull request and generated no new comments.
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
Suppressed comments (6)
services/apps/packages_worker/src/packagist/fetchPackage.ts:121
- This explanatory comment lacks a link to the external incompatibility. Since the adjacent narrow cast already makes the workaround clear, remove the comment (or replace it with a linked upstream reference).
services/apps/packages_worker/src/pypi/fetchProject.ts:27 - This explanatory comment lacks a link to the external incompatibility. Since the adjacent narrow cast already makes the workaround clear, remove the comment (or replace it with a linked upstream reference).
services/apps/packages_worker/src/npm/fetchPackument.ts:28 - This explanatory comment lacks a link to the external incompatibility. Since the adjacent narrow cast already makes the workaround clear, remove the comment (or replace it with a linked upstream reference).
services/apps/packages_worker/src/npm/fetchDownloads.ts:12 - This explanatory comment lacks a link to the external incompatibility. Since the adjacent narrow cast already makes the workaround clear, remove the comment (or replace it with a linked upstream reference).
services/apps/packages_worker/src/packagist/listPackages.ts:88 - This explanatory comment lacks a link to the external incompatibility. Since the adjacent narrow cast already makes the workaround clear, remove the comment (or replace it with a linked upstream reference).
services/apps/packages_worker/src/packagist/fetchPackage.ts:57 - This explanatory comment lacks a link to the external incompatibility. Since the adjacent narrow cast already makes the workaround clear, remove the comment (or replace it with a linked upstream reference).
This issue also appears on line 121 of the same file.
Signed-off-by: Yeganathan S <63534555+skwowet@users.noreply.github.com>
Signed-off-by: Yeganathan S <63534555+skwowet@users.noreply.github.com>
Signed-off-by: Yeganathan S <63534555+skwowet@users.noreply.github.com>
Signed-off-by: Yeganathan S <63534555+skwowet@users.noreply.github.com>
skwowet
force-pushed
the
chore/cm-1280-node-24-lts
branch
from
August 18, 2026 12:21
b939171 to
e34d9cc
Compare
Signed-off-by: Yeganathan S <63534555+skwowet@users.noreply.github.com>
Signed-off-by: Yeganathan S <63534555+skwowet@users.noreply.github.com>
epipav
approved these changes
Aug 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Node 20 reached EOL on 30 Apr 2026 and no longer receives security updates. This PR moves CDP to Node 24 LTS (Krypton), the current Active LTS.
Node 22 is already in Maintenance. Node 26 is Current and does not become LTS until October 2026. Odd-numbered lines are not LTS.
.nvmrc, Docker images,setup-nodefrom.nvmrc, GitHub JS action onnode24,@types/node^24bcrypt6,config3.3.12,jsonwebtoken9, plustsx,undici,axios,@slack/web-api,snowflake-sdk, anddd-tracehttps://linuxfoundation.atlassian.net/browse/CM-1280
Test plan
pnpm test:server