Skip to content

Remote source file cache #196

@ViktorHofer

Description

@ViktorHofer

With 1463ade the functionality to fetch remote files was implemented. We are using ReportGenerator to get comprehensive reports for fundamental parts of .NET Core like System.Private.CoreLib and other assemblies. As we don't build System.Private.CoreLib ourselves and can't resolve source code paths contained in the pdb, we use sourcelink and tell coverlet to forwards these remote paths into the generated report (as expected).

The issue that we are hitting now is that fetching these remote files takes a considerable amount of time and generating the report with ReportGenerator now takes multiple minutes. We should implement a remote source file cache as these paths don't change very often when using sourcelink.

@danielpalme please let me know if you are fine with the idea and want me to send a PR.

cc @stephentoub

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions