-
Notifications
You must be signed in to change notification settings - Fork 619
test: test-all-versions in parallel #2994
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
test-all-versions.js
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@david-luna, apart from some flaky mongodb tests which fail under stress (and some undici tests that I've fixed already), this tav patch seems to be working and offers a 2x speedup. I'll check with tav maintainers what they think of this approach, and if it's possible to upstream.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks! I think for now we can rely on npm run --workspaces and revisit this if upstreamed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The mongodb test failures were caused by the missing callback. Now, everything seems to be working!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! is the assignment of process.env.npm_config_legacy_peer_deps the only difference from upstream?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it also isolates the installs from each other by creating synthetic packages outside the scope of the npm monorepo and then linking the installed packages into the node_modules of the specific npm "workspace".
6933bdd to
71b88ef
Compare
ac2f4d2 to
f3104df
Compare
7b9d99f to
86b819f
Compare
|
This issue was closed because no owner or sponsor has been found after 14 days |
Which problem is this PR solving?
Speeding up testing all versions by running them in parallel.
Short description of the changes
Patch tav to install packages differently.