Skip to content
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(core): cypress & fork ts checker plugin #2316

Merged
merged 1 commit into from
Jan 24, 2020

Conversation

bcabanes
Copy link
Member

@bcabanes bcabanes commented Jan 15, 2020

Current behaviour (This is the behaviour we have today, before the PR is merged)

The combination of fork-ts-checker-webpack-plugin and the use of supportFile property in the cypress.json file, was causing cypress to hang probably because a process was not being killed properly. Thus, we switched back to ts-loader to do type checking but that causes memory issues.

Expected behaviour (This is the new behaviour we can expect after the PR is merged)

Because of the memory issues, we bringing back fork-ts-checker-webpack-plugin but adding a twist: compiling file by file instead of parallel.
That way Cypress is not hanging for a process that never end, and the memory issue should be resolved.

Issue

fixes #2103
fixes #2217
fixes #2009

@bcabanes bcabanes force-pushed the fix/cypress-ts-fork-checker branch from 164e178 to 35ae469 Compare January 15, 2020 16:58
@bcabanes bcabanes marked this pull request as ready for review January 15, 2020 17:52
@bcabanes
Copy link
Member Author

@FrozenPandaz Do you think i should add a migration script?

@vsavkin
Copy link
Member

vsavkin commented Jan 16, 2020

@bcabanes what would the migration script do?

@bcabanes bcabanes force-pushed the fix/cypress-ts-fork-checker branch 2 times, most recently from 1ab8f61 to 06d48ba Compare January 17, 2020 01:57
@bcabanes bcabanes force-pushed the fix/cypress-ts-fork-checker branch from 06d48ba to 4a2b902 Compare January 23, 2020 23:25
@bcabanes
Copy link
Member Author

@vsavkin No migration needed after all.

@FrozenPandaz FrozenPandaz merged commit 02e95d9 into nrwl:master Jan 24, 2020
elliottsj added a commit to Yolk-HQ-old/nx that referenced this pull request Feb 20, 2020
elliottsj added a commit to Yolk-HQ-old/nx that referenced this pull request Feb 20, 2020
@bcabanes bcabanes deleted the fix/cypress-ts-fork-checker branch March 15, 2021 19:41
@github-actions
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants