build: update NuGet dependencies - #2276
Merged
Merged
Conversation
- 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
marked this pull request as ready for review
July 25, 2026 06:12
|
Codecov Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



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
mainbranchAdditional information
dotnet workload restore Refit.slnxsucceeds.dotnet build Refit.slnx -c Release --no-restore -m:1succeeds with 0 warnings and 0 errors.dotnet test --solution Refit.slnx -c Release --no-restore --no-buildpasses all 7,430 test executions across .NET 8, 9, 10, and 11.