Skip to content

feat: add nodejs26.x runtime - #961

Merged
reedham-aws merged 1 commit into
aws:developfrom
reedham-aws:nodejs26
Nov 12, 2026
Merged

reedham-aws merged 1 commit into
aws:developfrom
reedham-aws:nodejs26

Conversation

@reedham-aws

Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes

Adding the NodeJS 26.x runtime.

Description of how you validated changes

CI on this PR.

Checklist

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@reedham-aws
reedham-aws requested a review from a team as a code owner November 10, 2026 21:55
@aws-sam-tooling-bot

Copy link
Copy Markdown

🧪 Hands-on test: No problems observed in 5 scenarios

Commit a6b9d5c · build LambdaToolingHandsOn-NoDocker:e8411bc0-b121-410c-81a9-81c146882b1f. The plan's scenarios ran on an isolated build host; a problem is reported only if it reproduced at least twice. Passing scenarios show only that these checks behaved as expected, not that the change is correct.

Scenarios

Scenario Planned check Result Runner's note
S1 Main path: a library caller builds a Node project with runtime nodejs26.x on both architectures. On the merge base this… ✅ pass Head: LambdaBuilder.build on the no-deps fixture with runtime nodejs26.x exits 0 and prints 'x86_64 OK ['included.js', 'package.json']' and 'arm64 OK ['included.js', 'package.json']'. Base: exits 1 a…
S2 Edge case: adding nodejs26.x must not loosen validation. Unknown runtimes and architectures are still rejected, and nod… ✅ pass Exit 0. nodejs26.x/arm64 and nodejs24.x/x86_64 validate to '/usr/bin/node'. Output includes 'rejected: Runtime nodejs27.x is not supported' and 'rejected: Architecture sparc is not supported for runt…
S3 The existing unit tests still pass with the new runtime. test_validator iterates over NODEJS_RUNTIMES, so it now covers… ✅ pass Head unit tests: '965 passed, 11 subtests passed in 2.07s', 0 failed, 0 errors.
S4 The nodejs_npm integration tests, which are parameterized over NODEJS_RUNTIMES, pass for the new nodejs26.x cases. Thes… ✅ pass nodejs_npm integration tests with -k nodejs26: '38 passed, 196 deselected in 26.19s'. They ran with local Node v24.22.2 and npm 11.21.1 because Node 26 is not installed, so this does not reproduce th…
S5 Existing configs keep working: the nodejs24.x build still succeeds, and the list order is preserved with nodejs26.x app… ✅ pass NODEJS_RUNTIMES is ['nodejs16.x', 'nodejs18.x', 'nodejs20.x', 'nodejs22.x', 'nodejs24.x', 'nodejs26.x']. Order is unchanged and nodejs26.x is appended last. The check printed 'True ['arm64', 'x86_64'…
Runner's notes in full
  • S1: Head: LambdaBuilder.build on the no-deps fixture with runtime nodejs26.x exits 0 and prints 'x86_64 OK ['included.js', 'package.json']' and 'arm64 OK ['included.js', 'package.json']'. Base: exits 1 and both architectures print 'WorkflowFailedError NodejsNpmBuilder:Validation - Runtime nodejs26.x is not supported'. Caveat: the sandbox has Node v24.22.2 and npm 11.21.1, so the build ran on Node 24, not a real Node 26 binary. The validator does not check the node version, so this shows that the runtime is accepted, not that it works on Node 26.
  • S2: Exit 0. nodejs26.x/arm64 and nodejs24.x/x86_64 validate to '/usr/bin/node'. Output includes 'rejected: Runtime nodejs27.x is not supported' and 'rejected: Architecture sparc is not supported for runtime nodejs26.x'. No 'BAD' lines.
  • S4: nodejs_npm integration tests with -k nodejs26: '38 passed, 196 deselected in 26.19s'. They ran with local Node v24.22.2 and npm 11.21.1 because Node 26 is not installed, so this does not reproduce the CI matrix's Node 26 job.
  • S5: NODEJS_RUNTIMES is ['nodejs16.x', 'nodejs18.x', 'nodejs20.x', 'nodejs22.x', 'nodejs24.x', 'nodejs26.x']. Order is unchanged and nodejs26.x is appended last. The check printed 'True ['arm64', 'x86_64'] True', so there are no duplicate runtimes in ALL_RUNTIMES. The nodejs24.x build on head exits 0 with 'x86_64 OK' and 'arm64 OK', and both artifacts contain ['included.js', 'package.json'].

🤖 Automated hands-on test — not a review approval · model claude-opus-5.5 · Kiro kiro-cli 2.33.1 · build LambdaToolingHandsOn-NoDocker:e8411bc0-b121-410c-81a9-81c146882b1f · commit a6b9d5c

History (1)
Commit Result When (UTC) Build
a6b9d5c No problems observed 2026-11-10 22:00 LambdaToolingHandsOn-NoDocker:e8411bc0-b121-410c-81a9-81c146882b1f

@reedham-aws
reedham-aws merged commit c059a4a into aws:develop Nov 12, 2026
127 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants