Skip to content

build: update NuGet dependencies - #2276

Merged
glennawatson merged 2 commits into
mainfrom
glennawatson/update-packages
Jul 25, 2026
Merged

build: update NuGet dependencies#2276
glennawatson merged 2 commits into
mainfrom
glennawatson/update-packages

Conversation

@glennawatson

@glennawatson glennawatson commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?

Build maintenance, analyzer compatibility fixes, and test coverage improvements.

What is the new behavior?

NuGet dependencies use their latest compatible releases, including TUnit 1.61.38, ASP.NET Core 8.0.29, and SonarAnalyzer.CSharp 10.30.0.144632. Code and tests comply with the updated compiler and analyzer behavior across every supported target framework.

Tests call generated and reflection implementations directly, including indexed null queries, parser helpers, HTTP client authentication, and synchronous and asynchronous route predicates. The measured product assemblies now have 100% line and branch coverage.

What is the current behavior?

The target branch uses older package releases. Updating them exposes compiler and analyzer diagnostics, while several generated, reflection, and HTTP testing paths lack direct coverage.

What might this PR break?

None. Public API compatibility is unchanged.

Checklist

  • I have read the Contribute guide
  • Tests have been added or updated (for bug fixes / features)
  • Docs have been added or updated (for bug fixes / features)
  • Changes target the main branch
  • PR title follows Conventional Commits

Additional information

  • dotnet workload restore Refit.slnx succeeds.
  • dotnet build Refit.slnx -c Release --no-restore -m:1 succeeds with 0 warnings and 0 errors.
  • dotnet test --solution Refit.slnx -c Release --no-restore --no-build passes all 7,430 test executions across .NET 8, 9, 10, and 11.
  • Cobertura reports 16,200/16,200 lines and 8,771/8,771 branches covered across nine product assemblies.

- Upgrade TUnit, ASP.NET Core 8, and SonarAnalyzer to current compatible releases.
- Resolve new diagnostics and add direct tests for complete line and branch coverage.
@glennawatson
glennawatson marked this pull request as ready for review July 25, 2026 06:12
@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Jul 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (d688b1f) to head (1f96a1f).

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #2276      +/-   ##
===========================================
+ Coverage   99.91%   100.00%   +0.08%     
===========================================
  Files         191       191              
  Lines        9890      9888       -2     
  Branches     1905      1905              
===========================================
+ Hits         9882      9888       +6     
+ Misses          3         0       -3     
+ Partials        5         0       -5     

☔ 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.

@glennawatson
glennawatson merged commit 5cd9a96 into main Jul 25, 2026
17 checks passed
@glennawatson
glennawatson deleted the glennawatson/update-packages branch July 25, 2026 06:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant