-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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(deps): update dependency graceful-fs to v4.2.9 🌟 #19676
Conversation
See the guidelines for reviewing dependency updates for info on how to review dependency update PRs. |
Test summaryRun details
View run in Cypress Dashboard ➡️ Flakiness
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
223b41f
Ok, so this change breaks yarn 2 support more than it already is. Currently using yarn version 2.4.3 cypress open fails due to graceful-fs (version 4.2.0) See issue #6377, specifically my last comment. By upgrading to graceful-fs (version 4.2.9) both cypress open and run fail with:
This appears to be a yarn bug that was fixed with version 3. Both cypress open and run work with yarn 3.1.1. So we need to decided if we support want to try to support yarn 2, if not we can upgrade the test to instead use yarn 3. |
I'm going to restate the graceful-fs problem here: Graceful-fs v4.2.0 - 4.2.8 breaks when used in conjunction with resolve v1.211. This surfaced in cypress when trying to run component tests with vite2. When used with Yarn v2.4.3 Cypress open mode fails with an error3. When Graceful-fs is updated to v4.2.9, using yarn v2.4.3 Both Cypress run and Open fail with the following error:
This is a yarn bug that was corrected in yarn version 34. Both cypress open and cypress run work with yarn v3. (Tested with yarn v3.1.1). Cypress bundles graceful-fs with it's electron app and uses it when executing user tests/plugins. So any kind of yarn resolution won't help in this case.56 Options:
Removing Graceful-fs or patching it would require more spiking to determine viability and would obviously be more expensive. This issue will also present in cypress v10 without intervention. Footnotes
|
if yarn 2 is EOL and fixes won't be backported to it, what's the point of trying to support it? |
I vote moving forward with Yarn 3 support and fixing the vite issue. We can make a note we have limited yarn 2 support and don't recommend using Cypress with Yarn 2. |
empty commit
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
This PR contains the following updates:
4.2.0
->4.2.9
Release Notes
isaacs/node-graceful-fs
v4.2.9
Compare Source
v4.2.8
Compare Source
v4.2.7
Compare Source
v4.2.6
Compare Source
v4.2.5
Compare Source
v4.2.4
Compare Source
v4.2.3
Compare Source
v4.2.2
Compare Source
v4.2.1
Compare Source
Configuration
📅 Schedule: "before 3am on the first day of the month" in timezone America/New_York.
🚦 Automerge: Enabled.
♻ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.