tools: limit format-cpp checkout history #66479
All Vouch review confidence checks passed
Residual risk 0.04 = Change Risk (0.14) × (1 − Review Confidence (0.72)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.14 · 5 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.54 · 2 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
Real PR Conversation Timeline
5 items
Review requested:
Approved
Approved these changes.
Approved
Approved these changes.
Landed in c4af8665f6230541de568b5d4161d7707faf7332
aduh95
inoway46
Fetch only two levels of history for
format-cppand use the PR merge commit's first parent as the formatting base.In 128 trials per variant on the same merge commit, average checkout time fell from 160.12s to 19.95s. Both variants produced identical bases and diffs.
| Runner | Success rate | Avg | Min | P90 | P99 | Max |
|---|---:|---:|---:|---:|---:|---:|
|
ubuntu-slim(before) | 128/128 (100%) | 3m 25s | 2m 52s | 4m 05s | 5m 05s | 5m 30s ||
ubuntu-slim(after) | 128/128 (100%) | 1m 08s | 0m 49s | 1m 40s | 2m 32s | 2m 51s |Benchmark:
full= before,shallow= after.Refs: https://github.com/nodejs/node/issues/64972#issuecomment-5222846156