Harden breakglass e2e session timing and add MC provider registration logging #7276
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 195 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.316
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #7276"
general
weight: 0.35
machi1990
Summary
The breakglass e2e "another user" (owner-isolation) session intermittently times out waiting for readiness. Kusto traces of a failed run show
BuildManagementClusterProvidertaking ~2.5 minutes to complete (from "building management cluster provider" to informers registered), which exceeded the prior 1msessionReadyTimeoutand the 1m session TTL for that non-expiry test session.Changes
sessionReadyTimeoutfrom 1m to 3m, with a comment explaining the observed MC-provider registration delay.GetAKSRESTConfig,BuildManagementClusterProvider, andWaitForCacheSyncso the management-cluster provider registration delay is observable in Kusto.V(4)toInfoso the sessiongate skip is visible in Kusto.Verification
make fmtclean,make lint0 issues, sessiongate build + controller tests pass, and the test module builds with theE2Eteststag.Tracking
Supersedes and consolidates the earlier split PRs, all now closed: #7273, #7275, #7274.
---
AI-generated. Review for accuracy.
@machi1990 requested in Slack thread