Skip to content

Add nodejs22.x AWS Lambda runtime #11929

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 26, 2024
Merged

Add nodejs22.x AWS Lambda runtime #11929

merged 2 commits into from
Nov 26, 2024

Conversation

dfangl
Copy link
Member

@dfangl dfangl commented Nov 26, 2024

Motivation

AWS recently added the nodejs22.x runtime: https://aws.amazon.com/blogs/compute/node-js-22-runtime-now-available-in-aws-lambda/

We want to support this inside LocalStack as well.

Fixes #11901

Changes

  • Creation of nodejs22.x lambdas is now available
  • Update snapshot tests to keep parity with AWS

@dfangl dfangl added this to the 4.0.3 milestone Nov 26, 2024
@dfangl dfangl requested a review from gregfurman as a code owner November 26, 2024 10:26
@dfangl dfangl added the semver: patch Non-breaking changes which can be included in patch releases label Nov 26, 2024
@dfangl dfangl self-assigned this Nov 26, 2024
Copy link

LocalStack Community integration with Pro

    2 files  ±  0      2 suites  ±0   1h 27m 35s ⏱️ - 23m 26s
2 787 tests  - 940  2 538 ✅  - 843  249 💤  - 97  0 ❌ ±0 
2 789 runs   - 940  2 538 ✅  - 843  251 💤  - 97  0 ❌ ±0 

Results for commit 720b7e2. ± Comparison against base commit 5f19fbc.

This pull request removes 946 and adds 6 tests. Note that renamed tests count towards both.
tests.aws.scenario.bookstore.test_bookstore.TestBookstoreApplication ‑ test_lambda_dynamodb
tests.aws.scenario.bookstore.test_bookstore.TestBookstoreApplication ‑ test_opensearch_crud
tests.aws.scenario.bookstore.test_bookstore.TestBookstoreApplication ‑ test_search_books
tests.aws.scenario.bookstore.test_bookstore.TestBookstoreApplication ‑ test_setup
tests.aws.scenario.kinesis_firehose.test_kinesis_firehose.TestKinesisFirehoseScenario ‑ test_kinesis_firehose_s3
tests.aws.scenario.lambda_destination.test_lambda_destination_scenario.TestLambdaDestinationScenario ‑ test_destination_sns
tests.aws.scenario.lambda_destination.test_lambda_destination_scenario.TestLambdaDestinationScenario ‑ test_infra
tests.aws.scenario.loan_broker.test_loan_broker.TestLoanBrokerScenario ‑ test_prefill_dynamodb_table
tests.aws.scenario.loan_broker.test_loan_broker.TestLoanBrokerScenario ‑ test_stepfunctions_input_recipient_list[step_function_input0-SUCCEEDED]
tests.aws.scenario.loan_broker.test_loan_broker.TestLoanBrokerScenario ‑ test_stepfunctions_input_recipient_list[step_function_input1-SUCCEEDED]
…
tests.aws.services.lambda_.test_lambda_common.TestLambdaCallingLocalstack ‑ test_manual_endpoint_injection[nodejs22.x]
tests.aws.services.lambda_.test_lambda_common.TestLambdaRuntimesCommon ‑ test_echo_invoke[nodejs22.x]
tests.aws.services.lambda_.test_lambda_common.TestLambdaRuntimesCommon ‑ test_introspection_invoke[nodejs22.x]
tests.aws.services.lambda_.test_lambda_common.TestLambdaRuntimesCommon ‑ test_runtime_wrapper_invoke[nodejs22.x]
tests.aws.services.lambda_.test_lambda_common.TestLambdaRuntimesCommon ‑ test_uncaught_exception_invoke[nodejs22.x]
tests.aws.services.lambda_.test_lambda_runtimes.TestNodeJSRuntimes ‑ test_invoke_nodejs_es6_lambda[nodejs22.x]

Copy link
Member

@joe4dev joe4dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Smooth sailing ⛵ Thank you @dfangl

@dfangl dfangl merged commit 0d02e67 into master Nov 26, 2024
26 of 28 checks passed
@dfangl dfangl deleted the lambda/runtime-nodejs-22 branch November 26, 2024 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver: patch Non-breaking changes which can be included in patch releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feature request: lambda nodejs22.x runtime support
2 participants