Repository: getsentry/sentry

Issue:
Remove feature flag for stacktrace linking
The flag `organizations:integrations-stacktrace-link` has been around for a long time, but is a feature that should be included in all Sentry installations. We should remove it.


Discussion:
Routing to @getsentry/product-owners-issues for [triage](https://develop.sentry.dev/processing-tickets/#3-triage) ⏲️

Resolving patch:
diff --git a/src/sentry/apidocs/examples/project_examples.py b/src/sentry/apidocs/examples/project_examples.py
--- a/src/sentry/apidocs/examples/project_examples.py
+++ b/src/sentry/apidocs/examples/project_examples.py
@@ -306,7 +306,6 @@
             "performance-file-io-main-thread-ingest",
             "metrics-extraction",
             "profile-json-decode-main-thread-ingest",
-            "integrations-stacktrace-link",
             "onboarding",
             "promotion-mobperf-gift50kerr",
             "device-classification",
diff --git a/src/sentry/conf/server.py b/src/sentry/conf/server.py
--- a/src/sentry/conf/server.py
+++ b/src/sentry/conf/server.py
@@ -1563,8 +1563,6 @@ def custom_parameter_sort(parameter: dict) -> tuple[str, int]:
     "organizations:integrations-deployment": True,
     # Allow orgs to automatically create Tickets in Issue Alerts
     "organizations:integrations-ticket-rules": True,
-    # Allow orgs to use the stacktrace linking feature
-    "organizations:integrations-stacktrace-link": False,
     # Enable Opsgenie integration
     "organizations:integrations-opsgenie": True,
     # Enable one-click migration from Opsgenie plugin
diff --git a/src/sentry/features/permanent.py b/src/sentry/features/permanent.py
--- a/src/sentry/features/permanent.py
+++ b/src/sentry/features/permanent.py
@@ -38,7 +38,6 @@ def register_permanent_features(manager: FeatureManager):
         "organizations:integrations-incident-management",
         "organizations:integrations-issue-basic",
         "organizations:integrations-issue-sync",
-        "organizations:integrations-stacktrace-link",
         "organizations:integrations-ticket-rules",
         "organizations:performance-view",
         "organizations:profiling-view",


Test patch:
diff --git a/tests/acceptance/test_organization_integration_configuration_tabs.py b/tests/acceptance/test_organization_integration_configuration_tabs.py
--- a/tests/acceptance/test_organization_integration_configuration_tabs.py
+++ b/tests/acceptance/test_organization_integration_configuration_tabs.py
@@ -59,13 +59,7 @@ def test_external_user_mappings(self):
             organization=self.organization, teams=[self.team, self.team2, self.team3], slug="bengal"
         )
 
-        with self.feature(
-            {
-                "organizations:integrations-codeowners": True,
-                "organizations:integrations-stacktrace-link": True,
-            }
-        ):
-
+        with self.feature("organizations:integrations-codeowners"):
             self.browser.get(
                 f"/settings/{self.organization.slug}/integrations/{self.provider}/{self.integration.id}/"
             )
@@ -91,13 +85,7 @@ def test_external_user_mappings(self):
             self.browser.wait_until_not('[data-test-id="loading-indicator"]')
 
     def test_external_team_mappings(self):
-        with self.feature(
-            {
-                "organizations:integrations-codeowners": True,
-                "organizations:integrations-stacktrace-link": True,
-            }
-        ):
-
+        with self.feature("organizations:integrations-codeowners"):
             self.browser.get(
                 f"/settings/{self.organization.slug}/integrations/{self.provider}/{self.integration.id}/"
             )