Skip to content

Add Dotnet 10 Lambda runtime#13607

Merged
joe4dev merged 2 commits intomainfrom
add-dotnet10-runtime
Jan 13, 2026
Merged

Add Dotnet 10 Lambda runtime#13607
joe4dev merged 2 commits intomainfrom
add-dotnet10-runtime

Conversation

@joe4dev
Copy link
Member

@joe4dev joe4dev commented Jan 12, 2026

Motivation

AWS recently (08 JAN 2026) released the new Lambda Runtime Dotnet 10: https://aws.amazon.com/blogs/compute/net-10-runtime-now-available-in-aws-lambda/

Changes

  • Add Lambda Runtime Dotnet 10
  • Update Dotnet dependencies to be Dotnet 10 compatible (except for AWSSDK.SQS; test was breaking)
  • Re-generate Lambda snapshots
  • Fix make clean target for multiruntime tests

Related

Closes https://linear.app/localstack/issue/DRG-348/add-new-lambda-runtime-net-10

TODO

@joe4dev joe4dev self-assigned this Jan 12, 2026
@joe4dev joe4dev added semver: minor Non-breaking changes which can be included in minor releases, but not in patch releases docs: skip Pull request does not require documentation changes notes: needed Pull request should be mentioned in the release notes labels Jan 12, 2026
@github-actions
Copy link

github-actions bot commented Jan 12, 2026

Test Results - Preflight, Unit

23 068 tests  ±0   21 223 ✅ ±0   6m 31s ⏱️ ±0s
     1 suites ±0    1 845 💤 ±0 
     1 files   ±0        0 ❌ ±0 

Results for commit bd3dd89. ± Comparison against base commit e1822b3.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Jan 12, 2026

Test Results (amd64) - Acceptance

7 tests  ±0   5 ✅ ±0   3m 3s ⏱️ +4s
1 suites ±0   2 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit bd3dd89. ± Comparison against base commit e1822b3.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Jan 12, 2026

Test Results (amd64) - Integration, Bootstrap

    5 files  ±    0      5 suites  ±0   2h 1m 26s ⏱️ - 34m 45s
3 772 tests  - 1 811  3 487 ✅  - 1 528  285 💤  - 283  0 ❌ ±0 
3 778 runs   - 1 811  3 487 ✅  - 1 528  291 💤  - 283  0 ❌ ±0 

Results for commit bd3dd89. ± Comparison against base commit e1822b3.

This pull request removes 1818 and adds 7 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_api.TestLambdaSnapStart ‑ test_snapstart_lifecycle[dotnet10]
tests.aws.services.lambda_.test_lambda_api.TestLambdaSnapStart ‑ test_snapstart_update_function_configuration[dotnet10]
tests.aws.services.lambda_.test_lambda_common.TestLambdaCallingLocalstack ‑ test_manual_endpoint_injection[dotnet10]
tests.aws.services.lambda_.test_lambda_common.TestLambdaRuntimesCommon ‑ test_echo_invoke[dotnet10]
tests.aws.services.lambda_.test_lambda_common.TestLambdaRuntimesCommon ‑ test_introspection_invoke[dotnet10]
tests.aws.services.lambda_.test_lambda_common.TestLambdaRuntimesCommon ‑ test_runtime_wrapper_invoke[dotnet10]
tests.aws.services.lambda_.test_lambda_common.TestLambdaRuntimesCommon ‑ test_uncaught_exception_invoke[dotnet10]

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Jan 12, 2026

LocalStack Community integration with Pro

    2 files  ±    0      2 suites  ±0   1h 30m 0s ⏱️ - 28m 13s
3 748 tests  - 1 414  3 459 ✅  - 1 305  289 💤  - 109  0 ❌ ±0 
3 750 runs   - 1 414  3 459 ✅  - 1 305  291 💤  - 109  0 ❌ ±0 

Results for commit bd3dd89. ± Comparison against base commit e1822b3.

This pull request removes 1421 and adds 7 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_api.TestLambdaSnapStart ‑ test_snapstart_lifecycle[dotnet10]
tests.aws.services.lambda_.test_lambda_api.TestLambdaSnapStart ‑ test_snapstart_update_function_configuration[dotnet10]
tests.aws.services.lambda_.test_lambda_common.TestLambdaCallingLocalstack ‑ test_manual_endpoint_injection[dotnet10]
tests.aws.services.lambda_.test_lambda_common.TestLambdaRuntimesCommon ‑ test_echo_invoke[dotnet10]
tests.aws.services.lambda_.test_lambda_common.TestLambdaRuntimesCommon ‑ test_introspection_invoke[dotnet10]
tests.aws.services.lambda_.test_lambda_common.TestLambdaRuntimesCommon ‑ test_runtime_wrapper_invoke[dotnet10]
tests.aws.services.lambda_.test_lambda_common.TestLambdaRuntimesCommon ‑ test_uncaught_exception_invoke[dotnet10]

♻️ This comment has been updated with latest results.

@joe4dev joe4dev marked this pull request as ready for review January 13, 2026 08:37
Copy link
Member

@dfangl dfangl left a comment

Choose a reason for hiding this comment

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

LGTM!


# Send the response (using stdin to circumvent max input length)
echo ${RESPONSE} | curl -X POST "http://${AWS_LAMBDA_RUNTIME_API}/2018-06-01/runtime/invocation/$REQUEST_ID/response" --data @'-'
echo "$RESPONSE" | curl -X POST "http://${AWS_LAMBDA_RUNTIME_API}/2018-06-01/runtime/invocation/${REQUEST_ID}/response" --data @'-'
Copy link
Member

Choose a reason for hiding this comment

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

Good catch!

@joe4dev joe4dev merged commit 98e5406 into main Jan 13, 2026
44 checks passed
@joe4dev joe4dev deleted the add-dotnet10-runtime branch January 13, 2026 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs: skip Pull request does not require documentation changes notes: needed Pull request should be mentioned in the release notes semver: minor Non-breaking changes which can be included in minor releases, but not in patch releases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants