Skip to content
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

.NET Standard 1.x + async - Wrong branch coverage #1376

Closed
vers-one opened this issue Aug 30, 2022 · 3 comments · Fixed by #1433
Closed

.NET Standard 1.x + async - Wrong branch coverage #1376

vers-one opened this issue Aug 30, 2022 · 3 comments · Fixed by #1433
Labels
bug Something isn't working tenet-coverage Issue related to possible incorrect coverage

Comments

@vers-one
Copy link

I think this is the same issue as #113 but affecting only .NET Standard 1.x projects. (Unfortunately, I have to use .NET Standard 1.3 in my project.)

Reproduction: https://github.com/vers-one/AsyncCoverageIssue

Coverage report:
CoverageReport

Projects targeting .NET or even .NET Standard 2.x don't exhibit this issue.

@MarcoRossignoli MarcoRossignoli added bug Something isn't working tenet-coverage Issue related to possible incorrect coverage labels Sep 28, 2022
@MarcoRossignoli
Copy link
Collaborator

Thanks for reporting it.

@daveMueller
Copy link
Collaborator

@vers-one Thanks for the repro. I created a PR for this #1433.

If someone wants to check this, I locally compiled this and uploaded the NuGet packages here.
Packages.zip

@vers-one
Copy link
Author

@daveMueller, it works! Thank you!

renovate bot referenced this issue in cythral/brighid-commands May 21, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [coverlet.collector](https://togithub.com/coverlet-coverage/coverlet)
| nuget | major | `3.2.0` -> `6.0.0` |

---

### Release Notes

<details>
<summary>coverlet-coverage/coverlet</summary>

###
[`v6.0.0`](https://togithub.com/coverlet-coverage/coverlet/releases/tag/v6.0.0)

Fixed
\-Could not write lines to file CoverletSourceRootsMapping - in use by
another
process[https://github.com/coverlet-coverage/coverlet/issues/1155](https://togithub.com/coverlet-coverage/coverlet/issues/1155)5
-Incorrect coverage for methods returning IAsyncEnumerable in generic
classes[https://github.com/coverlet-coverage/coverlet/issues/1383](https://togithub.com/coverlet-coverage/coverlet/issues/1383)3
-Wrong branch coverage for async methods .NET Standard
1.x[https://github.com/coverlet-coverage/coverlet/issues/1376](https://togithub.com/coverlet-coverage/coverlet/issues/1376)6
-Empty path exception in visual basic
projects[https://github.com/coverlet-coverage/coverlet/issues/775](https://togithub.com/coverlet-coverage/coverlet/issues/775)5
-Allign published nuget package version to github release
version[https://github.com/coverlet-coverage/coverlet/issues/1413](https://togithub.com/coverlet-coverage/coverlet/issues/1413)3
\-Sync nuget and github release
version[https://github.com/coverlet-coverage/coverlet/issues/1122](https://togithub.com/coverlet-coverage/coverlet/issues/1122)22

Improvements
\-Migration of the project to .NET
6.0[https://github.com/coverlet-coverage/coverlet/pull/1473](https://togithub.com/coverlet-coverage/coverlet/pull/1473)3

Breaking changes
New parameter ExcludeAssembliesWithoutSources to control automatic
assembly exclusion
[https://github.com/coverlet-coverage/coverlet/issues/1164](https://togithub.com/coverlet-coverage/coverlet/issues/1164).
The parameter InstrumentModulesWithoutLocalSources has been removed.
since it can be handled by setting ExcludeAssembliesWithoutSources to
None.
The default heuristics for determining whether to instrument an assembly
has been changed. In previous versions any missing source file was taken
as a signal that it was a third-party project that shouldn't be
instrumented, with exceptions for some common file name patterns for
source generators. Now only assemblies where no source files at all can
be found are excluded from instrumentation, and the code for detecting
source generator files have been removed. To get back to the behaviour
that at least one missing file is sufficient to exclude an assembly, set
ExcludeAssembliesWithoutSources to MissingAny, or use assembly exclusion
filters for more fine-grained control.

[Diff between 3.2.0 and
6.0.0](https://togithub.com/coverlet-coverage/coverlet/compare/v5.7.2...v6.0.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/cythral/brighid-commands).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzUuOTcuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
vbreuss referenced this issue in Testably/Testably.Abstractions May 21, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [coverlet.collector](https://togithub.com/coverlet-coverage/coverlet)
| nuget | major | `3.2.0` -> `6.0.0` |

---

### Release Notes

<details>
<summary>coverlet-coverage/coverlet</summary>

###
[`v6.0.0`](https://togithub.com/coverlet-coverage/coverlet/releases/tag/v6.0.0)

Fixed
\-Could not write lines to file CoverletSourceRootsMapping - in use by
another
process[https://github.com/coverlet-coverage/coverlet/issues/1155](https://togithub.com/coverlet-coverage/coverlet/issues/1155)5\
\-Incorrect coverage for methods returning IAsyncEnumerable in generic
classes[https://github.com/coverlet-coverage/coverlet/issues/1383](https://togithub.com/coverlet-coverage/coverlet/issues/1383)3\
\-Wrong branch coverage for async methods .NET Standard
1.x[https://github.com/coverlet-coverage/coverlet/issues/1376](https://togithub.com/coverlet-coverage/coverlet/issues/1376)6\
\-Empty path exception in visual basic
projects[https://github.com/coverlet-coverage/coverlet/issues/775](https://togithub.com/coverlet-coverage/coverlet/issues/775)5\
\-Align published nuget package version to github release
version[https://github.com/coverlet-coverage/coverlet/issues/1413](https://togithub.com/coverlet-coverage/coverlet/issues/1413)3\
\-Sync nuget and github release
versions[https://github.com/coverlet-coverage/coverlet/issues/1122](https://togithub.com/coverlet-coverage/coverlet/issues/1122)2

Improvements
\-Migration of the project to .NET
6.0[https://github.com/coverlet-coverage/coverlet/pull/1473](https://togithub.com/coverlet-coverage/coverlet/pull/1473)3

Breaking changes
New parameter ExcludeAssembliesWithoutSources to control automatic
assembly exclusion
[https://github.com/coverlet-coverage/coverlet/issues/1164](https://togithub.com/coverlet-coverage/coverlet/issues/1164).
The parameter InstrumentModulesWithoutLocalSources has been removed.
since it can be handled by setting ExcludeAssembliesWithoutSources to
None.
The default heuristics for determining whether to instrument an assembly
has been changed. In previous versions any missing source file was taken
as a signal that it was a third-party project that shouldn't be
instrumented, with exceptions for some common file name patterns for
source generators. Now only assemblies where no source files at all can
be found are excluded from instrumentation, and the code for detecting
source generator files have been removed. To get back to the behaviour
that at least one missing file is sufficient to exclude an assembly, set
ExcludeAssembliesWithoutSources to MissingAny, or use assembly exclusion
filters for more fine-grained control.

[Diff between 3.2.0 and
6.0.0](https://togithub.com/coverlet-coverage/coverlet/compare/v5.7.2...v6.0.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Testably/Testably.Abstractions).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzUuOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
ThorstenSauter referenced this issue in ThorstenSauter/NoPlan May 22, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [coverlet.collector](https://togithub.com/coverlet-coverage/coverlet)
| nuget | major | `3.2.0` -> `6.0.0` |

---

### Release Notes

<details>
<summary>coverlet-coverage/coverlet</summary>

###
[`v6.0.0`](https://togithub.com/coverlet-coverage/coverlet/releases/tag/v6.0.0)

Fixed
\-Could not write lines to file CoverletSourceRootsMapping - in use by
another
process[https://github.com/coverlet-coverage/coverlet/issues/1155](https://togithub.com/coverlet-coverage/coverlet/issues/1155)5\
\-Incorrect coverage for methods returning IAsyncEnumerable in generic
classes[https://github.com/coverlet-coverage/coverlet/issues/1383](https://togithub.com/coverlet-coverage/coverlet/issues/1383)3\
\-Wrong branch coverage for async methods .NET Standard
1.x[https://github.com/coverlet-coverage/coverlet/issues/1376](https://togithub.com/coverlet-coverage/coverlet/issues/1376)6\
\-Empty path exception in visual basic
projects[https://github.com/coverlet-coverage/coverlet/issues/775](https://togithub.com/coverlet-coverage/coverlet/issues/775)5\
\-Align published nuget package version to github release
version[https://github.com/coverlet-coverage/coverlet/issues/1413](https://togithub.com/coverlet-coverage/coverlet/issues/1413)3\
\-Sync nuget and github release
versions[https://github.com/coverlet-coverage/coverlet/issues/1122](https://togithub.com/coverlet-coverage/coverlet/issues/1122)2

Improvements
\-Migration of the project to .NET
6.0[https://github.com/coverlet-coverage/coverlet/pull/1473](https://togithub.com/coverlet-coverage/coverlet/pull/1473)3

Breaking changes
New parameter ExcludeAssembliesWithoutSources to control automatic
assembly exclusion
[https://github.com/coverlet-coverage/coverlet/issues/1164](https://togithub.com/coverlet-coverage/coverlet/issues/1164).
The parameter InstrumentModulesWithoutLocalSources has been removed.
since it can be handled by setting ExcludeAssembliesWithoutSources to
None.
The default heuristics for determining whether to instrument an assembly
has been changed. In previous versions any missing source file was taken
as a signal that it was a third-party project that shouldn't be
instrumented, with exceptions for some common file name patterns for
source generators. Now only assemblies where no source files at all can
be found are excluded from instrumentation, and the code for detecting
source generator files have been removed. To get back to the behaviour
that at least one missing file is sufficient to exclude an assembly, set
ExcludeAssembliesWithoutSources to MissingAny, or use assembly exclusion
filters for more fine-grained control.

[Diff between 3.2.0 and
6.0.0](https://togithub.com/coverlet-coverage/coverlet/compare/v5.7.2...v6.0.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 2am" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/ThorstenSauter/NoPlan).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzUuOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
vbreuss referenced this issue in Testably/Testably.Architecture.Rules May 22, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [coverlet.collector](https://togithub.com/coverlet-coverage/coverlet)
| nuget | major | `3.2.0` -> `6.0.0` |

---

### Release Notes

<details>
<summary>coverlet-coverage/coverlet</summary>

###
[`v6.0.0`](https://togithub.com/coverlet-coverage/coverlet/releases/tag/v6.0.0)

Fixed
\-Could not write lines to file CoverletSourceRootsMapping - in use by
another
process[https://github.com/coverlet-coverage/coverlet/issues/1155](https://togithub.com/coverlet-coverage/coverlet/issues/1155)5\
\-Incorrect coverage for methods returning IAsyncEnumerable in generic
classes[https://github.com/coverlet-coverage/coverlet/issues/1383](https://togithub.com/coverlet-coverage/coverlet/issues/1383)3\
\-Wrong branch coverage for async methods .NET Standard
1.x[https://github.com/coverlet-coverage/coverlet/issues/1376](https://togithub.com/coverlet-coverage/coverlet/issues/1376)6\
\-Empty path exception in visual basic
projects[https://github.com/coverlet-coverage/coverlet/issues/775](https://togithub.com/coverlet-coverage/coverlet/issues/775)5\
\-Align published nuget package version to github release
version[https://github.com/coverlet-coverage/coverlet/issues/1413](https://togithub.com/coverlet-coverage/coverlet/issues/1413)3\
\-Sync nuget and github release
versions[https://github.com/coverlet-coverage/coverlet/issues/1122](https://togithub.com/coverlet-coverage/coverlet/issues/1122)2

Improvements
\-Migration of the project to .NET
6.0[https://github.com/coverlet-coverage/coverlet/pull/1473](https://togithub.com/coverlet-coverage/coverlet/pull/1473)3

Breaking changes
New parameter ExcludeAssembliesWithoutSources to control automatic
assembly exclusion
[https://github.com/coverlet-coverage/coverlet/issues/1164](https://togithub.com/coverlet-coverage/coverlet/issues/1164).
The parameter InstrumentModulesWithoutLocalSources has been removed.
since it can be handled by setting ExcludeAssembliesWithoutSources to
None.
The default heuristics for determining whether to instrument an assembly
has been changed. In previous versions any missing source file was taken
as a signal that it was a third-party project that shouldn't be
instrumented, with exceptions for some common file name patterns for
source generators. Now only assemblies where no source files at all can
be found are excluded from instrumentation, and the code for detecting
source generator files have been removed. To get back to the behaviour
that at least one missing file is sufficient to exclude an assembly, set
ExcludeAssembliesWithoutSources to MissingAny, or use assembly exclusion
filters for more fine-grained control.

[Diff between 3.2.0 and
6.0.0](https://togithub.com/coverlet-coverage/coverlet/compare/v5.7.2...v6.0.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Testably/Testably.Architecture.Rules).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS45OC4wIiwidXBkYXRlZEluVmVyIjoiMzUuOTguMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Valentin Breuß <[email protected]>
bruxisma referenced this issue in bruxisma/atmosphere May 22, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [coverlet.collector](https://togithub.com/coverlet-coverage/coverlet)
| nuget | major | `3.2.0` -> `6.0.0` |
| [coverlet.msbuild](https://togithub.com/coverlet-coverage/coverlet) |
nuget | major | `3.2.0` -> `6.0.0` |

---

### Release Notes

<details>
<summary>coverlet-coverage/coverlet</summary>

###
[`v6.0.0`](https://togithub.com/coverlet-coverage/coverlet/releases/tag/v6.0.0)

Fixed
\-Could not write lines to file CoverletSourceRootsMapping - in use by
another
process[https://github.com/coverlet-coverage/coverlet/issues/1155](https://togithub.com/coverlet-coverage/coverlet/issues/1155)5\
\-Incorrect coverage for methods returning IAsyncEnumerable in generic
classes[https://github.com/coverlet-coverage/coverlet/issues/1383](https://togithub.com/coverlet-coverage/coverlet/issues/1383)3\
\-Wrong branch coverage for async methods .NET Standard
1.x[https://github.com/coverlet-coverage/coverlet/issues/1376](https://togithub.com/coverlet-coverage/coverlet/issues/1376)6\
\-Empty path exception in visual basic
projects[https://github.com/coverlet-coverage/coverlet/issues/775](https://togithub.com/coverlet-coverage/coverlet/issues/775)5\
\-Align published nuget package version to github release
version[https://github.com/coverlet-coverage/coverlet/issues/1413](https://togithub.com/coverlet-coverage/coverlet/issues/1413)3\
\-Sync nuget and github release
versions[https://github.com/coverlet-coverage/coverlet/issues/1122](https://togithub.com/coverlet-coverage/coverlet/issues/1122)2

Improvements
\-Migration of the project to .NET
6.0[https://github.com/coverlet-coverage/coverlet/pull/1473](https://togithub.com/coverlet-coverage/coverlet/pull/1473)3

Breaking changes
New parameter ExcludeAssembliesWithoutSources to control automatic
assembly exclusion
[https://github.com/coverlet-coverage/coverlet/issues/1164](https://togithub.com/coverlet-coverage/coverlet/issues/1164).
The parameter InstrumentModulesWithoutLocalSources has been removed.
since it can be handled by setting ExcludeAssembliesWithoutSources to
None.
The default heuristics for determining whether to instrument an assembly
has been changed. In previous versions any missing source file was taken
as a signal that it was a third-party project that shouldn't be
instrumented, with exceptions for some common file name patterns for
source generators. Now only assemblies where no source files at all can
be found are excluded from instrumentation, and the code for detecting
source generator files have been removed. To get back to the behaviour
that at least one missing file is sufficient to exclude an assembly, set
ExcludeAssembliesWithoutSources to MissingAny, or use assembly exclusion
filters for more fine-grained control.

[Diff between 3.2.0 and
6.0.0](https://togithub.com/coverlet-coverage/coverlet/compare/v5.7.2...v6.0.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/bruxisma/atmosphere).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzUuOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Signed-off-by: Renovate Bot <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
dariuszkuc referenced this issue in apollographql/federation-hotchocolate Oct 19, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [coverlet.msbuild](https://togithub.com/coverlet-coverage/coverlet) |
`3.2.0` -> `6.0.0` |
[![age](https://developer.mend.io/api/mc/badges/age/nuget/coverlet.msbuild/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/coverlet.msbuild/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/coverlet.msbuild/3.2.0/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/coverlet.msbuild/3.2.0/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>coverlet-coverage/coverlet (coverlet.msbuild)</summary>

###
[`v6.0.0`](https://togithub.com/coverlet-coverage/coverlet/releases/tag/v6.0.0)

Fixed
\-Could not write lines to file CoverletSourceRootsMapping - in use by
another
process[https://github.com/coverlet-coverage/coverlet/issues/1155](https://togithub.com/coverlet-coverage/coverlet/issues/1155)5\
\-Incorrect coverage for methods returning IAsyncEnumerable in generic
classes[https://github.com/coverlet-coverage/coverlet/issues/1383](https://togithub.com/coverlet-coverage/coverlet/issues/1383)3\
\-Wrong branch coverage for async methods .NET Standard
1.x[https://github.com/coverlet-coverage/coverlet/issues/1376](https://togithub.com/coverlet-coverage/coverlet/issues/1376)6\
\-Empty path exception in visual basic
projects[https://github.com/coverlet-coverage/coverlet/issues/775](https://togithub.com/coverlet-coverage/coverlet/issues/775)5\
\-Align published nuget package version to github release
version[https://github.com/coverlet-coverage/coverlet/issues/1413](https://togithub.com/coverlet-coverage/coverlet/issues/1413)3\
\-Sync nuget and github release
versions[https://github.com/coverlet-coverage/coverlet/issues/1122](https://togithub.com/coverlet-coverage/coverlet/issues/1122)2

Improvements
\-Migration of the project to .NET
6.0[https://github.com/coverlet-coverage/coverlet/pull/1473](https://togithub.com/coverlet-coverage/coverlet/pull/1473)3

Breaking changes
New parameter ExcludeAssembliesWithoutSources to control automatic
assembly exclusion
[https://github.com/coverlet-coverage/coverlet/issues/1164](https://togithub.com/coverlet-coverage/coverlet/issues/1164).
The parameter InstrumentModulesWithoutLocalSources has been removed.
since it can be handled by setting ExcludeAssembliesWithoutSources to
None.
The default heuristics for determining whether to instrument an assembly
has been changed. In previous versions any missing source file was taken
as a signal that it was a third-party project that shouldn't be
instrumented, with exceptions for some common file name patterns for
source generators. Now only assemblies where no source files at all can
be found are excluded from instrumentation, and the code for detecting
source generator files have been removed. To get back to the behaviour
that at least one missing file is sufficient to exclude an assembly, set
ExcludeAssembliesWithoutSources to MissingAny, or use assembly exclusion
filters for more fine-grained control.

[Diff between 3.2.0 and
6.0.0](https://togithub.com/coverlet-coverage/coverlet/compare/v5.7.2...v6.0.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/apollographql/federation-hotchocolate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xOS4yIiwidXBkYXRlZEluVmVyIjoiMzcuMTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tenet-coverage Issue related to possible incorrect coverage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants