Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5578 +/- ##
==========================================
+ Coverage 74.75% 77.22% +2.47%
==========================================
Files 515 467 -48
Lines 18963 17229 -1734
Branches 3694 3385 -309
==========================================
- Hits 14175 13305 -870
+ Misses 3909 3157 -752
+ Partials 879 767 -112 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
jamescrosswell
left a comment
Collaborator
There was a problem hiding this comment.
Thanks @z0rimo - overall, looks good. I made a few comments/suggestions.
z0rimo
force-pushed
the
test/aspnetcore-blocking-detection-5394
branch
from
September 17, 2026 03:32
4a62a14 to
2693b92
Compare
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.
Summary
Adds ASP.NET Core integration coverage for
CaptureBlockingCalls.The tests verify that:
SentryMiddlewareinstances while reusing the sameIBlockingMonitorandTaskBlockingListenerBlockingCallDetectormechanismCaptureBlockingCallsavoids creating the blocking detector services and does not capture a blocking-call eventThis uses the existing
TestServerintegration test infrastructure and does not change production code.Fixes #5394
Testing
The three new tests were also run 10 consecutive times with no failures.