-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Use gunzip-maybe instead of reimplementing #2971
Use gunzip-maybe instead of reimplementing #2971
Conversation
Looks like the right idea but there is a test error |
is there any way to see which test is failing? the test file is huge… |
Just scroll to the bottom, it says which file it is
…On Thu, 23 Mar 2017 at 09:18, Victor Noël ***@***.***> wrote:
is there any way to see which test is failing? the test file is huge…
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2971 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ACBdWPuN9dRXi_EWwY9E0F8e2qUoCJ_Wks5rojjlgaJpZM4MlRpn>
.
|
@bestander it says which file it is ( |
You are right, it is not able to run the whole test suite because of the crash. |
Ok, so I never managed to have jest print the name of the failing test, but with a bit of help of dichotomy magic, I narrowed the problem to the third test I will investigate |
Ok, so, I'm not clear on the real reason why it doesn't work. To me the problem is coming from If I force the version of |
Thanks for investigating, @victornoel. |
@victornoel, any luck? |
@bestander I just took a look at it again. Basically the problem is that some dependencies of So either there is any way to force the version of a dependency's dependency with yarn (except via editing the |
704adc4
to
094d096
Compare
@bestander don't close, I should be pushing soon a working PR :) |
094d096
to
2edef3e
Compare
not sure why it fails... seems there is some timeout issues |
anyway, my PR is good as it is, the dependencies were updated in gunzip-maybe's dependencies and the test that was failing before does not fail anymore. |
2edef3e
to
b0a58af
Compare
@bestander I've rebased with latest master. The travis build passes, but the other two seems to timeout on one of the test (the same one "root install with optional deps", once with node 6, once with node 4). It runs fine on my machine (both with node 6 and 4), so I'm not sure what to do about that... |
Sometimes CI fails, I am working on making e2e tests more stable
…On Sat, 15 Apr 2017 at 09:36, Victor Noël ***@***.***> wrote:
@bestander <https://github.com/bestander> I've rebased with latest
master. The travis build passes, but the other two seems to timeout on one
of the test (the same one "root install with optional deps", once with node
6, once with node 4). It runs fine on my machine (both with node 6 and 4),
so I'm not sure what to do about that...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2971 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ACBdWIC9KLXYRTISdUDFa2QxFtxA3sMqks5rwIF_gaJpZM4MlRpn>
.
|
Since the failing tests seem unrelated and there's already a few other PRs related to tar streams, I'll merge this one before it requires any more rebase :) |
cool, thanks :) |
Summary
Following the PR to use
tar-fs
(#2826), I was looking at ways to solve #2629, and noticed that yarn had its own ad-hoc implementation of gunzipping the archives while there exists an available implementation already, by the same person who madetar-fs
.Even though it does not improve the situation for #2629 (of course), I thought it would make sense to use an existing library instead of an adhoc implementation.
Test plan
I ran
yarn
in a project with lots of dependencies, nonode_modules
and an empty cache.I used the default network concurrency of 8.
Everything worked as expected.