← Back to Pull requests

[ZEPPELIN-6785] Stabilize interpreter repository modal focus E2E test #5649

Closed
unknown closed this pull request without merging on Dec 04, 2026 12:35 UTC
View on GitHub
unknown unknown commented on Dec 01, 2026 14:20 UTC
Author

What is this PR for?

Stabilize the Add Repository dialog focus regression test. The diagnostic CI run showed that a descendant radio animation ended first, causing ng-zorro to remove the modal animation classes and cancel its opening animation. This happened even in Firefox retries that passed, so class removal alone did not prove that the modal animation completed.

Disable descendant animations only in this scenario and require the modal's own antZoomIn to emit animationend, not animationcancel. The test still checks that the repository ID field retains focus and accepts input without refocusing it. Temporary diagnostics are removed. Application code is unchanged.

What type of PR is it?

Improvement

Todos

[x] Confirm the failure sequence in CI and remove temporary diagnostics
[x] Stabilize the test while retaining the focus regression check
[x] Verify that the test passes without retries on Linux CI

What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-6785

How should this be tested?

Start Zeppelin with the Angular UI at http://localhost:8080, then run:

cd zeppelin-web-angular
CI=true npm run e2e -- e2e/tests/workspace/interpreter/interpreter-repositories.spec.ts \
  --project=firefox --project=webkit --project=chromium \
  --grep 'preserves repository ID entry|keeps keyboard focus' \
  --retries=0

Both focus scenarios should pass in all three browsers without retries.

Questions:

Does the license files need to update? No.
Is there breaking changes for older versions? No.
Does this needs documentation? No.

Diff: 215 lines (+161 / -54) across 2 files Reviewer: jongyoul Review duration: 4214m
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.37) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 215 lines diff across 2 files
0.37
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
60%
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.322
Shallow Review Depth shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #5649"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 60.5% 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: 36.6% (MEDIUM) · Higher = larger blast radius
36.6%
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: 60.5% · Lower = rushed or shallow review
60.5%
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: 14.5% · Safe to merge
14.5%