Azure DevOps task keeps duplicating temp files in AppData

We had one of our build agent’s disks fill up entirely, and as part of our investigation we found that there were a number of folders containing dotnet-symbolic-execution.exe that had not been cleaned up. In total it reached 2893 folders containing what seemed to be the same executable. The oldest of these seemed to be from the 10th of February.

This meant that there was about 3.82 GB of temporary files that were cached here.

Hi @StephenLarkin, thank you very much for raising the issue. I am sorry we caused this trouble.

I believe our assumption was that the Temp folder would be cleaned periodically.

I’ve opened 3706 to improve this in the future.