Skip to content

Align java25 runtime support and runtime docs#154

Merged
GrahamCampbell merged 3 commits intomainfrom
fix/runtime-sync-docs
Apr 19, 2026
Merged

Align java25 runtime support and runtime docs#154
GrahamCampbell merged 3 commits intomainfrom
fix/runtime-sync-docs

Conversation

@GrahamCampbell
Copy link
Copy Markdown
Contributor

  • Add java25 to the AWS runtime schema so validation matches existing typings and invoke-local support
  • Add regression tests to keep runtime enums in sync and cover java25 across provider, function, layer, and Java invoke-local paths
  • Update stale runtime docs for invoke local, SnapStart, and Lambda@Edge to avoid drift and incorrect recommendations

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Aligns AWS runtime validation, typings, invoke-local behavior, and docs by adding java25 support and preventing future drift between runtime enums.

Changes:

  • Add java25 to the AWS provider runtime schema.
  • Add unit tests covering java25 for provider/function/layer config and Java invoke local, plus a new “schema parity” regression test.
  • Update docs for SnapStart, invoke local, and Lambda@Edge runtime guidance to avoid stale recommendations.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
test/unit/lib/plugins/aws/provider.test.js Adds a regression test to keep provider runtime schema and TS runtime union type in sync.
test/unit/lib/plugins/aws/package/compile/layers.test.js Adds packaging test that layers[].compatibleRuntimes accepts java25.
test/unit/lib/plugins/aws/package/compile/functions.test.js Adds packaging tests that provider.runtime and functions[].runtime accept java25.
test/unit/lib/plugins/aws/invoke-local/index.test.js Expands Java runtime coverage (including java25) and adds explicit Java handler method parsing test.
lib/plugins/aws/provider.js Adds java25 to awsLambdaRuntime enum.
docs/guides/serverless.yml.md Updates SnapStart comment to avoid runtime-specific/stale wording.
docs/guides/functions.md Updates SnapStart section to defer to AWS docs for current support/limitations.
docs/events/cloudfront.md Replaces hard-coded Lambda@Edge runtime/size limits with AWS-doc-referenced guidance.
docs/cli-reference/invoke.md Clarifies that only certain runtimes run natively; others use Docker.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread test/unit/lib/plugins/aws/provider.test.js Outdated
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread test/unit/lib/plugins/aws/provider.test.js Outdated
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@GrahamCampbell GrahamCampbell merged commit aff17a5 into main Apr 19, 2026
9 of 10 checks passed
@GrahamCampbell GrahamCampbell deleted the fix/runtime-sync-docs branch April 19, 2026 00:07
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.

2 participants