-
Notifications
You must be signed in to change notification settings - Fork 385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DeterministicBuild workaround doc version misleading #1008
Comments
The issue is that documentation reflect master version not yet deployed at the moment deterministic workaround is needed for version < 3.1.00 and also there was a bug for source link, fixed on master. https://github.com/coverlet-coverage/coverlet/blob/master/Documentation/Changelog.md#fixed Take a look at fixed and added section -Fix deterministic build+source link bug #895 Feel free to close if you don't have any other question. Meanwhile you can try with my tmp nuget feed(we have some issue on official nightly feed) https://f.feedz.io/marcorossignoli/coverletunofficial/nuget/index.json |
@MarcoRossignoli when are you releasing v3 proposed for 1/7 ? It is misleading/confusing when the docs mention features that are only present in nightly. |
I apologize, you're right, past months were a bit chaotic for me and I hadn't enough time to take care of coverlet. Sorry, sometimes OSS has got this kind of problem(maintainers free time). Pls feel free to use my tmp feed for now. @tonerdo do you have some ETA for nightly fix? |
@MarcoRossignoli Obviously the view that consumers will have of the repository is the head of the default branch, so its better when that reflects the latest release rather than the "in development" version. A frustrating situation, but common on GitHub! 🙄 Thank you for the feedback. I'll leave my workaround in place until the next release is available. You can close this issue if you don't intend to use it to track any changes or discussion. 👍 |
Yep I know, here we were a bit late with the planning so it's our fault. Usually we release after big updates/fix so documentation is not out of synch for much time. I'll close this for now because I don't have fix to do and I prefer keep backlog clean. Thanks a lot for your advice and sorry for the "frustration", but thanks for using coverlet! |
The Problem
I have been trying to work out why my coverage reports were empty when my project is built by GitHub actions. Searching the issues and doc's here I did find the information about the Deterministic workaround (here). Initially I dismissed the workaround because it states in the title 'only for .NET Core SDK < 3.1.100'. My project is using SDK 3.1.404. When I couldn't find any other hints I decided to try the workaround anyway, and that does in fact fix the issue.
More Information
Interestingy, the issue only seems to present itself when I add SourceLink support to the project being tested, regardless of the presence of the ContinuousIntegrationBuild property in the project.
I have a repository where I did my testing for this, which you're welcome to check. You'll see that I was making changes in steps to make the project closer to that of my "real" project until I found where the coverage report became empty. Then I added the branch 'deterministic-workaround' to test the workaround. You can see the results in the Actions tab.
Suggested Solution
In the short-term, update the documentation to make it clear that the workaround does apply to 3.1.404, at least if SourceLink is present. I don't know whether there is also a code-fix that can be made later.
The text was updated successfully, but these errors were encountered: