fix(actionable-items): Remove source map debug from actionable items
diff --git a/src/sentry/api/endpoints/actionable_items.py b/src/sentry/api/endpoints/actionable_items.py
index 010cd4c1e439f..845352040ae7f 100644
--- a/src/sentry/api/endpoints/actionable_items.py
+++ b/src/sentry/api/endpoints/actionable_items.py
@@ -14,12 +14,9 @@
     ActionPriority,
     deprecated_event_errors,
     errors_to_hide,
-    find_debug_frames,
     priority_ranking,
-    sourcemap_sdks,
 )
-from sentry.api.helpers.source_map_helper import source_map_debug
-from sentry.models import EventError, Organization, Project, SourceMapProcessingIssue
+from sentry.models import EventError, Organization, Project
 
 
 class ActionableItemResponse(TypedDict):
@@ -59,21 +56,6 @@ def get(self, request: Request, project: Project, event_id: str) -> Response:
             raise NotFound(detail="Event not found")
 
         actions = []
-        debug_frames = []
-
-        sdk_info = event.data.get("sdk")
-        # Find debug frames if event has frontend js sdk
-        if sdk_info and sdk_info["name"] in sourcemap_sdks:
-            debug_frames = find_debug_frames(event)
-
-        for frame_idx, exception_idx in debug_frames:
-            debug_response = source_map_debug(project, event.event_id, exception_idx, frame_idx)
-            issue, data = debug_response.issue, debug_response.data
-
-            if issue:
-                response = SourceMapProcessingIssue(issue, data=data).get_api_context()
-                actions.append(response)
-
         event_errors = event.data.get("errors", [])
 
         # Add event errors to actionable items
diff --git a/tests/sentry/api/endpoints/test_actionable_items.py b/tests/sentry/api/endpoints/test_actionable_items.py
index fd09c484ec6ab..0286c7edf8450 100644
--- a/tests/sentry/api/endpoints/test_actionable_items.py
+++ b/tests/sentry/api/endpoints/test_actionable_items.py
@@ -1,15 +1,6 @@
-from django.core.files.base import ContentFile
 from rest_framework import status
 
-from sentry.api.helpers.actionable_items_helper import get_file_extension, is_frame_filename_valid
-from sentry.models import (
-    Distribution,
-    EventError,
-    File,
-    Release,
-    ReleaseFile,
-    SourceMapProcessingIssue,
-)
+from sentry.models import EventError
 from sentry.testutils.cases import APITestCase
 from sentry.testutils.helpers import with_feature
 from sentry.testutils.silo import region_silo_test
@@ -25,84 +16,10 @@ class ActionableItemsEndpointTestCase(APITestCase):
     # and how event errors are handled.
     endpoint = "sentry-api-0-event-actionable-items"
 
-    base_data = {
-        "event_id": "a" * 32,
-        "sdk": {
-            "name": "sentry.javascript.browser",
-            "version": "7.3.0",
-        },
-        "exception": {
-            "values": [
-                {
-                    "type": "Error",
-                    "stacktrace": {
-                        "frames": [
-                            {
-                                "abs_path": "https://app.example.com/static/js/main.fa8fe19f.js",
-                                "filename": "/static/js/main.fa8fe19f.js",
-                                "lineno": 1,
-                                "colno": 39,
-                                "context_line": "function foo() {",
-                                "in_app": True,
-                            }
-                        ]
-                    },
-                },
-            ]
-        },
-    }
-
-    class TestFrame:
-        def __init__(self, abs_path, filename=None, in_app=None, function=None):
-            self.abs_path = abs_path
-            self.filename = filename
-            self.in_app = in_app
-            self.function = function
-
     def setUp(self) -> None:
         self.login_as(self.user)
         return super().setUp()
 
-    def test_get_file_extension(self):
-        cases = [("foo.js", "js"), ("foo.spec.js", "js"), ("foo", None)]
-        for filename, expected in cases:
-            assert get_file_extension(filename) == expected
-
-    def test_is_frame_filename_valid(self):
-        cases = [
-            (
-                self.TestFrame(
-                    abs_path="https://app.example.com/static/js/main.fa8fe19f.js",
-                    filename="<anonymous>",
-                    in_app=True,
-                ),
-                False,
-            ),
-            (
-                self.TestFrame(
-                    abs_path="https://app.example.com/static/js/main.fa8fe19f.js",
-                    function="@webkit-masked-url",
-                    in_app=True,
-                ),
-                False,
-            ),
-            (
-                self.TestFrame(
-                    abs_path="https://app.example.com/static/js/main",
-                ),
-                False,
-            ),
-            (
-                self.TestFrame(
-                    abs_path="https://app.example.com/static/js/main.fa8fe19f.js",
-                ),
-                True,
-            ),
-        ]
-
-        for frame, expected in cases:
-            assert is_frame_filename_valid(frame) == expected
-
     def test_no_feature_flag(self):
         event = self.store_event(
             data={"event_id": "a" * 32},
@@ -129,183 +46,6 @@ def test_missing_event(self):
         )
         assert resp.data["detail"] == "Event not found"
 
-    @with_feature("organizations:actionable-items")
-    def test_event_is_not_javascript(self):
-        data = {
-            "event_id": "a" * 32,
-            "sdk": {
-                "name": "sentry.python",
-                "version": "1.29.2",
-            },
-            "exception": {
-                "values": [
-                    {
-                        "type": "Error",
-                        "stacktrace": {
-                            "frames": [
-                                {
-                                    "abs_path": "https://app.example.com/static/py/main.py",
-                                    "filename": "/static/py/main.py",
-                                    "lineno": 1,
-                                    "colno": 39,
-                                    "context_line": "return results",
-                                    "in_app": True,
-                                }
-                            ]
-                        },
-                    },
-                ]
-            },
-        }
-
-        event = self.store_event(
-            data=data,
-            project_id=self.project.id,
-        )
-
-        resp = self.get_success_response(
-            self.organization.slug,
-            self.project.slug,
-            event.event_id,
-        )
-
-        assert resp.data["errors"] == []
-
-    @with_feature("organizations:actionable-items")
-    def test_event_has_no_release(self):
-        event = self.store_event(
-            data=self.base_data,
-            project_id=self.project.id,
-        )
-
-        resp = self.get_success_response(
-            self.organization.slug,
-            self.project.slug,
-            event.event_id,
-        )
-
-        error = resp.data["errors"][0]
-        assert error["type"] == "no_release_on_event"
-        assert error["message"] == "The event is missing a release"
-
-    @with_feature("organizations:actionable-items")
-    def test_multiple_source_map_errors(self):
-        data = {
-            "event_id": "a" * 32,
-            "sdk": {
-                "name": "sentry.javascript.browser",
-                "version": "7.3.0",
-            },
-            "exception": {
-                "values": [
-                    {
-                        "type": "Error",
-                        "stacktrace": {
-                            "frames": [
-                                {
-                                    "abs_path": "https://app.example.com/static/js/main.fa8fe19f.js",
-                                    "filename": "/static/js/main.fa8fe19f.js",
-                                    "lineno": 1,
-                                    "colno": 39,
-                                    "context_line": "function foo() {",
-                                    "in_app": True,
-                                },
-                                {
-                                    "abs_path": "https://app.example.com/static/js/main.fa8fe19f.js",
-                                    "filename": "/static/js/main.fa8fe19f.js",
-                                    "lineno": 10,
-                                    "colno": 15,
-                                    "context_line": "function baz() {",
-                                    "in_app": True,
-                                },
-                                {
-                                    "abs_path": "https://app.example.com/static/js/main.a1b2c3.js",
-                                    "filename": "/static/js/main.a1b2c3.js",
-                                    "lineno": 2,
-                                    "colno": 50,
-                                    "context_line": "function bar() {",
-                                    "in_app": True,
-                                },
-                            ]
-                        },
-                    },
-                ]
-            },
-        }
-        event = self.store_event(
-            data=data,
-            project_id=self.project.id,
-        )
-
-        resp = self.get_success_response(
-            self.organization.slug,
-            self.project.slug,
-            event.event_id,
-        )
-
-        errors = resp.data["errors"]
-
-        # Should have 2 errors, one path is repeated so it shouldn't have an error
-        assert len(errors) == 2
-
-        assert errors[0]["type"] == "no_release_on_event"
-        assert errors[1]["type"] == "no_release_on_event"
-
-    @with_feature("organizations:actionable-items")
-    def test_event_has_no_release_with_event_error(self):
-        data = {
-            "event_id": "a" * 32,
-            "sdk": {
-                "name": "sentry.javascript.browser",
-                "version": "7.3.0",
-            },
-            "exception": {
-                "values": [
-                    {
-                        "type": "Error",
-                        "stacktrace": {
-                            "frames": [
-                                {
-                                    "abs_path": "https://app.example.com/static/js/main.fa8fe19f.js",
-                                    "filename": "/static/js/main.fa8fe19f.js",
-                                    "lineno": 1,
-                                    "colno": 39,
-                                    "context_line": "function foo() {",
-                                    "in_app": True,
-                                }
-                            ]
-                        },
-                    },
-                ]
-            },
-            "errors": [
-                {"type": EventError.JS_MISSING_SOURCES_CONTENT, "url": "http://example.com"}
-            ],
-        }
-
-        event = self.store_event(
-            data=data,
-            project_id=self.project.id,
-            assert_no_errors=False,
-        )
-
-        resp = self.get_success_response(
-            self.organization.slug,
-            self.project.slug,
-            event.event_id,
-        )
-
-        errors = resp.data["errors"]
-
-        assert len(errors) == 2
-
-        # Sourcemap error should be first
-        sourcemap_error = errors[0]
-        event_error = errors[1]
-
-        assert sourcemap_error["type"] == SourceMapProcessingIssue.MISSING_RELEASE
-        assert event_error["type"] == EventError.JS_MISSING_SOURCES_CONTENT
-
     @with_feature("organizations:actionable-items")
     def test_orders_event_errors_by_priority(self):
         event = self.store_event(
@@ -342,36 +82,6 @@ def test_orders_event_errors_by_priority(self):
             project_id=self.project.id,
             assert_no_errors=False,
         )
-        release = Release.objects.get(organization=self.organization, version=event.release)
-        release.update(user_agent="test_user_agent")
-
-        dist = Distribution.objects.get(
-            organization_id=self.organization.id, name="my-dist", release_id=release.id
-        )
-
-        file = File.objects.create(name="application.js", type="release.file")
-        fileobj = ContentFile(b"a\n//# sourceMappingURL=application.js.map")
-        file.putfile(fileobj)
-
-        ReleaseFile.objects.create(
-            organization_id=self.project.organization_id,
-            release_id=release.id,
-            file=file,
-            name="~/application.js",
-            dist_id=dist.id,
-        )
-
-        ReleaseFile.objects.create(
-            organization_id=self.project.organization_id,
-            release_id=release.id,
-            file=file,
-            name="~/application.js.map",
-            dist_id=dist.id,
-        )
-
-        sourcemapfile = File.objects.create(name="application.js.map", type="release.file")
-        sourcemapfileobj = ContentFile(b"mapping code")
-        sourcemapfile.putfile(sourcemapfileobj)
 
         resp = self.get_success_response(
             self.organization.slug,

this pr removes source map debugging from actionable items since we are no longer showing those alerts on the issue details page. 