[History Server] Tune CPU, memory, and event logging for cold loads #5095
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.36) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 210 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.320
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #5095"
general
weight: 0.35
Future-Outlier
Why
Cold-loading large sessions is CPU- and memory-intensive. A
500mCPU limit throttles loads, while oneInfolog per event adds avoidable work and noise.500mrequest and leave the limit to operators. One 50k-task session, five randomized reads per setting: median 84s → 34s.InfotoDebug. Separate 50k-task runs measured 97.9s → 85.3s (~13%); these runs were not paired, so this is supporting evidence rather than an isolated causal estimate.2Girequest, an8Giencoded-cache soft bound, and a12Gilimit in all standalone examples. This leaves room for roughly one 100k-task decode; larger concurrent reads still need workload-specific tuning.<img width="1179" height="577" alt="image" src="https://github.com/user-attachments/assets/f2b522c1-ce12-4d71-9baa-21aeb42165f4" />
<img width="1187" height="616" alt="image" src="https://github.com/user-attachments/assets/0664426d-4717-4e68-88a5-0a603a4d884c" />
Raw measurements and reproduction scripts.
Checks