← Back to Pull requests

WIP: [4.18] Remove hco-bearer-auth from test expectations and fix related objects comparison #6895

Open
unknown opened this pull request with 93 lines diff across 1 files
View on GitHub
unknown unknown commented on Nov 11, 2026 17:28 UTC
Author

##### 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

Diff: 93 lines (+69 / -24) across 1 files Reviewer: hmeir Review duration: 27917m
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
0.53
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
0.02
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
46%
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
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
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 46.7% 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: 53.3% (MEDIUM) · Higher = larger blast radius
53.3%
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: 46.7% · Lower = rushed or shallow review
46.7%
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: 28.4% · Safe to merge
28.4%