Skip to content

feat(lambda): support legacy runtimes (nodejs16, python3.8-3.10, java11, go1.x)#781

Merged
vieiralucas merged 1 commit intomainfrom
lambda-legacy-runtimes
Apr 26, 2026
Merged

feat(lambda): support legacy runtimes (nodejs16, python3.8-3.10, java11, go1.x)#781
vieiralucas merged 1 commit intomainfrom
lambda-legacy-runtimes

Conversation

@vieiralucas
Copy link
Copy Markdown
Member

@vieiralucas vieiralucas commented Apr 26, 2026

Summary

  • Lambda docs claimed support for nodejs16, python3.8/3.9/3.10, java11, go1.x — none existed in runtime_to_image.
  • Adds those mappings so docs match reality (runtime IDs map to public AWS ECR Lambda images).
  • Issue Later versions of Node.js and Python aren't mentioned in the Lambda docs #772 also flagged that the docs are missing nodejs22 + python3.13 (which already exist in code). Doc patch left for the reporter to send if they want.

Test plan

  • cargo test -p fakecloud-lambda runtime::tests::test_runtime_to_image
  • cargo build -p fakecloud-lambda

Refs #772


Summary by cubic

Adds support for legacy AWS Lambda runtimes by mapping them to public ECR images, aligning code with our docs. Users can now resolve images for nodejs16.x, python3.10/3.9/3.8, java11, and go1.x.

  • New Features
    • Added image mappings for nodejs16.x, python3.10/3.9/3.8, java11, go1.x.
    • Added unit tests for the new runtimes.

Written for commit 4b2d72c. Summary will update on new commits.

…ava11, go1.x

Docs claimed these existed; code only had current runtimes. Adds the
legacy entries to runtime_to_image so docs and reality match.
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

No issues found across 1 file

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@vieiralucas vieiralucas merged commit 913b8cc into main Apr 26, 2026
60 of 61 checks passed
@vieiralucas vieiralucas deleted the lambda-legacy-runtimes branch April 26, 2026 15:15
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.

1 participant