Conversation
Extend coverage for unit tests and mutations with low-hanging fruit parameter validation and redundant code.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2505 +/- ##
==========================================
+ Coverage 85.36% 86.42% +1.05%
==========================================
Files 312 312
Lines 7468 7468
Branches 1121 1091 -30
==========================================
+ Hits 6375 6454 +79
+ Misses 908 852 -56
+ Partials 185 162 -23
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
- Increase the minimum code coverage thresholds. - Increase the minimum mutation score.
There was a problem hiding this comment.
Copilot reviewed 30 out of 41 changed files in this pull request and generated 2 comments.
Files not reviewed (11)
- src/Polly/Polly.csproj: Language not supported
- src/Polly/RateLimit/LockFreeTokenBucketRateLimiter.cs: Evaluated as low risk
- src/Polly/Retry/AsyncRetryPolicy.cs: Evaluated as low risk
- src/Polly/Timeout/AsyncTimeoutPolicy.cs: Evaluated as low risk
- src/Polly/Retry/RetryPolicy.cs: Evaluated as low risk
- src/Polly/Bulkhead/BulkheadPolicy.cs: Evaluated as low risk
- src/Polly/Timeout/TimeoutPolicy.cs: Evaluated as low risk
- src/Polly/Bulkhead/AsyncBulkheadPolicy.cs: Evaluated as low risk
- src/Polly/Fallback/AsyncFallbackPolicy.cs: Evaluated as low risk
- src/Polly/Fallback/FallbackPolicy.cs: Evaluated as low risk
- src/Polly/RateLimit/RateLimitPolicy.cs: Evaluated as low risk
Comments suppressed due to low confidence (1)
src/Polly/RateLimit/AsyncRateLimitPolicy.cs:50
- The null check for 'rateLimiter' was removed. This can lead to a potential null reference exception if 'rateLimiter' is null.
_rateLimiter = rateLimiter;
This was referenced Nov 24, 2025
Open
This was referenced Dec 8, 2025
This was referenced Dec 15, 2025
Closed
This was referenced Dec 22, 2025
This was referenced Jan 1, 2026
Closed
This was referenced Jan 8, 2026
Closed
Merged
This was referenced Jan 16, 2026
Closed
Closed
This was referenced Jan 29, 2026
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.
Extend coverage for unit tests and mutations with low-hanging-fruit parameter validation and removing redundant code.