fix: allow same Y-version prerelease control plane version pins #8159
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.35) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.35 · 173 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.309
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #8159"
general
weight: 0.35
deads2k
ARO-30842
What
Allow same Y-version prerelease builds to be assigned through the ExactVersion pin without requiring them to appear in the cluster’s previous installation history.
Pre-releases versions such as 4.20.0-0.nightly-2026-11-11-125558 and 4.20.0-rc.1 sort below stable 4.20 releases in SemVer. Previously, rollback validation rejected this target on both freshly provisioned 4.20.46 clusters and clusters upgraded from 4.20.15 to 4.20.46.
Why
This change exempts pre-release targets, including 0.nightly-multi-*, from rollback-history validation. The major/minor release-line restriction remains unchanged: a 4.20 cluster cannot be pinned to a 4.21 nightly. Stable releases and other prereleases retain the existing rollback checks. The shared validator applies to individual and bulk cluster pinning.
Testing
Validation: go test -count=1 -v ./handlers/hcp passes, including regression tests for both scenarios, fresh 4.20.1 clusters, multi-architecture nightlies, and rejection of cross-minor targets and other prereleases.