Skip to content

Unable to index ILSpy #49

@varungandhi-src

Description

@varungandhi-src

Reproduction steps:

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

image

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions