← Back to Pull requests

Bump Node.js to 26 in npm_and_yarn Dockerfile #16765

Closed
ya2s closed this pull request without merging on Nov 30, 2026 17:15 UTC
View on GitHub
ya2s ya2s commented on Oct 30, 2026 01:35 UTC
Author

Node.js 26 became Active LTS on 2026-10-28, and the Dockerfile asks to always use the Active LTS version.

What are you trying to accomplish?

Node.js 26 became Active LTS on 2026-10-28. The npm_and_yarn/Dockerfile says to always use the Active LTS version, so this bumps NODEJS_VERSION from 24 to 26, following the same pattern as the Node 24 bump in #13576.

Projects that pin Node 26 through devEngines.runtime with onFail: "error" cannot be updated by Dependabot while the updater runs on Node 24. Hosting platforms (for example Vercel) now default new projects to Node 26, so this case will become more common.

Anything you want to highlight for special attention from reviewers?

  • Node 25+ no longer bundles Corepack. This image already installs Corepack explicitly with npm install -g corepack@$COREPACK_VERSION, so it should not be affected.

  • npm is pinned with NPM_VERSION and installed globally, so the npm bundled with Node 26 is not used. The existing npm -v / corepack npm -v checks in the Dockerfile will catch any drift.

  • The npm 12 migration (Part 3 of 3) is still in progress. If you would rather land that first, I'm happy to rebase after it.
  • How will you know you've accomplished your goal?

  • The npm_and_yarn image builds and node -v reports v26.x.

  • The npm_and_yarn CI suite passes on the new image.
  • I have not run the full test suite locally and am relying on CI for that.

    Checklist

  • I have run the complete test suite to ensure all tests and linters pass.

  • I have thoroughly tested my code changes to ensure they work as expected, including adding additional tests for new functionality.

  • I have written clear and descriptive commit messages.

  • I have provided a detailed description of the changes in the pull request, including the problem it addresses, how it fixes the problem, and any relevant details about the implementation.

  • I have ensured that the code is well-documented and easy to understand.
  • 🤖 Generated with Claude Code

    Diff: 257 lines (+192 / -65) across 3 files Reviewer: None requested Review duration: 45579m
    All Vouch review confidence checks passed
    Residual risk 0.23 = Change Risk (0.51) × (1 − Review Confidence (0.54)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.51 · 257 lines diff across 3 files
    0.51
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 10%
    54%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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.332
    Shallow Review Depth shallow_review_depth
    0.289
    No Reviewer Assigned no_reviewer_assigned
    0.120
    Real PR Conversation Timeline
    1 comments
    "Review active on #16765"
    general weight: 0.35
    Reviewers
    None requested
    Assignees
    ya2s ya2s
    Labels
    risk: low confidence: 54.2% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 51.1% (MEDIUM) · Higher = larger blast radius
    51.1%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 54.2% · Lower = rushed or shallow review
    54.2%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 23.4% · Safe to merge
    23.4%