Skip to content

Conversation

evanpurkhiser
Copy link
Member

Instead of attempting to reconstruct the hostname from the url_domain and url_domain_suffix use urlprase to extract the hostname.

The url_domain{,_suffix} are used for different de-duping reasons.

@evanpurkhiser evanpurkhiser requested a review from a team as a code owner September 19, 2024 15:45
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Sep 19, 2024
@evanpurkhiser evanpurkhiser force-pushed the evanpurkhiser/fix-rdap-use-hostname-from-url branch from 963776d to 8807b4d Compare September 19, 2024 16:45
Copy link

codecov bot commented Sep 19, 2024

Codecov Report

Attention: Patch coverage is 62.50000% with 3 lines in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/sentry/uptime/rdap/tasks.py 62.50% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master   #77788       +/-   ##
===========================================
+ Coverage   51.05%   78.09%   +27.03%     
===========================================
  Files        6957     6988       +31     
  Lines      308456   309851     +1395     
  Branches    50493    50699      +206     
===========================================
+ Hits       157490   241966    +84476     
+ Misses     149706    61412    -88294     
- Partials     1260     6473     +5213     

Instead of attempting to reconstruct the hostname from the url_domain
and url_domain_suffix use urlprase to extract the hostname.

The url_domain{,_suffix} are used for different de-duping reasons.
@evanpurkhiser evanpurkhiser merged commit bc67413 into master Sep 19, 2024
49 of 50 checks passed
@evanpurkhiser evanpurkhiser deleted the evanpurkhiser/fix-rdap-use-hostname-from-url branch September 19, 2024 17:59
harshithadurai pushed a commit that referenced this pull request Sep 19, 2024
Instead of attempting to reconstruct the hostname from the url_domain
and url_domain_suffix use urlprase to extract the hostname.

The url_domain{,_suffix} are used for different de-duping reasons.
roaga pushed a commit that referenced this pull request Sep 20, 2024
Instead of attempting to reconstruct the hostname from the url_domain
and url_domain_suffix use urlprase to extract the hostname.

The url_domain{,_suffix} are used for different de-duping reasons.
Copy link

sentry-io bot commented Sep 20, 2024

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ gaierror: [Errno -2] Name or service not known sentry.uptime.rdap.tasks.fetch_subscription_rda... View Issue
  • ‼️ KeyError: 'handle' sentry.uptime.rdap.tasks.fetch_subscription_rda... View Issue
  • ‼️ KeyError: 'entities' sentry.uptime.rdap.tasks.fetch_subscription_rda... View Issue
  • ‼️ SSLError: HTTPSConnectionPool(host='rdap.registro.br', port=443): Max retries exceeded with url: /ip/191.23... sentry.uptime.rdap.tasks.fetch_subscription_rda... View Issue

Did you find this useful? React with a 👍 or 👎

@github-actions github-actions bot locked and limited conversation to collaborators Oct 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants