ast: build the lowering context on first use #63067
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 106 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.280
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #63067"
general
weight: 0.35
xal-0
jl_init_flisploads the flisp system image at every start. A program that never lowers an expression never needs it, andjl_ast_ctx_enteralready builds a context when its free list is empty. The eager build becomes the mutex initialization alone, and the static context goes away.julia --startup-file=no -e '': 76.4 → 66.2 ms, minimum of 15 pinned runs (median 77.2 → 66.9). A script or a REPL lowers immediately and gains nothing; a compiled program gains the same 7 ms.The context is built inside
JL_SIGATOMIC_BEGIN, as the free-list path already did.syntax,metaandcorepass.Fixes #63066. Part of #63065.
Disclosure: developed with Claude Code (Opus 5) under my direction. It wrote the code and this text; the measurements were run on my machine. I reviewed the changes. The commits carry an
Assisted-bytrailer.