fix: validate the Node 24.9 runtime floor

This commit is contained in:
Tianyi Cui committed 2026-10-15 23:33:49 +08:00
1 parent c6a59a1ae9
commit cfb65d3bb2
60 files changed
+256 -127

No files matched your search

@@ -11,7 +11,7 @@ Two runtime carriers coexist under ``runtime/``, both injected by the repo's
- **node (dev-only)**: the full deploy closure under ``runtime/node/``
(``package.json`` + ``node_modules/``), executed as ``node
runtime/node/runtime-bootstrap.mjs`` on a
system Node >= 24.0. It is the current checkout's source build, never
system Node >= 24.9. It is the current checkout's source build, never
selected automatically, and excluded from wheel/sdist distributions.
Both carriers execute the same dsh command grammar. The Python SDK selects the
@@ -147,7 +147,7 @@ def _node_launch_args() -> tuple[str, str]:
node = shutil.which("node")
if node is None:
raise FileNotFoundError(
"the node runtime mode needs a system `node` (>=24.0) on PATH; "
"the node runtime mode needs a system `node` (>=24.9) on PATH; "
"install Node.js or use the exe mode"
)
return (node, str(bin_js))