Skip to content

chore: Bump coverlet.collector and coverlet.msbuild from 6.0.4 to 8.0.1#155

Merged
tylerkron merged 5 commits intomainfrom
dependabot/nuget/src/Daqifi.Core.Tests/coverlet.collector-8.0.1
Apr 4, 2026
Merged

chore: Bump coverlet.collector and coverlet.msbuild from 6.0.4 to 8.0.1#155
tylerkron merged 5 commits intomainfrom
dependabot/nuget/src/Daqifi.Core.Tests/coverlet.collector-8.0.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 23, 2026

Summary

  • Bump coverlet.collector from 6.0.4 to 8.0.1
  • Bump coverlet.msbuild from 6.0.4 to 8.0.1
  • Fix flaky progress-reporting tests that failed on .NET 9.0 due to Progress<T> posting callbacks asynchronously to the thread pool

Supersedes #156.

Test fix details

Replaced Progress<T> with a synchronous IProgress<T> implementation in tests so progress callbacks execute inline, eliminating race conditions between callback delivery and assertions. Also fixed a bug in the JSON parser test that asserted MessagesRead == 250 inside every callback (including intermediate ones at 100, 200).

🤖 Generated with Claude Code

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Updating Dependencies dotnet Relating to .NET code labels Mar 23, 2026
@dependabot dependabot bot requested a review from a team as a code owner March 23, 2026 14:38
@dependabot dependabot bot added dependencies Updating Dependencies dotnet Relating to .NET code labels Mar 23, 2026
tylerkron and others added 4 commits April 3, 2026 21:45
Progress<T> posts callbacks via the thread pool, causing race conditions
where assertions run before callbacks complete. This manifests as flaky
failures on .NET 9.0 (e.g. Expected: 250, Actual: 200).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Move the assertion from inside the callback (where it incorrectly
ran on every intermediate report) to after enumeration completes,
validating only the final progress value.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Consolidate both coverlet package updates into a single PR.
Supersedes #156.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@tylerkron tylerkron changed the title chore: Bump coverlet.collector from 6.0.4 to 8.0.1 chore: Bump coverlet.collector and coverlet.msbuild from 6.0.4 to 8.0.1 Apr 4, 2026
@tylerkron tylerkron merged commit 096a440 into main Apr 4, 2026
1 check passed
@tylerkron tylerkron deleted the dependabot/nuget/src/Daqifi.Core.Tests/coverlet.collector-8.0.1 branch April 4, 2026 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Updating Dependencies dotnet Relating to .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant