Skip to content

ci: fix macOS WPT (Python 3.15) and job timeout on v7.x - #6087

Merged
mcollina merged 1 commit into
v7.xfrom
fix-ci-macos-timeout-v7.x
Oct 24, 2026
Merged

mcollina merged 1 commit into
v7.xfrom
fix-ci-macos-timeout-v7.x

Conversation

@mcollina

@mcollina mcollina commented Oct 24, 2026 •

Copy link
Copy Markdown
Member

Backports the nodejs.yml CI fix from main to the v7.x branch.

The macOS runner image now ships Python 3.15, which removed http.server.CGIHTTPRequestHandler. The vendored pywebsocket3 used by the WPT server still needs it, so wpt serve crashes on macOS and the test:wpt step then hangs until the job times out (the current v7.x tip has all macOS checks cancelled this way). This pins Python to 3.14 on macOS via actions/setup-python, matching main, so the WPT server starts.

It also gives the test job a flat 30-minute timeout (matching main) instead of 20 so the macOS matrix has enough time to complete the full suite.

Infrastructure-only (.github/workflows/nodejs.yml); no undici runtime code changes.

@codecov-commenter

codecov-commenter commented Oct 24, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.17%. Comparing base (14c296f) to head (0a37f40).

Additional details and impacted files
@@            Coverage Diff             @@
##             v7.x    #6087      +/-   ##
==========================================
+ Coverage   93.16%   93.17%   +0.01%     
==========================================
  Files         112      112              
  Lines       37632    37632              
==========================================
+ Hits        35059    35063       +4     
+ Misses       2573     2569       -4     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

The macOS runner image now ships Python 3.15, which removed
node:http's CGIHTTPRequestHandler. pywebsocket3, used by the WPT server,
still needs it, so 'wpt serve' crashes on macOS and the test:wpt step hangs
until the job times out. Pin Python to 3.14 on macOS (via actions/setup-python,
matching main) so the WPT server starts.

Also give the test job a flat 30-minute timeout (matching main) instead of 20,
so the macOS matrix has enough time to complete the full suite.
@mcollina
mcollina force-pushed the fix-ci-macos-timeout-v7.x branch from 202302a to 0a37f40 Compare October 24, 2026 04:33
@mcollina mcollina changed the title ci: backport nodejs.yml timeout change to v7.x ci: fix macOS WPT (Python 3.15) and job timeout on v7.x Oct 24, 2026
@mcollina
mcollina merged commit 0eec414 into v7.x Oct 24, 2026
37 checks passed
@mcollina
mcollina deleted the fix-ci-macos-timeout-v7.x branch October 24, 2026 20:21
@github-actions github-actions Bot mentioned this pull request Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants