← Back to Pull requests

[9.5] [Scout] Retry nav toggle in CollapsibleNav.getNavLinks (#306974) #307261

Open
unknown opened this pull request with 443 lines diff across 5 files
View on GitHub
unknown unknown commented on Nov 24, 2026 13:05 UTC
Author

Backport

This will backport the following commits from main to 9.5:
- [[Scout] Retry nav toggle in CollapsibleNav.getNavLinks (#306974)](https://github.com/elastic/kibana/pull/306974)

<!--- Backport version: 12.1.2 -->

Questions ?


Please refer to the Backport tool documentation

<!--BACKPORT [{"author":{"name":"Ignacio Rivas","email":"rivasign@gmail.com"},"sourceCommit":{"committedDate":"2026-11-24T08:39:42Z","message":"[Scout] Retry nav toggle in CollapsibleNav.getNavLinks (#306974)\n\nCloses #306862\n\n## Summary\n\nThe \"users without dev tools privileges cannot access dev tools UI\" test\ncalled page.gotoApp('discover') and then immediately opened the nav\nwith collapsibleNav.getNavLinks(). gotoApp without a readiness gate\nresolves on the browser load event, before Discover has mounted. On a\nloaded CI agent the renderer can stall for 10s+ during that bootstrap,\nso the toggle click hit the 10s actionTimeout (locator.click: Timeout\n10000ms exceeded). The failure screenshots show the nav already open\nover a Discover page that is still loading.","sha":"0d660bca37fefe84d0f8407912367bef62ea3b70","branchLabelMapping":{"^v9.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Console","Team:Kibana Management","release_note:skip","backport:version","reviewer:skip-ai","v9.5.0","v9.6.0","v9.7.0"],"title":"[Scout] Retry nav toggle in CollapsibleNav.getNavLinks","number":306974,"url":"https://github.com/elastic/kibana/pull/306974","mergeCommit":{"message":"[Scout] Retry nav toggle in CollapsibleNav.getNavLinks (#306974)\n\nCloses #306862\n\n## Summary\n\nThe \"users without dev tools privileges cannot access dev tools UI\" test\ncalled page.gotoApp('discover') and then immediately opened the nav\nwith collapsibleNav.getNavLinks(). gotoApp without a readiness gate\nresolves on the browser load event, before Discover has mounted. On a\nloaded CI agent the renderer can stall for 10s+ during that bootstrap,\nso the toggle click hit the 10s actionTimeout (locator.click: Timeout\n10000ms exceeded). The failure screenshots show the nav already open\nover a Discover page that is still loading.","sha":"0d660bca37fefe84d0f8407912367bef62ea3b70"}},"sourceBranch":"main","suggestedTargetBranches":["9.5","9.6"],"targetPullRequestStates":[{"branch":"9.5","label":"v9.5.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.6","label":"v9.6.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.7.0","branchLabelMappingKey":"^v9.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/306974","number":306974,"mergeCommit":{"message":"[Scout] Retry nav toggle in CollapsibleNav.getNavLinks (#306974)\n\nCloses #306862\n\n## Summary\n\nThe \"users without dev tools privileges cannot access dev tools UI\" test\ncalled page.gotoApp('discover') and then immediately opened the nav\nwith collapsibleNav.getNavLinks(). gotoApp without a readiness gate\nresolves on the browser load event, before Discover has mounted. On a\nloaded CI agent the renderer can stall for 10s+ during that bootstrap,\nso the toggle click hit the 10s actionTimeout (locator.click: Timeout\n10000ms exceeded). The failure screenshots show the nav already open\nover a Discover page that is still loading.","sha":"0d660bca37fefe84d0f8407912367bef62ea3b70"}}]}] BACKPORT-->

Diff: 443 lines (+332 / -111) across 5 files Reviewer: github-actions[bot] Review duration: 10m
All Vouch review confidence checks passed
Residual risk 0.25 = Change Risk (0.45) × (1 − Review Confidence (0.45)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.45 · 443 lines diff across 5 files
0.45
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
0.02
Model 3 · Review Timing & Attention
Session adequacy: 92% · Reviewer familiarity: 35%
44%
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
Diff Size diff_size
0.365
Shallow Review Depth shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #307261"
general weight: 0.35
Assignees
Unassigned
Labels
risk: low confidence: 44.8% reviewed
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: 45.3% (MEDIUM) · Higher = larger blast radius
45.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: 44.8% · Lower = rushed or shallow review
44.8%
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: 25% · Safe to merge
25%
Repository