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.

Deprecate and unlist package version 3.0.0 and change release habits

See original GitHub issue

Last week we released new major version 3.0.0

Unfortunately the version has got an ugly bug has described by our amazing @daveMueller https://github.com/coverlet-coverage/coverlet/issues/1037#issuecomment-758365055

We did a great improvement on coverage testing, today we have a way to check if we’re able to recognize pattern and verify line numbers and branch numbers. I’m very happy of the quality of our coverage. With this version we’re very close to OpenCover as reported by @JSkimming https://github.com/coverlet-coverage/coverlet/issues/1037#issuecomment-759255949 one of the best coverage solution around.

Anyway the bug is escaped from our UTs and integrations because it manifests only on multi-document project and we’re testing 1 document at time(we check coverage for specific scenario and we generate 1 asm for 1 class and we tests only that class so only 1 cs file). Also offering nightly build to our friends didn’t help https://github.com/coverlet-coverage/coverlet/issues/1037#issuecomment-758031177 and I’m ok with it, it’s a nightly not an “official preview”.

In the spirit of “learning from our(my) errors” I propose to add one more step before official release. I think that when the new fix/improvements are “enough”(also if we have 1 big change) we should release an official preview to nuget and maybe ask to our friends of coverlet community to give it a try.

We could also open an coverlet Twitter account to ask some collaboration for preview testing.

Coverlet is becoming the choice for xplat .NET Coverage, we have a lot of download https://nugettrends.com/packages?months=12&ids=coverlet.collector&ids=coverlet.msbuild&ids=coverlet.console and users ~61K(github numbers) and we’re on MS docs https://docs.microsoft.com/en-us/dotnet/core/testing/unit-testing-code-coverage?tabs=windows with the privilege of VSTest strict integration --collect "XPlat Code Coverage", for all these reason I think we need to do a step further also on this part of “chain” to improve the quality and move @tonerdo’s baby to the adolescence😄

Please let me know what you think @tonerdo @petli

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13

github_iconTop GitHub Comments

2reactions
petlicommented, Jan 19, 2021

After thinking a bit about this I think I agree with @JSkimming. In general bugs will be found faster if they get pulled into PRs by dependabot across the ecosystem, rather than just by a subset of preview users. If people automatically also merge those PRs without reviewing them is up to them.

This particular bug, by affecting almost every single user, means that we got a bunch of duplicate issues reported which added some noise, but rather than that a bug not being found at all.

1reaction
pkrukpcommented, Jan 20, 2021

Anyway the bug is escaped from our UTs and integrations because it manifests only on multi-document project and we’re testing 1 document at time(we check coverage for specific scenario and we generate 1 asm for 1 class and we tests only that class so only 1 cs file).

I have not seen any mentions about improving automatic tests. “multi-document project” is the normal case, nobody has projects with only one document. Did you consider adding such test?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deprecating packages on nuget.org
To deprecate a package, go to Manage packages and select Deprecation: Go to deprecate package option · Select the version you would like...
Read more >
Deprecating and undeprecating packages or ...
Note: We strongly recommend deprecating packages or package versions instead of unpublishing them, because unpublishing removes a package from the registry ...
Read more >
[policy, no patch] Switch to Semantic Versioning for ...
A) How would contrib module and theme version numbers work at all if we used strict semver? Don't say "composer will Just Work(tm)...
Read more >
Pip Install: How To Install and Remove Python Packages
Use Python pip to install packages manually, or by using a requirements.txt ... installing specific versions of packages is a good habit.
Read more >
go_router | Flutter Package
A declarative router for Flutter based on Navigation 2 supporting deep linking, data-driven routes and more.
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