-
Notifications
You must be signed in to change notification settings - Fork 667
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
Transformer should not create temporary files inside the codebase #3818
Comments
I think that I discovered another issue related to transformer and our testing. On arch testing failed as we run out of disk space on /tmp (2GB default). Once I started looking on it I found something quite unexpected. For each transformer tests, pytest-xdist copied the entire examples/ folder with included collections (~100MB).
|
Aven after bumping the /tmp from 2GB to 10GB, i got test failures now due to running out of memory. The test VM has 2 cpus and 4GB RAM, which should be fine for running the tests. The system uses only under 400MB to run. |
When interrupting linter testing I discover random file named
tmp...
inside the codebase. I believe that our transformed does this and I do think that we should avoid creating temporary files inside the source tree. Instead these temporary files should be created into the system provided temporary directory.@Qalthos I think that you know this area of code quite well to be able to make a patch for it.
The text was updated successfully, but these errors were encountered: