Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data from Scope in options should be applied on each request #1270

Merged
merged 20 commits into from
Nov 1, 2021

Conversation

lucas-zimerman
Copy link
Collaborator

The PR applies the configure scopes stored on Sentry options into the hub once and reapplies it if the hud changed.

Close #968

@lucas-zimerman lucas-zimerman added Bug Something isn't working ASP.NET Core labels Oct 15, 2021
@codecov-commenter
Copy link

codecov-commenter commented Oct 15, 2021

Codecov Report

Merging #1270 (c8902e8) into main (a65e1ac) will increase coverage by 0.71%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1270      +/-   ##
==========================================
+ Coverage   81.83%   82.55%   +0.71%     
==========================================
  Files         212      213       +1     
  Lines        7075     7089      +14     
  Branches     1396     1399       +3     
==========================================
+ Hits         5790     5852      +62     
+ Misses        845      801      -44     
+ Partials      440      436       -4     
Impacted Files Coverage Δ
.../Sentry.AspNetCore/AspNetCoreExceptionProcessor.cs 100.00% <100.00%> (ø)
...DependencyInjection/ServiceCollectionExtensions.cs 100.00% <100.00%> (ø)
src/Sentry.AspNetCore/SentryMiddleware.cs 98.75% <100.00%> (+0.06%) ⬆️
src/Sentry/Internal/StackFrameData.cs 77.14% <100.00%> (ø)
src/Sentry/Internal/Extensions/JsonExtensions.cs 77.77% <0.00%> (+1.30%) ⬆️
src/Sentry.Serilog/SentrySink.cs 100.00% <0.00%> (+17.07%) ⬆️
src/Sentry.Serilog/SentrySinkExtensions.cs 91.46% <0.00%> (+39.02%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9a339af...c8902e8. Read the comment docs.

@lucas-zimerman lucas-zimerman marked this pull request as ready for review October 18, 2021 14:16
@SimonCropp
Copy link
Contributor

minor changes re exception handling in tests. but the rest LGTM (considering my limited knowledge of the codebase)

1 similar comment
@SimonCropp
Copy link
Contributor

minor changes re exception handling in tests. but the rest LGTM (considering my limited knowledge of the codebase)

@lucas-zimerman
Copy link
Collaborator Author

Since there are no more open comments about this PR I believe it's safe to say that it's read to Merge @bruno-garcia

@bruno-garcia bruno-garcia merged commit f8f1f8a into main Nov 1, 2021
@bruno-garcia bruno-garcia deleted the fix/issue-968 branch November 1, 2021 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ASP.NET Core Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

aspnetcore: Data from Scope in options should be applied on each request
5 participants