← Back to Pull requests

ci: cache Playwright browsers and bound the install step #195

Closed
unknown closed this pull request without merging on Jun 11, 2026 18:58 UTC
View on GitHub
unknown unknown commented on Jun 11, 2026 18:58 UTC
Author

Second half of the CI-timeout fix (with #193).

Diagnosis


Job logs show every recent "cancelled" run — single-job and sharded — died the same way: playwright install starts the Chromium download from cdn.playwright.dev (already the fallback CDN) and then produces no further output for the rest of the job until timeout-minutes: 30 kills it. The tests never started; the suite itself was never the problem.

Fix


  • actions/cache on ~/.cache/ms-playwright keyed by browser + Playwright version: warm runs skip the download entirely.

  • The install step is bounded: timeout 300 per attempt, 3 attempts, so a stalled download costs at most ~5 minutes before retrying instead of eating the job.
  • The run triggered by this merge validates the full pipeline end to end.

    Diff: 98 lines (+73 / -25) across 1 files Reviewer: justin-schroeder Review duration: 0m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.30) × (1 − Review Confidence (0.30)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.30 · 98 lines diff across 1 files
    0.30
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 13% · Reviewer familiarity: 35%
    30%
    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
    Shallow Review Depth shallow_review_depth
    0.289
    Diff Size diff_size
    0.275
    Real PR Conversation Timeline
    1 comments
    "Review active on #195"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 30.1% 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: 30.5% (LOW) · Higher = larger blast radius
    30.5%
    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: 30.1% · Lower = rushed or shallow review
    30.1%
    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: 21.3% · Safe to merge
    21.3%