test(runtime): pin CI's Node major to action.yml's node24 via package.json devEngines.runtime #603
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 292 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.340
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #603"
general
weight: 0.35
jeefy
Test Improvement
Files:
package.json(newdevEngines.runtimeblock next toengines),__tests__/runtime.test.ts(newdevEngines.runtimedescribe),docs/contributing.md(one sentence under Development). No workflow file changes; nosrc/changes.Every setup-node step reads
node-version-file: package.json, whose only Node field wasengines.node: ">=24". setup-node v7.1.0 resolves that range with@actions/tool-cachefind(), which returns the highest cached Node satisfying it — 24.21.0 today (run 40644250194 onmain:Resolved package.json as >=24→Found in cache @ /opt/hostedtoolcache/node/24.21.0/x64) only because the ubuntu-24.04/26.04 images cache 22 and 24 and nothing newer. Once Node 26 enters the tool cache,test.yml,release.ymlandpre-release.ymlsilently move to it whileaction.ymlstill runsdist/index.jsundernode24, and the existingruntime.test.tskeeps passing because it only checks the text ofengines.node.package.json:"devEngines": { "runtime": { "name": "node", "version": "24", "onFail": "warn" } }. setup-node readsdevEngines.runtimebeforeengines.node, and the bare major resolves to the newest cached 24.x, so patch releases still flow.onFail: warnkeeps contributing.md's "Node 24 or newer" true:npm cion Node 26.12.0 / npm 11.20.0 printsEBADDEVENGINESand exits 0;package-lock.jsonis unchanged.__tests__/runtime.test.ts: three new cases assertdevEngines.runtimenamesnode, pins exactly the majoraction.ymldeclares (String(runtimeMajor)— a range like>=24fails: verified by fault injection, 1 failed / 12 passed), and usesonFail: warnwith the contributing.md sentence present. The existingengines.nodefloor and the "never pins node-version by hand" cases are untouched.docs/contributing.md: states why the major is named there.Local:
npx vitest run __tests__/runtime.test.ts __tests__/version.test.ts __tests__/workflows.test.ts __tests__/configurationDocs.test.ts→ 109 passed;eslint __tests__/runtime.test.tsclean. Full unit suite atorigin/main9acb046 earlier this session: 191 files / 2473 passed.Related Issue
Closes #602
---
Filed by quality agent (hold-gated mode). Human review required.
— hive: agent=quality backend=copilot model=claude-fable-5.1 copilot=1.0.88