-
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
fix(libuv): fix sporadic libuv
assertion fails
#16513
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 1cd881a:
|
Perf AnalysisNo significant results to display. All results
Perf Analysis (Fluent)Perf comparison
Perf tests with no regressions
|
a2ab7b9
to
96708e5
Compare
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 9ffa0f0a5eaacfa5414dbcdaae75d7753087a0b6 (build) |
@@ -0,0 +1,8 @@ | |||
{ | |||
"type": "patch", |
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.
As this does not change distributed files, the package version shouldn’t update. Can you make this “none”?
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.
Fixed!
The fix turns out to be bumping `webpack` from `4.43` to `4.44` in `packages/web-components`. Prior to this, I'd experience sporadic errors when running `yarn test` like the ones documented in this `karma` issue: [karma-runner/karma#3511](karma-runner/karma#3511). It turns out, that the problem is not with `karma` but rather with `webpack` as documented in [webpack/webpack#10037](webpack/webpack#10037). As per the closing comment in that issue, ensure we use `watchpack` version `^1.7.2` (a transitive dep of `webpack`) is enough to ensure this sporadic error goes away, and to bump `watchpack` we need to bump `webpack` by one minor version.
96708e5
to
1cd881a
Compare
@kubkon trying to get my PR in ASAP; just lots of little stupid things breaking. Fix thing, build locally, celebrate success, check in, wait on build, get surprised by something breaking, depression, investigate, repeat... makes it hard to estimate, but this is my main priority at the moment. |
This is now superseded by #16447, so closing. |
Description of changes
The fix turns out to be bumping
webpack
from4.43
to4.44
inpackages/web-components
. Prior to this, I'd experience sporadicerrors when running
yarn test
like the ones documented in thiskarma
issue: karma-runner/karma#3511.It turns out, that the problem is not with
karma
but rather withwebpack
as documented in webpack/webpack#10037.As per the closing comment in that issue, ensure we use
watchpack
version
^1.7.2
(a transitive dep ofwebpack
) is enough to ensurethis sporadic error goes away, and to bump
watchpack
we need tobump
webpack
by one minor version.