ROSAENG-67802 | feat: default interactive cluster creation to HCP #3584
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.48) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.48 · 536 lines diff across 6 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.376
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #3584"
general
weight: 0.35
michaelryanmcneill
Summary
Changes the default cluster creation type in interactive mode from classic to Hosted Control Plane (HCP). When the user runs
rosa create clusterin interactive mode without specifying--hosted-cp, the "Deploy cluster with Hosted Control Plane" prompt now defaults to Yes instead of No.When the user has passed flags that are only compatible with classic clusters (e.g.
--non-sts,--mint-mode,--private-link,--controlplane-iam-role-arn,--disable-workload-monitoring, or classic-only security group flags), the HCP prompt is skipped entirely and an informational message explains that classic architecture is being used because the specified flags are not compatible with HCP. This prevents users from accidentally selecting HCP when their partial command is already configured for classic.The non-interactive
--hosted-cpflag default remainsfalse, so scripted and CI usage is unaffected.Jira
Type of Change
Testing
make testpassesclassicOnlyFlagsChanged(11 cases) covering each classic-only flag individually, the multi-flag case, and confirming HCP-compatible flags are not detectedresolveHostedCPDefault(6 cases) verifying:- Defaults to HCP when no flags are set
- Respects explicit
--hosted-cp=trueand--hosted-cp=false- Skips prompt when a single or multiple classic-only flags are set
- Still shows prompt when
--hosted-cpis explicitly set alongside a classic-only flag-
rosa create cluster -i— HCP prompt defaults to[Y/n]-
rosa create cluster --disable-workload-monitoring— prints info message about classic architecture, no HCP prompt-
rosa create cluster --disable-workload-monitoring --non-sts— prints info message listing both flags-
rosa create cluster --hosted-cp=false -i— HCP prompt defaults to[y/N]Breaking Changes
Checklist
OCM-XXXXX | type: descriptionmake install-hookshas been run[ROSAENG-67802]: https://redhat.atlassian.net/browse/ROSAENG-67802?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
New Features
During interactive cluster creation, supplying classic-only options without an explicit
--hosted-cpchoice selects classic architecture and skips the Hosted Control Plane prompt.When the prompt is skipped, the command identifies the classic-only options that prompted the selection. Boolean options are considered set when enabled;
--sts=falseand changed value options also trigger classic selection.When the prompt appears, it defaults to the explicitly supplied
--hosted-cpvalue, or to Hosted Control Plane when no value is supplied.<!-- end of auto-generated comment: release notes by coderabbit.ai -->