git clone https://github.com/icsharpcode/ILSpy.git
cd ILSpy && git checkout d5cec0ab3
docker run -v $(pwd):/app sourcegraph/scip-dotnet:latest scip-dotnet index ILSpy.sln
scip-dotnet image hash: a4b074f00f73
There are a few different issues here:
The indexer shouldn't be running for over 10 minutes with no output after the dotnet restore timeout log line
The running dotnet restore command wasn't killed (it's still taking up 1 CPU). Assuming that the indexer is going to read files written by dotnet restore, this creates a race condition, so we should kill it if it times out.
There's only about 200k SLOC of C# in the repo, so it seems like 10 minutes is too long.
Reproduction steps:
scip-dotnet image hash: a4b074f00f73
There are a few different issues here:
dotnet restore
timeout log linedotnet restore
command wasn't killed (it's still taking up 1 CPU). Assuming that the indexer is going to read files written bydotnet restore
, this creates a race condition, so we should kill it if it times out.