feat: Allow node pool to use a different channel group than its cluster #5497
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 289 lines diff across 3 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.339
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #5497"
general
weight: 0.35
ahitacat
ARO-27518
What
Allow node pools to use a different channel group than their parent cluster. Previously, creating or updating a node pool with a channel group that didn't match the cluster's would be rejected. This PR removes that constraint and adds enum validation to ensure the channel group is a known value.
Why
Node pools should be able to independently select their channel group (e.g., a "stable" node pool on a "candidate" cluster). There is no constraint in Hypershift around this.
Testing
TestAdmitNodePool_IncludesChannelGroupCheck->TestAdmitNodePool_AllowsDifferentChannelGroupto verify that a node pool with a different channel group than the cluster is accepted.candidate/nightlyrejected withoutExperimentalReleaseFeaturesAFEC,stable/fastaccepted.Special notes for your reviewer
validateVersion()method onHCPOpenShiftClusterNodePoolwas deleted entirely since its only purpose was the channel group match check.Validate()method onHCPOpenShiftClusterNodePoolstill validates subnet viavalidateSubnetID().validate_cluster.go:368-374."stable"default inSetDefaultValuesNodePool()is kept as-is for backwards compatibility.PR Checklist