WIP: [4.18] Remove hco-bearer-auth from test expectations and fix related objects comparison #6895
All Vouch review confidence checks passed
Residual risk 0.28 = Change Risk (0.53) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.53 · 93 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.272
Sensitive Paths
sensitive_paths
0.053
Real PR Conversation Timeline
1 comments
"Review active on #6895"
general
weight: 0.35
hmeir
##### What this PR does / why we need it:
hco-bearer-auth Secret is no longer reliably present in HCO relatedObjects (CNV-59519, CNV-98695). On main it is being intentionally removed as part of the switch to TLS cert auth (HCO PR #4669). Remove it from all test expectations across product_uninstall, relationship_labels, and strict_reconciliation tests.
Also fix assert_mismatch_related_objects to use set-based comparison instead of positional indexing, which would crash with IndexError when the actual and expected lists had different lengths.
##### Which issue(s) this PR fixes:
Failures in test-pytest-cnv-4.18-product-uninstall/183
##### Special notes for reviewer:
##### jira-ticket:
https://redhat.atlassian.net/browse/CNV-100953