-
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: cleanup files made by the tmp library in cypress.run() #24957
Conversation
Thanks for taking the time to open a PR!
|
However, it would be nice if we didn't need to use temp files for this purpose. |
Where in the cypress code is it generating this (relative to the cypress.run() function)?
I used my repo (https://github.com/alexsch01/exampleForIssue) to generate this temp file |
The CircleCI linux-lint test is failing The CircleCI driver-integration-tests-electron is failing |
This looks like a good change to me, and verified the fix with the repro repo (thank you for providing!). Poking the rest of the team for a second review. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Without this PR, tmp files (in format "tmp-dynamicNum-dynamicString") made by the cypress.run() function will exist in the OS temp directory forever. I am using setGracefulCleanup by the tmp library
I have an example project on Linux here to showcase the default behavior: https://github.com/alexsch01/exampleForIssue
Let me know if you have any concerns
User facing changelog
Additional details
Steps to test
How has the user experience changed?
PR Tasks
cypress-documentation
?type definitions
?