You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The build infrastructure could explicitly set $TMPDIR (or %TMP% on Windows) to an empty directory and at the end of a successful build check that the directory is still empty. If not, it could fail.
Or we could do it in cmd/dist test, perhaps optionally.
Non Windows users might struggle if they do not know that you cannot delete running executable on Windows, you cannot delete opened file on Windows, you cannot remove directory if it is current directory on Windows and similar.
Alex
bradfitz
changed the title
x/build: detect temp dir leaks
x/build/cmd/coordinator: detect temp dir leaks
Mar 1, 2019
Now we need to make the coordinator do the $WORKDIR/tmp scan at the end of a successful build.
This bug is about modifying the coordinator to do that. Bug #30500 is about fixing the resulting problems. We'll probably need a way to make the trybot behavior opt-in for a bit while we clean up the tree.
The build infrastructure could explicitly set $TMPDIR (or %TMP% on Windows) to an empty directory and at the end of a successful build check that the directory is still empty. If not, it could fail.
Or we could do it in cmd/dist test, perhaps optionally.
/cc @ianlancetaylor @alexbrainman
The text was updated successfully, but these errors were encountered: