OCPEDGE-2990: Report supported topology evaluations #522
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 342 lines diff across 4 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.349
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #522"
general
weight: 0.35
copejon
Summary
Report which topology transitions are available before a request is made. Keep failure details in the individual checks, preserve timestamps, and retry conflicts against fresh Infrastructure status. Topology writes invalidate the old availability report without running evaluation inline.
Transition progress remains on the operator Progressing condition. Moving started, blocked, and complete reporting to Infrastructure is split into a separate PR: https://github.com/openshift/cluster-config-operator/pull/529.
Depends on https://github.com/openshift/cluster-config-operator/pull/528 for the Go/API update. Its changes remain in this diff until that PR merges.
Evidence
After: tests cover background evaluation, blockers and recovery, timestamp stability, worker lifecycle, conflict retries, and report invalidation. A split regression test confirms evaluation keeps transition progress on the operator.
GOCACHE=/tmp/cco-split-go-cache make test-unit GO_TEST_ARGS='-count=1'(all unit tests with race checks).GOCACHE=/tmp/cco-split-go-cache make verify(formatting and Go vet).git diff --checkfor the split change.Merge Danger
Door: two-way
Blast Radius: MutableTopology
Adds a background evaluator and Infrastructure availability reports. Both PRs touch controller wiring and status helpers; reconcile those shared files when the first PR lands.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
New Features
Topology transition availability is evaluated and reported even when no transition has been requested. Reports show individual preflight check results and refresh as relevant cluster state changes.
Bug Fixes
Evaluation failures are reported separately from transition progress, so discovery issues do not incorrectly mark a successful transition sync as degraded.
* Topology updates are applied only when the expected cluster state is still current, helping prevent concurrent changes from being overwritten.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->