RHOAIENG-98543: Enforce explicit informer registration #10356
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 279 lines diff across 3 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.337
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #10356"
general
weight: 0.35
lucferbux
https://redhat.atlassian.net/browse/RHOAIENG-98543
Problem
The manager client could silently create informers for resource types that were not explicitly registered, allowing rare and cross-namespace reads to grow the shared cache unexpectedly. Enabling strict cache reads also exposed optional-resource teardown paths that could fail when Gateway API or ConsoleLink APIs were absent.
Solution
Evidence
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
Bug Fixes
Improved resource consistency by reading platform, federation, module, and cleanup data directly from the API when appropriate.
Prevented unintended cached reads for resources without registered informers.
Preserved existing deletion, fallback, validation, and cleanup behavior.
Tests
Added coverage confirming uncached resource reads fail through the shared cache while direct API access remains available.
* Updated controller tests to verify direct API-reader behavior during reconciliation and cleanup.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->