Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sandbox Pex temporary files. (#10772)
Previously temporary files created by Pex and its subprocesses would leak outside the execution sandbox. For local executions on machines with limited /tmp space, this could cause large wheel downloads, for example, to fail. Those cases are now remedied by setting `--local-execution-root-dir`. For remote executions this should be mostly harmless. Remote execution sandoxes, like local ones, should support processes generating large binaries as a standard task and so the sandbox partition should have adequate space for temporary files as a consequence. Some operations might become slower in those cases where /tmp is a generously apportioned tmpfs and the sandbox partition is not. Fixes #10771
- Loading branch information