-
-
Notifications
You must be signed in to change notification settings - Fork 376
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
chore: migrate to github-actions #611
Conversation
Codecov Report
@@ Coverage Diff @@
## master #611 +/- ##
=======================================
Coverage 99.12% 99.12%
=======================================
Files 8 8
Lines 228 228
Branches 71 71
=======================================
Hits 226 226
Misses 2 2 Continue to review full report at Codecov.
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
That error is happening when tests are failed and watch not closed |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
c3816e6
to
69ebe09
Compare
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.
Maybe we should move on github actions, just idea
Actually I want to move to github CI:) |
Anyway, I'll resolve this problem and then I'll refactor many things. |
test/middleware.test.js
Outdated
@@ -370,7 +370,7 @@ describe('middleware', () => { | |||
}); | |||
}); | |||
|
|||
describe('should work with difference requests', () => { | |||
describe.skip('should work with difference requests', () => { |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
7653c9f
to
c362302
Compare
c362302
to
cbb48a0
Compare
This comment has been minimized.
This comment has been minimized.
Added CODECOV_TOKEN to settings/secret. |
44dc5d2
to
65bac2e
Compare
windows CIs seem flaky, need to investigate. |
I'll refactor tests after merging this pr. |
fc8136a
to
1cd0835
Compare
CI is green. |
I'll modify github's setting of branch settings. |
.github/workflows/tests.yml
Outdated
uses: codecov/codecov-action@v1.0.6 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
file: '**/junit.xml' |
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.
Let's union two files in one, they are small and can be combined
Seems segment fault appears after |
webpack@5 doesn't uses chokidar with fsevents and no problems, so I think the problem in |
src/index.js
Outdated
@@ -88,7 +88,8 @@ export default function wdm(compiler, options = {}) { | |||
// eslint-disable-next-line no-param-reassign | |||
callback = callback || noop; | |||
|
|||
context.watching.close(callback); | |||
callback(); | |||
// context.watching.close(callback); |
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.
/cc @hiroppy The problem is here
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.
Good, so can we resolve this problem?
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.
I think bug in fsevents - fsevents/fsevents#314, need to fix it, probably will have to figure it out yourself, no problems with other os, today I will try to find a specific place of the problem
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.
Maybe related - webpack/webpack#10037
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.
Thank you for investigation!
.github/workflows/nodejs.yml
Outdated
- next | ||
|
||
jobs: | ||
# lint: |
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.
Please uncomment lint job if possible
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.
@hiroppy I will do it after we will fix the problem (before merge)
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.
okay, thanks
patch.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.
@hiroppy yes, problem(s) in fsevents
, I patched chokidar
does not use fsevents
and tests passed.
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.
Now macos users would probably see webpack consuming 1GB of memory and tons of CPU.
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.
@paulmillr Firstly, this is not true, I can take measurements again and demonstrate them to you. Secondly, I don’t see a desire to correct a bug or help us find it, so I don’t see any other choice how to turn off fsevents
. I am always open and aimed at improvements and fix bugs, but for some reason you react negatively to my attempts to find a compromise.
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.
That's because we've already fixed the bug in chokidar 3 — and you should update. There is no "unwilingness", there is just desire to not do the same work twice.
Go ahead and remove fsevents. You'll notice some bug reports in a couple weeks.
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.
@paulmillr Why are you so negative to me, have I really done something bad to you? All I'm trying to do is find the error and fix it.
CI looks good |
@hiroppy Let's merge 👍 |
@evilebottnawi Thank you for your investigation! |
I'll copy to webapck-dev-server as well. |
This PR contains a:
Motivation / Use-Case
Migrate from azure-pipelines to github-actions
Breaking Changes
no
Additional Info