Resolve the baselayer import alias through jsconfig instead of a webpack config #390
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.54) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.54 · 96 lines diff across 1 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
Shallow Review Depth
shallow_review_depth
0.289
Diff Size
diff_size
0.274
Sensitive Paths
sensitive_paths
0.054
Real PR Conversation Timeline
1 comments
"Review active on #390"
general
weight: 0.35
stefanv
ESLint ran three import resolvers for this JavaScript-only app:
nodeandtypescript, turned on by the@dr.pogodin/eslint-configspreset, andwebpack, which the app added only to understand thebaselayer/import alias. The preset is also why the TypeScript resolver had to be installed, and why it runs on .js files. The alias is now declared only in ajsconfig.json, read by both the TypeScript resolver and rspack (resolve.tsConfig), so the webpack resolver, its separate copy of the rspack config and the alias inrspack.config.jsare removed.In the lockfile, the webpack resolver and its dependencies are gone. pnpm also merged a few duplicate versions and moved
eslint-module-utils(a dependency ofeslint-plugin-import) from 2.12.1 to 2.14.0.