fix: preserve existing projections if omitted from inline compaction spec #20684
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.35) × (1 − Review Confidence (0.45)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.35 · 69 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 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.344
Diff Size
diff_size
0.254
Real PR Conversation Timeline
1 comments
"Review active on #20684"
general
weight: 0.35
clintropolis
Description
Fixes an issue that could be caused by
CompactionTask.ExistingSegmentAnalyzer.shouldDownloadSegments()not includingneedProjectionsin the check, so a config that declares dimensions, metrics, rollup, etc, but not projections could incorrectly remove projections from existing segments. To fix,needProjectionsis now considered, but also combined with a check for any projection names fromDataSegment.getProjections()so any non-empty lists can be used to skip analyzing if there are definitely no existing projections to be found.