precompile: Compile the precompile worker's Base code into the sysimage again #63795
All Vouch review confidence checks passed
Residual risk 0.02 = Change Risk (0.19) × (1 − Review Confidence (0.91)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.19 · 5 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.89 · 4 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
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.107
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
6 items
This is unsound now, since the function it guards isn't in the same world as the function is calls
Drop the TOML changes, it isn't what invokelatest seems intended for
I thought this was ok.. it's used just above this (I'm aware this is a bit of a deja vu from that other PR kristoffer has)
True, I was about to comment on #63787 that we need to de-duplicate between the two PRs
Dropped the TOML stuff
vtjnash
IanButterworth
Some fixes to tighten up repeated compilation seen in package precompilation.
Claude:
---
Each package precompile worker was compiling Base code that should come from the system image. Precompiling 245 packages one at a time (all stdlibs plus DataFrames, CSV, Plots, ForwardDiff, OrdinaryDiffEqTsit5), Base-side compilation in the workers drops from 21.4 s to 14.7 s, measured with
--trace-compile-timing.--trace-compile-timing, so its lines start with a#= time =#comment, and the generator skips lines starting with#. 9 signatures were compiled in every worker, ~19 ms per worker.Most of what remains is Dates invalidating the Base TOML printer (since #61210).
get_preferences_bloband the top-level print call are recompiled when writing the cache of every package that reads a preference, 5.3 s over 151 workers. That needs a separate fix.Package loading was already covered: 245 fresh
requires compiled almost nothing the sysimage could hold.Both bugs are on release-1.13, and the commits apply there cleanly.
Written with Claude Code (Opus 5.5).