← Back to Pull requests

OCPEDGE-3021: feat: add infrastructure SingleReplica to HighlyAvailable topology transition #525

Closed
unknown closed this pull request without merging on Nov 10, 2026 18:03 UTC
View on GitHub
unknown unknown commented on Oct 19, 2026 10:54 UTC
Author

Implements the standalone infrastructure topology transition controller that enables transitioning infrastructureTopology from SingleReplica to HighlyAvailable on cluster where controlPlaneTopology is already HighlyAvailable.

Preflight checks valdiate worker-capable, node count, readiness, schedulability, taint compatibility. ClusterOperator stability, and ClusterVersion upgrade eligibility.

Post-transition checks verify that infrastructure operators (Ingress, Image Registry, Console, OAut, Prometheus, Alertmanager) have converged to HA replica counts after a 5-minute soak period.

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->

Summary by CodeRabbit

New Features
Infrastructure topology can transition from SingleReplica to HighlyAvailable when the control plane is already HighlyAvailable.
Topology changes account for both infrastructure and control-plane settings, with status and events reflecting requested changes.
Transition status indicates whether a change is pending, in progress, or complete.
Bug Fixes
Transitions check upgradeability, worker-node readiness, schedulability, and blocking taints before proceeding.
Workload readiness and operator convergence are checked before completion, considering enabled capabilities and workload availability.
Completion status is recorded with topology changes, allowing reconciliation to resume after interruptions without repeating completed validation. The completion wait period starts from the recorded commit time.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Diff: 207 lines (+155 / -52) across 2 files Reviewer: copejon Review duration: 32109m
All Vouch review confidence checks passed
Residual risk 0.26 = Change Risk (0.65) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.65 · 207 lines diff across 2 files
0.65
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
60%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
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.319
Shallow Review Depth shallow_review_depth
0.289
Sensitive Paths sensitive_paths
0.065
Ai Authored ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #525"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 60.5% reviewed sensitive_module
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 64.6% (MEDIUM) · Higher = larger blast radius
64.6%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 60.5% · Lower = rushed or shallow review
60.5%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 25.5% · Safe to merge
25.5%