From 4acd973a19e715a43234fdb3ad94464968b23b6a Mon Sep 17 00:00:00 2001 From: Shayna Chambless Date: Thu, 31 Jul 2025 08:49:36 -0700 Subject: [PATCH 1/2] fix(groupingInfo): remove unused grouping-configs endpoint from backend --- src/sentry/api/urls.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/sentry/api/urls.py b/src/sentry/api/urls.py index a3325531abcdc8..f481539919f7e9 100644 --- a/src/sentry/api/urls.py +++ b/src/sentry/api/urls.py @@ -2395,12 +2395,6 @@ def create_group_urls(name_prefix: str) -> list[URLPattern | URLResolver]: BuiltinSymbolSourcesEndpoint.as_view(), name="sentry-api-0-organization-builtin-symbol-sources", ), - # Grouping configs - re_path( - r"^(?P[^/]+)/grouping-configs/$", - GroupingConfigsEndpoint.as_view(), - name="sentry-api-0-organization-grouping-configs", - ), # Unsubscribe from organization notifications re_path( r"^(?P[^/]+)/unsubscribe/project/(?P\d+)/$", From ac7fe231201c9a1cc82bf9474bc29ee4344bffac Mon Sep 17 00:00:00 2001 From: Shayna Chambless Date: Thu, 31 Jul 2025 14:53:14 -0700 Subject: [PATCH 2/2] fix GroupingConfigsWithSlugTest test --- tests/sentry/api/endpoints/test_grouping_configs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/sentry/api/endpoints/test_grouping_configs.py b/tests/sentry/api/endpoints/test_grouping_configs.py index fa11aa5b63a83e..1f9d27f87cfa86 100644 --- a/tests/sentry/api/endpoints/test_grouping_configs.py +++ b/tests/sentry/api/endpoints/test_grouping_configs.py @@ -22,7 +22,7 @@ def test_no_slug(self) -> None: class GroupingConfigsWithSlugTest(APITestCase): - endpoint = "sentry-api-0-organization-grouping-configs" + endpoint = "sentry-api-0-grouping-configs" def setUp(self) -> None: super().setUp() @@ -30,7 +30,7 @@ def setUp(self) -> None: self.login_as(user=self.user) def test_with_slug(self) -> None: - resp = self.get_response(self.organization.slug) + resp = self.get_response() assert resp.status_code == 200 body = resp.data