← Back to Pull requests

test(e2e): raise the WebView bundle gzip budget to 73 KiB (main e2e is red) #246

Closed
unknown closed this pull request without merging on Nov 30, 2026 17:54 UTC
View on GitHub
unknown unknown commented on Nov 30, 2026 07:28 UTC
Author

main's E2E check has failed since #244 merged: AssertionError: expected 73994 to be less than 73728 in webview-bundle.e2e.ts.

#243 measured the bundle at 71.4 KiB gzip against its new 72 KiB budget. #244 then added ignoreErrors / ReportHandler.ignore (report-ignore) to the shared core, which the WebView bundle includes, taking it to 73,994 bytes (72.3 KiB). The two PRs were each green on their own, so neither saw the combined size.

This raises the gzip budget to 73 KiB with the dated explanatory comment that file's convention asks for (raw budget unchanged). The option and the hook are part of the public launch surface on every runtime, so they stay in the WebView bundle instead of being split out.

It also unblocks the red E2E on the open dependency PRs (#238, #239), which fail with the same assertion.

Test plan: webview-bundle.e2e.ts passes locally (3/3).

🤖 Generated with Claude Code

https://claude.ai/code/session_01WeiJxRnbk1iC7HPhhoC2Cr

Diff: 125 lines (+93 / -32) across 1 files Reviewer: krassx Review duration: 626m
All Vouch review confidence checks passed
Residual risk 0.15 = 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 · 125 lines diff across 1 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.289
Shallow Review Depth shallow_review_depth
0.289
Ai Authored ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #246"
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.9% (MEDIUM) · Higher = larger blast radius
36.9%
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.6% · Safe to merge
14.6%