Upgrade default npx builder image to node:24-alpine#4954
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
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>
jhrozek
approved these changes
Apr 21, 2026
stacklokbot
approved these changes
Apr 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
npx://builder image keeps new npx-scheme workloads on the active LTS line with the latest runtime and security updates.RuntimeConfig.BuilderImageforTransportTypeNPXfromnode:22-alpinetonode:24-alpine, and update test expectations and docs accordingly. OpenAPI output regenerated viatask docspicks 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
Test plan
task docsnode:24-alpinemanifest digest against the Docker Hub API and the Docker Registry v2 API — both returnsha256:d1b3b4da11eefd5941e7f0b9cf17783fc99d9c6fc34884a665f40a06dbdfc94f(last pushed 2026-04-16)task testacross 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-imageor aruntime_configs.node.builder_imageentry are unaffected.Generated with Claude Code