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

Fix BackgroundWorker exiting when OperationCanceledException is not from shutdown request #3284

Merged

Conversation

phillipcaofph
Copy link
Contributor

@phillipcaofph phillipcaofph commented Apr 11, 2024

Fixes #3274

Copy link

codecov bot commented Apr 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.95%. Comparing base (495e742) to head (44f1721).
Report is 102 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3284      +/-   ##
==========================================
+ Coverage   75.73%   76.95%   +1.22%     
==========================================
  Files         357      371      +14     
  Lines       13466    13898     +432     
  Branches     2671     2754      +83     
==========================================
+ Hits        10198    10695     +497     
+ Misses       2593     2503      -90     
- Partials      675      700      +25     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bitsandfoxes
Copy link
Contributor

bitsandfoxes commented Apr 12, 2024

Hey @phillipcaofph, thanks for contributing! The change absolutely makes sense and I'd love to merge this but we first need to figure out the testing situation as it touches some very internal bits. Thanks for your patience.

@jamescrosswell jamescrosswell self-assigned this Apr 19, 2024
@jamescrosswell jamescrosswell merged commit 40f108c into getsentry:main Apr 24, 2024
20 checks passed
@phillipcaofph phillipcaofph deleted the backgroundworking-http-timeout-fix branch April 25, 2024 03:09
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.

Background worker unexpectedly shutdown when sentry server is down, does not recover
3 participants