loading: test more paths, and fix retrying a failed source load #64676
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 · 173 lines diff across 2 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.309
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #64676"
general
weight: 0.35
IanButterworth
Claude:
---
Tests for
base/loading.jlpaths with no coverage: structured preferences,isprecompilable, the@pathcoverage helpers,evalfilewith arguments, malformed manifests andretry_load_extensions.Bugs found, fixed in one commit each:
usingsilently returned it, andretry_load_extensionsreported success without rereading the fixed source. It now gets removed, so both retry. This affects--compiled-modules=noand packages that can't be precompiled. A task waiting on the same load now retries it too, rather than getting the partial module.BigIntpreferences: they were compared by identity, so the cache was always stale.CacheFlagsstrings with a bare parameter threw aFieldErrorrather than anArgumentError.Not changed: when
__init__fails on a load from cache, the nextusingstill returns the module without rerunning__init__.Coverage, measured locally:
base/loading.jlgoes from 2415/2789 lines (86.6%) to at least 2483/2789 (89.0%), runningloading.jlandprecompile.jlon an instrumented macOS build without the fixes, against master's Codecov report. Most of the rest is@debugrejections, races and code that runs only in image generation.Written with Claude Code (Opus 5.5). Reviewed by Claude Code (Fable 5.1).