Skip to content

Bump coverlet.collector from 6.0.2 to 10.0.1 - #23

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/nuget/tests/ControlMenu.Tests/multi-f6c42fbeeb
Closed

Bump coverlet.collector from 6.0.2 to 10.0.1#23
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/nuget/tests/ControlMenu.Tests/multi-f6c42fbeeb

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 26, 2026

Copy link
Copy Markdown
Contributor

Updated coverlet.collector from 6.0.2 to 10.0.1.

Release notes

Sourced from coverlet.collector's releases.

10.0.1

Improvements

Fixed

  • Fix inconsistent paths in cobertura reports #​1723
  • Fix when using "is" with "and" in pattern matching, branch coverage is lower than normal #​1313
  • Fix Coverlet flagging a branch for an async functions finally block where none exists #​1337
  • Fix Coverlet Tracker Missing CompilerGeneratedAttribute #​1828

Maintenance

  • Add architecture docs and diagrams for all integrations #​1927
  • Update NuGet packages and .NET SDK versions #​1933

Diff between 10.0.0 and 10.0.1

10.0.0

Improvements

  • Unique Report Filenames (coverlet.MTP and AzDO) #​1866
  • Add --coverlet-file-prefix option for unique report files #​1869
  • Introduce .NET 10 support #​1823

Fixed

  • Fix [BUG] Wrong branch rate on IAsyncEnumerable for generic type #​1836
  • Fix [BUG] Missing Coverage after moving to MTP #​1843
  • Fix [BUG] No coverage reported when targeting .NET Framework with 8.0.1 #​1842
  • Fix [BUG] Behavior changes between MTP and Legacy (msbuild) #​1878
  • Fix [BUG] Coverlet.MTP - Unable to load coverlet.mtp.appsettings.json #​1880
  • Fix [BUG] Coverlet.Collector produces empty report when Mediator.SourceGenerator is referenced #​1718 by https://github.com/yusyd
  • Fix [BUG] Crash during instrumentation (Methods using LibraryImport/DllImport have no body) #​1762

Maintenance

  • Add comprehensive async method tests and documentation for issue #​1864
  • Replace Tmds.ExecFunction Package in coverlet.core.coverage.tests #​1833
  • Add net9.0 and net10.0 targets #​1822

Diff between 8.0.1 and 10.0.0

8.0.1

Fixed

  • Fix [BUG] TypeInitializationException when targeting .NET Framework #​1818
  • Fix [BUG] coverlet.MTP build fails with CS0400 due to developmentDependency=true #​1827

Improvements

  • Additional improvements needed for .NET Framework instrumentation type import #​1825

Diff between 8.0.0 and 8.0.1

8.0.0

Special Thanks: A huge thank you to @​Bertk for driving the majority of the work in this release! 🎉

Fixed

Improvements

  • Coverlet MTP extension feature #​1788
  • Generate SBOM for nuget packages #​1752
  • Use multi targets projects for coverlet.collector, coverlet.msbuild.tasks packages #​1742
  • Use .NET 8.0 target framework for coverlet.core and remove Newtonsoft.Json #​1733
  • Use latest System.CommandLine version #​1660
  • Upgraded minimum required .NET SDK and runtime to .NET 8.0 LTS (Long Term Support) (Breaking Change)
  • Use xunit.v3 for tests and example code

Diff between 6.0.4 and 8.0.0

6.0.4

Fixed

  • Fix empty coverage report when using include and exclude filters #​1726

Diff between 6.0.3 and 6.0.4

6.0.3

Fixed

Improvements

  • Cache the regex used in InstrumentationHelper #​1693
  • Enable dotnetTool integration tests for linux #​660

Diff between 6.0.2 and 6.0.3

Commits viewable in compare view.

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

---
updated-dependencies:
- dependency-name: coverlet.collector
  dependency-version: 10.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: coverlet.collector
  dependency-version: 10.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels May 26, 2026
@bilbospocketses

Copy link
Copy Markdown
Owner

Closing to let Dependabot recreate after dependabot/fetch-metadata was added to the Actions allowlist. The auto-merge workflow was hitting startup_failure without it.

@dependabot @github

dependabot Bot commented on behalf of github May 27, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@bilbospocketses
bilbospocketses deleted the dependabot/nuget/tests/ControlMenu.Tests/multi-f6c42fbeeb branch May 27, 2026 16:46
bilbospocketses added a commit that referenced this pull request Jun 18, 2026
…can guard (audit #23/#24) (#64)

* perf(cameras): O(1) subnet membership via shared SubnetMath; fix /0,/31,/32 enumerate

CameraScanService tested subnet membership (IsInAnySubnet, used to filter ONVIF
responses) by enumerating every address in the subnet and comparing — O(subnet
size) per check, O(N responses x subnet size) overall. Its EnumerateAddresses
also computed the host count with `1u << hostBits`, which wraps at hostBits 32:
a /0 yielded nothing instead of the whole space, and /31 and /32 yielded nothing
instead of their hosts.

Extract a shared SubnetMath (IPv4 arithmetic):
- Contains() is an O(1) mask/range compare (and correctly includes network +
  broadcast in membership).
- Enumerate() uses a 64-bit size to avoid the shift wrap, and yields /31 (RFC
  3021, 2 hosts) and /32 (1 host) correctly.
- IpToInt/IntToIp are shared; SubnetParser's private copies are removed.

CameraScanService uses SubnetMath.Contains for membership and SubnetMath.Enumerate
for the TCP sweep. Existing SubnetParser + CameraScanService tests stay green;
new SubnetMath tests cover the mask compare and the boundary prefixes.

Review finding #23 (2026-06-14 security/code-review audit).

* fix(cameras): atomic scan guard + ARP map as a local (concurrency)

Two concurrency defects in CameraScanService:

- RunScanAsync used a non-atomic `if (Phase == Scanning) return; Phase =
  Scanning;`. Two concurrent starts both passed the check before either set the
  flag, so several overlapping scans ran — each clearing the others' hits
  mid-flight. A gated stress test fired 32 concurrent starts and saw 14 scans
  begin. Now the check-and-set runs under a lock (mirrors NetworkScanService),
  admitting exactly one.

- The ARP table lived in a mutable `_arpByIp` instance field that the ONVIF and
  TCP branches read concurrently. It's now a local passed into both branches, so
  there's no shared-field race across scans.

Review finding #24 (2026-06-14 security/code-review audit).

* fix(cameras): close review nits — locked terminal Phase writes + Enumerate guard

From the whole-branch review:
- The winning scan's terminal Phase writes (Idle on cancel, Complete) now go
  through _scanLock, so the next StartScanAsync's guarded read has a proper
  happens-before edge with them — completing the atomic-guard story.
- SubnetMath.Enumerate now throws on prefixes shorter than /16 instead of
  attempting to materialize millions of addresses. Unreachable via SubnetParser
  (which caps at /16), but SubnetMath is public — fail loud, not hang.
bilbospocketses added a commit that referenced this pull request Jun 18, 2026
…ent-scan test) (#66)

* docs: changelog + technical-guide for PRs #64/#65 (audit #23/#24/#33/#34/#35)

The #64 (CameraScan #23/#24) and #65 (UI dedup #33/#34/#35) findings landed
without their CHANGELOG entries. Adds the [Unreleased] Changed/Fixed bullets,
and updates the TECHNICAL_GUIDE Pages section (Phone/Tablet/Watch now render a
shared DeviceDashboard) + the scanner test list (SubnetMathTests).

* test(cameras): de-flake the concurrent-scan guard test

StartScanAsync_ConcurrentStarts_StartExactlyOneScan used a fixed Task.Delay(150)
before asserting one scan had started, which flaked on loaded CI runners where
the 32 Task.Run bodies had not been scheduled yet (started == 0, seen on PR #66).
Wait until a scan actually begins (poll up to ~10s) then settle briefly before
asserting exactly one was admitted. Verified 4/4 stable locally.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant