Skip to content

Conversation

@godcrampy
Copy link
Member

@godcrampy godcrampy commented Dec 4, 2025

NodeJS RIC Rewrite for Node.js 24 and Lambda Managed Instances

Key Changes

Core Architecture:

  • Migrated to TypeScript with ESM-first environment
  • Targets Node.js 22+ exclusively
  • Implements two-dimensional multi-concurrency model for Lambda Managed Instance (Multiconcurrency) compatibility
  • Replaced Make/shell scripts with npm-based build system

Handler & Context Updates:

  • Removed callback-based handler support (promise-based only)
  • Eliminated legacy context.succeed/fail/done methods
  • Removed legacy callbackWaitsForEmptyEventLoop getters/setters

Developer Experience:

  • Native RIE testing support with single build command
  • Introduced InvokeStore package for trace ID propagation via AsyncLocalStorage

Runtime Behavior:

  • No BeforeExit event loop waiting (pure runtime loop)
  • Worker thread count defaults to logical CPU count
  • Configurable via AWS_LAMBDA_NODEJS_WORKER_COUNT

Read More:

@godcrampy godcrampy changed the title ci: Enable CI actions + Update Readme for Node.js 24 feat: Prepare for Node.js 24 + Lambda Managed Instances RIC Launch Dec 4, 2025
@darklight3it darklight3it self-requested a review December 4, 2025 16:14
@godcrampy godcrampy merged commit 7a6f162 into nodejs24.x Dec 4, 2025
1 check passed
@godcrampy godcrampy deleted the nodejs24.x-godcrampy-ci branch December 4, 2025 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants