Skip to content

Conversation

@joyeecheung
Copy link
Member

It previously re-einvented the pattern matching that's already supported by test.py, and was running the tests one by one, which can lead to time out on slower machines.
This move it to sequential and use wildcard support in test.py to correctly parallelize the tests.

Fixes: #60268

It previously re-einvented the pattern matching that's already
supported by test.py, and was running the tests one by one,
which can lead to time out on slower machines.
This move it to sequential and use wildcard
support in test.py to correctly parallelize the tests.
@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels Oct 15, 2025
@joyeecheung
Copy link
Member Author

joyeecheung commented Oct 15, 2025

On my macbook:

$ tools/test.py test/sequential/test-without-async-context-frame.mjs
[00:00|% 100|+   1|-   0]: Done

All tests passed.

$ git checkout main
Switched to branch 'main'
Your branch is up to date with 'origin/main'.

$ tools/test.py test/parallel/test-without-async-context-frame.mjs
[00:07|% 100|+   1|-   0]: Done

@nodejs-github-bot
Copy link
Collaborator

@codecov
Copy link

codecov bot commented Oct 15, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.58%. Comparing base (1d2b89a) to head (f7a0dbb).
⚠️ Report is 14 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #60273   +/-   ##
=======================================
  Coverage   88.57%   88.58%           
=======================================
  Files         704      704           
  Lines      208323   208323           
  Branches    40037    40043    +6     
=======================================
+ Hits       184531   184537    +6     
- Misses      15811    15815    +4     
+ Partials     7981     7971   -10     

see 29 files with indirect coverage changes

🚀 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.

@joyeecheung joyeecheung added request-ci Add this label to start a Jenkins CI on a PR. and removed request-ci Add this label to start a Jenkins CI on a PR. labels Oct 16, 2025
@joyeecheung joyeecheung added the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 17, 2025
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 17, 2025
@nodejs-github-bot nodejs-github-bot merged commit 70c04c7 into nodejs:main Oct 17, 2025
69 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in 70c04c7

@Qard
Copy link
Member

Qard commented Oct 18, 2025

Oh, nice! Thanks for fixing this one.

When I originally wrote that I had tried to allow it to run parallel, but the test itself was in the parallel set which seemed to overload the CI. I guess the solution I was missing was to just run the parallel set as a sequential test. Good catch! 🙂

aduh95 pushed a commit that referenced this pull request Oct 23, 2025
It previously re-einvented the pattern matching that's already
supported by test.py, and was running the tests one by one,
which can lead to time out on slower machines.
This move it to sequential and use wildcard
support in test.py to correctly parallelize the tests.

PR-URL: #60273
Fixes: #60268
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ci PRs that need a full CI run. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

parallel/test-without-async-context-frame is flaky (time out)

6 participants