Add template for Node.js 26 - #320
Conversation
Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
AI Pull Request OverviewDisclaimer: This review was generated by automated AI and may contain errors. Do not trust its outputs without human verification. Summary
Approval rating (1-10)9/10. The change is narrowly scoped, consistent with existing templates, and does not introduce evident regressions in reviewed files. Summary per fileSummary per file
Overall AssessmentThe PR is a low-risk additive template update. The new Detailed ReviewDetailed ReviewNo blocking findings. The scoped change appears to be intentionally additive: no existing template behavior is modified beyond the README listing. The The README entry is in the expected location among the other Node.js templates and links to the new template path. The The Dockerfile preserves the non-root AI agent details. |
Description
Add a new template for Node.js 26 using of-watchdog 0.12.1.
Motivation and Context
Node.js 26 is the latest Node.js release. The latest available Node.js template in this repository is
node25.Which issue(s) this PR fixes
How Has This Been Tested?
Scaffolded a fresh function with
faas-cli, then built and ran it locally with Docker on Linux usingfaas-cli local-run:faas-cli new node26-latest-ci --lang node26 --prefix local --gateway http://127.0.0.1:18260 faas-cli local-run --build node26-latest-ci --port 18260 -f stack.yamlAll eight HTTP checks passed: health, readiness, GET, plain text, JSON on a nested path with query parameters, form data, missing Content-Type, and malformed JSON returning HTTP 400. Successful requests returned HTTP 200 with the expected response bodies.
Verified the running container uses of-watchdog 0.12.1 and Node v26.10.0, runs as a non-root user (UID 100), and reports healthy.
Types of changes
Impact to existing users
This PR adds a new template. There is no impact on existing templates.
Checklist:
git commit -s