Skip to content

ref: fix types for sentry.net.socket #93477

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

Merged
merged 1 commit into from
Jun 13, 2025

Conversation

asottile-sentry
Copy link
Member

I suspect our socket default code wasn't even working because it did not match urllib3's

I suspect our socket default code wasn't even working because it did not match urllib3's
@asottile-sentry asottile-sentry requested review from a team June 12, 2025 20:55
@asottile-sentry asottile-sentry requested review from a team as code owners June 12, 2025 20:55
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 12, 2025
Copy link

codecov bot commented Jun 12, 2025

Codecov Report

Attention: Patch coverage is 83.33333% with 1 line in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/sentry/net/http.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master   #93477       +/-   ##
===========================================
+ Coverage   46.23%   88.03%   +41.79%     
===========================================
  Files       10271    10294       +23     
  Lines      592532   593776     +1244     
  Branches    23034    23034               
===========================================
+ Hits       273933   522705   +248772     
+ Misses     318167    70639   -247528     
  Partials      432      432               

@asottile-sentry asottile-sentry merged commit b3a4bda into master Jun 13, 2025
62 checks passed
@asottile-sentry asottile-sentry deleted the asottile-typing-net-socket branch June 13, 2025 13:52
billyvg pushed a commit that referenced this pull request Jun 18, 2025
I suspect our socket default code wasn't even working because it did not
match urllib3's

<!-- Describe your PR here. -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants