Skip to content

Upgrade default npx builder image to node:24-alpine#4954

Merged
rdimitrov merged 1 commit intomainfrom
upgrade-node-24
Apr 21, 2026
Merged

Upgrade default npx builder image to node:24-alpine#4954
rdimitrov merged 1 commit intomainfrom
upgrade-node-24

Conversation

@JAORMX
Copy link
Copy Markdown
Collaborator

@JAORMX JAORMX commented Apr 21, 2026

Summary

  • Why: Node.js 24 is the current active LTS release (since Oct 2025); Node.js 22 has moved to maintenance LTS. Bumping the default npx:// builder image keeps new npx-scheme workloads on the active LTS line with the latest runtime and security updates.
  • What: Change the default RuntimeConfig.BuilderImage for TransportTypeNPX from node:22-alpine to node:24-alpine, and update test expectations and docs accordingly. OpenAPI output regenerated via task docs picks up the doc-comment example change.

Users who need an older runtime can still override via --runtime-image node:22-alpine (or earlier) or a config file, exactly as before.

Type of change

  • Other (default upgrade)

Test plan

  • Regenerated OpenAPI docs via task docs
  • Cross-checked node:24-alpine manifest digest against the Docker Hub API and the Docker Registry v2 API — both return sha256:d1b3b4da11eefd5941e7f0b9cf17783fc99d9c6fc34884a665f40a06dbdfc94f (last pushed 2026-04-16)
  • CI runs task test across affected packages (pkg/container/templates/..., pkg/runner/...)

Does this introduce a user-facing change?

Yes — new npx://-scheme workloads built with default settings now use a Node 24 builder. Workloads with an explicit --runtime-image or a runtime_configs.node.builder_image entry are unaffected.

Generated with Claude Code

@github-actions github-actions Bot added the size/XS Extra small PR: < 100 lines changed label Apr 21, 2026
samuv
samuv previously approved these changes Apr 21, 2026
Copy link
Copy Markdown
Contributor

@samuv samuv left a comment

Choose a reason for hiding this comment

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

🚀

@github-actions github-actions Bot added size/XS Extra small PR: < 100 lines changed and removed size/XS Extra small PR: < 100 lines changed labels Apr 21, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 69.51%. Comparing base (f472476) to head (38403d6).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4954      +/-   ##
==========================================
+ Coverage   69.49%   69.51%   +0.02%     
==========================================
  Files         551      551              
  Lines       55817    55817              
==========================================
+ Hits        38788    38800      +12     
+ Misses      14041    14026      -15     
- Partials     2988     2991       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions github-actions Bot added size/XS Extra small PR: < 100 lines changed and removed size/XS Extra small PR: < 100 lines changed labels Apr 21, 2026
Bump the default npx transport builder image from node:22-alpine to
node:24-alpine. Node 24 is the current active LTS release; Node 22 has
moved to maintenance. New npx-scheme workloads built with defaults now
run on the current LTS line. Users can still pin an older release via
--runtime-image when a package needs it.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot added size/XS Extra small PR: < 100 lines changed and removed size/XS Extra small PR: < 100 lines changed labels Apr 21, 2026
@rdimitrov rdimitrov merged commit b4f391b into main Apr 21, 2026
42 checks passed
@rdimitrov rdimitrov deleted the upgrade-node-24 branch April 21, 2026 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Extra small PR: < 100 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants