Skip to content

Upgrade NuGet packages - #1485

Merged
helto4real merged 1 commit into
mainfrom
codex/upgrade-nuget-packages-2026-09-29
Sep 30, 2026
Merged

helto4real merged 1 commit into
mainfrom
codex/upgrade-nuget-packages-2026-09-29

Conversation

@helto4real

Copy link
Copy Markdown
Collaborator

Updates all outdated NuGet dependencies in the solution: 30 package references across six test projects. All updates are minor or patch releases.

Package Previous Updated
coverlet.collector 10.0.1 10.1.0
coverlet.msbuild 10.0.1 10.1.0
FluentAssertions 8.10.0 8.11.0
Microsoft.NET.Test.Sdk 18.10.0 18.10.1
Moq 4.20.72 4.21.0
Microsoft.Extensions.TimeProvider.Testing 10.9.0 10.10.0

Moq's updated nullable annotations exposed six compiler warnings in existing tests. Adapt logging matchers to handle nullable state and assert the captured event's type explicitly, preserving the existing checks and CI's warnings-as-errors requirement.

Validation:

  • dotnet outdated dry-run completed successfully; dotnet outdated -u applied all reported upgrades.
  • dotnet build NetDaemon.sln --configuration Release --no-incremental -p:TreatWarningsAsErrors=true --verbosity quiet passed with zero warnings and zero errors. The initial six nullable warnings were resolved by the focused test changes.
  • dotnet test NetDaemon.sln --configuration Release --logger "trx;LogFileName=netdaemon-tests.trx" --verbosity quiet passed: 492 unit tests and all five Docker-backed integration tests, with no failures or skipped tests.
  • Post-upgrade dotnet outdated: No outdated dependencies were detected.
  • git diff --check passed. Generated test results are excluded from the commit.

@codecov

codecov Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83%. Comparing base (8f784e4) to head (04f90a5).

Additional details and impacted files
@@         Coverage Diff          @@
##           main   #1485   +/-   ##
====================================
  Coverage    83%     83%           
====================================
  Files       201     201           
  Lines      4173    4173           
  Branches    487     477   -10     
====================================
+ Hits       3474    3478    +4     
  Misses      497     497           
+ Partials    202     198    -4     
Flag Coverage Δ
unittests 83% <ø> (+<1%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@helto4real
helto4real force-pushed the codex/upgrade-nuget-packages-2026-09-29 branch from f710953 to 04f90a5 Compare September 29, 2026 19:27
@helto4real
helto4real merged commit 250a6f8 into main Sep 30, 2026
7 checks passed
@helto4real
helto4real deleted the codex/upgrade-nuget-packages-2026-09-29 branch September 30, 2026 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant