Fix wrapper missing client calls in IUO and observability tests #7018
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.37) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 216 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.322
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #7018"
general
weight: 0.35
hmeir
##### What this PR does / why we need it:
wrapper 11.x requires an explicit
client=on every resource constructor and droppeddyn_client=fromResource.get(). These paths still used the old form and failed before any API call.create_vms():clientis now required; all 4 callers pass it.check_resource(): forwardsclient;test_namespacepassesadmin_client.utilities.infra.get_pod_by_name_prefixinstead of theocp_utilitiesone, which still callsPod.get(dyn_client=...).PrometheusRule.get(client=...).clientto the artifactory helpers.##### Which issue(s) this PR fixes:
##### Special notes for reviewer:
utilities/code changed, so no unit tests needed.get_artifactory_call sites withoutclient, storageupload_image(client=None),utilities/operator.py:561, upstreamopenshift-python-utilities.pre-commit run --all-filespasses;pytest --collect-onlyover both dirs collects 789 tests, no errors. Tests need a cluster, not executed.##### jira-ticket:
https://redhat.atlassian.net/browse/CNV-101957
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
Tests
Updated test setup and resource checks across operator upgrades, must-gather, observability metrics, runbook alerts, and workload density scenarios.
Tests now use explicitly provided clients when creating virtual machines and accessing resources.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->