question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for Deterministic Source Paths

See original GitHub issue

Today, it appears that ReportGenerator requires the “real” path to a file to work. If ContinousIntegrationBuild is set to true though, the paths in the report files should generate file paths of the like

/_/some/directory/file.cs
/_/some/directory/file2.cs
/_1/anotherRoot/frob/bar.cs

etc.

They’ll always be normalized across OS versions.

What we’d need is for the sources parameter to search against all roots (ignore the /_{n}/) and try to find it against something like

C:\agent\1\work\s\some\directory\file.cs
C:\agent\1\work\s\some\directory\file2.cs

and match the files.

What can we do here?

Thanks!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:21 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
danielpalmecommented, Feb 20, 2021

Just made some additional changes 1350d0f and published release 4.8.6

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - Get source file location with DeterministicSourcePaths ...
I need the source code location in order to be able to unit test product specific functionality (that has to do with inspecting...
Read more >
SourceLink breaks coverage report generation - SonarCloud
I had conflated source link and deterministic source paths. And after much wrangling, I discover that coverlet doesn't support deterministic ...
Read more >
C# Compiler Options that control code generation
Deterministic compilation can be used for establishing whether a binary is compiled from a trusted source. Deterministic output can be useful ...
Read more >
Deterministic Networking
Deterministic Networking (DetNet) is an effort by the IETF DetNet Working Group to study implementation of deterministic data paths ... To support real-time...
Read more >
An introduction to deterministic builds with C/C++
A deterministic build is a process of building the same source code with the same build environment and build instructions producing the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found