← Back to Pull requests

[MINOR] Refresh frontend Node.js and audit dependencies #5587

Closed
unknown closed this pull request without merging on Oct 24, 2026 13:28 UTC
View on GitHub
unknown unknown commented on Oct 24, 2026 12:38 UTC
Author

What is this PR for?

Update the Angular/React frontend toolchain to Node.js 22.23.4 for upstream security fixes, including DNS null-byte input validation (CVE-2026-105482) and realpathSync permission-model checks (CVE-2026-106073). Pin npm 11.21.1 in Maven and both audit workflows to avoid the npm 10.9.4 edgesOut crash in the scheduled audit remediation job.

Update Storybook to 10.6.3, Vitest to 4.1.12, and vulnerable transitive dependencies. Keep the existing audit policy and braces patch verification. Retain npm debug logs for three days on failure to diagnose internal errors such as edgesOut.

The Angular root audit exclusion and classic UI Node.js versions remain outside this change.

What type of PR is it?

Bug Fix

Todos

[x] Verify clean installs, audit remediation, tests, and builds locally
[x] Confirm GitHub Actions checks

What is the Jira issue?

N/A

How should this be tested?

Use Node.js 22.23.4 and npm 11.21.1. From zeppelin-web-angular/:

npm ci --ignore-scripts --no-audit
npm run build:projects

Then, from zeppelin-web-angular/projects/zeppelin-react/:

npm ci --ignore-scripts --no-audit
npm run apply:patches
npm run audit
npm audit fix --package-lock-only --ignore-scripts --audit-level=high
npm run lint
npm test
npm run typecheck
npm run build

Local checks passed: React audit, 262 tests, lint, typecheck, builds, and Maven toolchain installation. GitHub CI and the Docker documentation build remain unverified.

Screenshots (if appropriate)

N/A

Questions:

Does the license files need to update? No
Is there breaking changes for older versions? No

  • Does this needs documentation? Yes
  • Diff: 229 lines (+171 / -58) across 2 files Reviewer: tbonelee Review duration: 50m
    All Vouch review confidence checks passed
    Residual risk 0.15 = Change Risk (0.37) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.37 · 229 lines diff across 2 files
    0.37
    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: 35%
    60%
    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.325
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #5587"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% 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: 37.0% (MEDIUM) · Higher = larger blast radius
    37.0%
    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: 60.5% · Lower = rushed or shallow review
    60.5%
    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: 14.6% · Safe to merge
    14.6%