-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
ref(alerts): Define anomaly detection connection pool once #78655
Conversation
❌ 4 Tests Failed:
View the top 3 failed tests by shortest run time
To view individual test run time comparison to the main branch, go to the Test Analytics Dashboard |
8c8fa19
to
0faa07e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some tests will fail until I can rebase on top of #78652
since that's merged, is this good to be rebased to re-run ci? i noticed a couple other failures in there that might be unrelated.
@@ -26,6 +21,8 @@ def delete_rule_in_seer(alert_rule: "AlertRule") -> bool: | |||
""" | |||
Send a request to delete an alert rule from Seer. Returns True if the request was successful. | |||
""" | |||
from sentry.seer.anomaly_detection.utils import SEER_ANOMALY_DETECTION_CONNECTION_POOL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be a regular import instead of type checking only? (It looks like it's being used as a default value on line 36).
This pull request has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you add the label "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
We had
seer_anomaly_detection_connection_pool
defined in a few places, this just moves it to be defined once inutils.py
and imports it as needed.Some tests will fail until I can rebase on top of #78652