-
-
Notifications
You must be signed in to change notification settings - Fork 603
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 migrate command #1495
Fix migrate command #1495
Conversation
1942ef2
to
ca0eef5
Compare
@Loonride one test unusually still fails, doesn't show any log, can you debug? |
You can find everything related to |
test/utils/test-utils.js
Outdated
}); | ||
}; | ||
|
||
// some tests don't work if the input option is an empty string |
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 catch 👏
It seems sending a SIGKILL to the process at the end of |
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 @webpack/cli-team please review
hm, ci is not stable in some cases, it is strange |
whats confusing is it always either seems like a large group of them fail, or none of them fail 🤔 |
Others are cancelled when one of them fails. the macOS Node v13 container is the failing one in every PR:( |
Oh that makes more sense thanks |
I think we have racing |
@rishabh3112 Thanks for your update. I labeled the Pull Request so reviewers will review it again. @jamesgeorge007 Please review the new changes. |
Let me try a few things with how |
2b8a43d
e29d4db
to
2b8a43d
Compare
@evilebottnawi 4 test runs good in a row, I think stabilization worked! What I did was forced |
Good job! |
What kind of change does this PR introduce?
fix/tests
Did you add tests for your changes?
Yes (still need to add tests for runPrettier)
I'm not exactly sure how the migrate command is supposed to work. Could someone give an example of a webpack config that it should make modifications to?
If relevant, did you update the documentation?
No
Summary
@jamesgeorge007 Sorry for taking over, just couldn't debug
runPromptWithAnswers
without using your changes. It seems that execa does not like an emptyinput
string option.runPromptWithAnswers
runPrettier
Does this PR introduce a breaking change?
Slightly with how
runPrettier
worksOther information