-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Filesystem pollution in /tmp/
#73795
Comments
VBCSCompiler is likely roslyn. Could you give some examples of what are in;
It will help track down the relevant teams (if not us). |
Murphy's Law I check some of those directories and they're empty 😄 ... I should probably use various tools for a few hours to see changes. These seem to be zero-byte files:
I hope if others see this issue they help by showing what sort of stuff exists in their Thanks for being receptive to the issue. |
AnalyzerAssemblyLoader is us (roslyn). It could be the compiler, but it's also possible it's the IDE code. Tagging @jaredpar and @dibarbet . The rest do seem to be Dotnet/MSbuild. However, it's possible it's still us wrt to calling into them and not giving them a good /tmp location (i genuinely don't know). Jared is likely a good starting point here given that vbcscompiler is def us. |
This is for Linux correct? If so this is very likely DevKit as the compiler doesn't use @dibarbet sync up with me and I'll help you get this sorted. Should be a very straight forward change. |
Resolving this issue - #73809 removes the cases where we were shadow copying analyzers to /tmp on linux. This will be in an upcoming prerelease of the C# extension (most likely released next Tuesday). The others aren't controlled directly by us and mostly look like named pipes as you mention. For |
Thanks I'll follow up with other teams as you proposed. But does someone know who is responsible for those named pipes? |
I didn't know which repo to use; I hope this is the right one.
I'm using VSCode on linux, where the
/tmp/
directory is for ephemeral stuff; I assume it's the same for mac. Nonetheless, it is customary for programmes to place files in there in an orderly manner..NET however places dozens, sometimes hundreds, of directories in there:
And that's just a small sample. Of each category there are maybe hundreds of entries.
It's sort of "filesystem pollution", and makes it hard to use
/tmp/
. I've become used to it over the years, but we should probably find a better way. It affects our interaction with all other programmes which use/tmp/
as well as our own stuff because we also use/tmp/
.It would be better to do as other programmes do: create a
/tmp/microsoft/
directory and place everything in there.(If this is due to multiple .NET tools, please let me know which, so I can copy this issue to those repos too? Thanks.)
The text was updated successfully, but these errors were encountered: