fix: bump test_browser.py Node subprocess timeout from 30s to 60s (#694)#704
Conversation
The 30s timeout in tests/test_browser.py was insufficient for cold Node startup on Windows GitHub Actions runners combined with the --experimental-wasm-exnref flag first-execution V8 codegen cost. Symptom: intermittent subprocess.TimeoutExpired on test (windows-latest, 3.12) only. Asymmetric across the matrix (3.11 and 3.13 running back-to-back on the same runner benefit from a warm cache) — the asymmetry is the signature of cold-cache infra variance rather than a Vera regression. Both call sites (lines 160 and 1736) now use timeout=60 with an explanatory comment pointing at #694. 60s gives ~2x the median budget without making real hangs painful to detect. Also removes the corresponding row from KNOWN_ISSUES.md Bugs section and adds a CHANGELOG entry under Unreleased / Fixed. Closes #694 Co-Authored-By: Claude <noreply@anthropic.invalid>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #704 +/- ##
=======================================
Coverage 90.92% 90.92%
=======================================
Files 60 60
Lines 23606 23606
Branches 259 259
=======================================
Hits 21464 21464
Misses 2135 2135
Partials 7 7
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (3)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthroughThis PR increases the ChangesNode subprocess timeout increase and documentation
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Suggested labels
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning Review ran into problems🔥 ProblemsGit: Failed to clone repository. Please run the Comment |
|
Actionable comments posted: 0 |
Summary
Bump the
subprocess.runtimeout intests/test_browser.pyfrom 30s to 60s at both call sites. The previous 30s budget was insufficient for cold Node startup on Windows GitHub Actions runners combined with the--experimental-wasm-exnrefflag's first-execution V8 codegen cost.Changes
tests/test_browser.py(lines 160 and 1736) —timeout=30→timeout=60with an explanatory comment pointing at Bump test_browser.py Node subprocess timeout from 30s to 60s to reduce Windows CI flakes #694KNOWN_ISSUES.md— remove the corresponding Bugs row (resolved here)CHANGELOG.md—[Unreleased]### Fixedbullet noting the bump and rationaleTest plan
test (windows-latest, 3.12)specifically — the flake's most common cell — passes without retryCloses #694
🤖 Generated with Claude Code
Summary by CodeRabbit
Bug Fixes