sentry icon indicating copy to clipboard operation
sentry copied to clipboard

endpoint

Open shayna-ch opened this issue 1 month ago • 3 comments

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

shayna-ch avatar Nov 17 '25 22:11 shayna-ch

🚨 Warning: This pull request contains Frontend and Backend changes!

It's discouraged to make changes to Sentry's Frontend and Backend in a single pull request. The Frontend and Backend are not atomically deployed. If the changes are interdependent of each other, they must be separated into two pull requests and be made forward or backwards compatible, such that the Backend or Frontend can be safely deployed independently.

Have questions? Please ask in the #discuss-dev-infra channel.

github-actions[bot] avatar Nov 17 '25 22:11 github-actions[bot]

:x: 7 Tests Failed:

Tests completed Failed Passed Skipped
29735 7 29728 241
View the top 3 failed test(s) by shortest run time
tests.sentry.incidents.endpoints.test_organization_alert_rule_anomaly_thresholds.OrganizationAlertRuleAnomalyThresholdsEndpointTest::test_empty_data_response
Stack Traces | 1.95s run time
#x1B[1m#x1B[.../incidents/endpoints/test_organization_alert_rule_anomaly_thresholds.py#x1B[0m:190: in test_empty_data_response
    response = self.get_success_response(
#x1B[1m#x1B[.../sentry/testutils/cases.py#x1B[0m:617: in get_success_response
    assert_status_code(response, status.HTTP_200_OK)
#x1B[1m#x1B[.../sentry/testutils/asserts.py#x1B[0m:47: in assert_status_code
    assert minimum <= response.status_code < maximum, (
#x1B[1m#x1B[31mE   AssertionError: (404, b'{"detail":"The requested resource does not exist"}')#x1B[0m
#x1B[1m#x1B[31mE   assert 404 < 201#x1B[0m
#x1B[1m#x1B[31mE    +  where 404 = <Response status_code=404, "application/json">.status_code#x1B[0m
tests.sentry.incidents.endpoints.test_organization_alert_rule_anomaly_thresholds.OrganizationAlertRuleAnomalyThresholdsEndpointTest::test_feature_flag_required
Stack Traces | 2.05s run time
#x1B[1m#x1B[.../incidents/endpoints/test_organization_alert_rule_anomaly_thresholds.py#x1B[0m:116: in test_feature_flag_required
    assert response.data["detail"] == "Your organization does not have access to this feature."
#x1B[1m#x1B[31mE   AssertionError: assert ErrorDetail(s... code='error') == 'Your organiz...this feature.'#x1B[0m
#x1B[1m#x1B[31mE     #x1B[0m
#x1B[1m#x1B[31mE     - Your organization does not have access to this feature.#x1B[0m
#x1B[1m#x1B[31mE     + The requested resource does not exist#x1B[0m
tests.sentry.incidents.endpoints.test_organization_alert_rule_anomaly_thresholds.OrganizationAlertRuleAnomalyThresholdsEndpointTest::test_missing_end_param
Stack Traces | 2.26s run time
#x1B[1m#x1B[.../incidents/endpoints/test_organization_alert_rule_anomaly_thresholds.py#x1B[0m:95: in test_missing_end_param
    response = self.get_error_response(
#x1B[1m#x1B[.../sentry/testutils/cases.py#x1B[0m:649: in get_error_response
    assert_status_code(response, status_code)
#x1B[1m#x1B[.../sentry/testutils/asserts.py#x1B[0m:47: in assert_status_code
    assert minimum <= response.status_code < maximum, (
#x1B[1m#x1B[31mE   AssertionError: (404, b'{"detail":"The requested resource does not exist"}')#x1B[0m
#x1B[1m#x1B[31mE   assert 404 < 401#x1B[0m
#x1B[1m#x1B[31mE    +  where 404 = <Response status_code=404, "application/json">.status_code#x1B[0m
tests.sentry.incidents.endpoints.test_organization_alert_rule_anomaly_thresholds.OrganizationAlertRuleAnomalyThresholdsEndpointTest::test_seer_returns_error
Stack Traces | 2.27s run time
#x1B[1m#x1B[.../incidents/endpoints/test_organization_alert_rule_anomaly_thresholds.py#x1B[0m:133: in test_seer_returns_error
    response = self.get_error_response(
#x1B[1m#x1B[.../sentry/testutils/cases.py#x1B[0m:649: in get_error_response
    assert_status_code(response, status_code)
#x1B[1m#x1B[.../sentry/testutils/asserts.py#x1B[0m:47: in assert_status_code
    assert minimum <= response.status_code < maximum, (
#x1B[1m#x1B[31mE   AssertionError: (404, b'{"detail":"The requested resource does not exist"}')#x1B[0m
#x1B[1m#x1B[31mE   assert 404 < 401#x1B[0m
#x1B[1m#x1B[31mE    +  where 404 = <Response status_code=404, "application/json">.status_code#x1B[0m
tests.sentry.incidents.endpoints.test_organization_alert_rule_anomaly_thresholds.OrganizationAlertRuleAnomalyThresholdsEndpointTest::test_get_thresholds_success
Stack Traces | 2.32s run time
#x1B[1m#x1B[.../incidents/endpoints/test_organization_alert_rule_anomaly_thresholds.py#x1B[0m:58: in test_get_thresholds_success
    response = self.get_success_response(
#x1B[1m#x1B[.../sentry/testutils/cases.py#x1B[0m:617: in get_success_response
    assert_status_code(response, status.HTTP_200_OK)
#x1B[1m#x1B[.../sentry/testutils/asserts.py#x1B[0m:47: in assert_status_code
    assert minimum <= response.status_code < maximum, (
#x1B[1m#x1B[31mE   AssertionError: (404, b'{"detail":"The requested resource does not exist"}')#x1B[0m
#x1B[1m#x1B[31mE   assert 404 < 201#x1B[0m
#x1B[1m#x1B[31mE    +  where 404 = <Response status_code=404, "application/json">.status_code#x1B[0m
tests.sentry.incidents.endpoints.test_organization_alert_rule_anomaly_thresholds.OrganizationAlertRuleAnomalyThresholdsEndpointTest::test_missing_start_param
Stack Traces | 2.47s run time
#x1B[1m#x1B[.../incidents/endpoints/test_organization_alert_rule_anomaly_thresholds.py#x1B[0m:81: in test_missing_start_param
    response = self.get_error_response(
#x1B[1m#x1B[.../sentry/testutils/cases.py#x1B[0m:649: in get_error_response
    assert_status_code(response, status_code)
#x1B[1m#x1B[.../sentry/testutils/asserts.py#x1B[0m:47: in assert_status_code
    assert minimum <= response.status_code < maximum, (
#x1B[1m#x1B[31mE   AssertionError: (404, b'{"detail":"The requested resource does not exist"}')#x1B[0m
#x1B[1m#x1B[31mE   assert 404 < 401#x1B[0m
#x1B[1m#x1B[31mE    +  where 404 = <Response status_code=404, "application/json">.status_code#x1B[0m
tests.sentry.incidents.endpoints.test_organization_alert_rule_anomaly_thresholds.OrganizationAlertRuleAnomalyThresholdsEndpointTest::test_seer_timeout
Stack Traces | 2.52s run time
#x1B[1m#x1B[.../incidents/endpoints/test_organization_alert_rule_anomaly_thresholds.py#x1B[0m:154: in test_seer_timeout
    response = self.get_error_response(
#x1B[1m#x1B[.../sentry/testutils/cases.py#x1B[0m:649: in get_error_response
    assert_status_code(response, status_code)
#x1B[1m#x1B[.../sentry/testutils/asserts.py#x1B[0m:47: in assert_status_code
    assert minimum <= response.status_code < maximum, (
#x1B[1m#x1B[31mE   AssertionError: (404, b'{"detail":"The requested resource does not exist"}')#x1B[0m
#x1B[1m#x1B[31mE   assert 404 < 401#x1B[0m
#x1B[1m#x1B[31mE    +  where 404 = <Response status_code=404, "application/json">.status_code#x1B[0m

To view more test analytics, go to the Test Analytics Dashboard 📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

codecov[bot] avatar Nov 17 '25 22:11 codecov[bot]

This issue 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 remove the label Waiting for: Community, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

getsantry[bot] avatar Dec 09 '25 08:12 getsantry[bot]