Skip to content

wip(insights): double write starred segment #93543

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

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

DominikB2014
Copy link
Contributor

No description provided.

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 13, 2025
Copy link

codecov bot commented Jun 13, 2025

❌ 11 Tests Failed:

Tests completed Failed Passed Skipped
111 11 100 2
View the top 3 failed test(s) by shortest run time
::tests.sentry.api.endpoints.test_system_options
Stack Traces | 0s run time
#x1B[31m#x1B[1m#x1B[31m.venv/lib/python3.13.../site-packages/_pytest/python.py#x1B[0m:520: in importtestmodule
    mod = import_path(
#x1B[1m#x1B[31m.venv/lib/python3.13.../site-packages/_pytest/pathlib.py#x1B[0m:584: in import_path
    importlib.import_module(module_name)
#x1B[1m#x1B[.../hostedtoolcache/Python/3.13.1........./x64/lib/python3.13/importlib/__init__.py#x1B[0m:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1387: in _gcd_import
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m.venv/lib/python3.13.../_pytest/assertion/rewrite.py#x1B[0m:178: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[.../api/endpoints/test_system_options.py#x1B[0m:9: in <module>
    class SystemOptionsTest(APITestCase):
#x1B[1m#x1B[.../api/endpoints/test_system_options.py#x1B[0m:10: in SystemOptionsTest
    url = reverse("sentry-api-0-system-options")
#x1B[1m#x1B[31m.venv/lib/python3.13.../django/urls/base.py#x1B[0m:98: in reverse
    resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs)
#x1B[1m#x1B[31m.venv/lib/python3.13.../django/urls/resolvers.py#x1B[0m:749: in _reverse_with_prefix
    self._populate()
#x1B[1m#x1B[31m.venv/lib/python3.13.../django/urls/resolvers.py#x1B[0m:548: in _populate
    for url_pattern in reversed(self.url_patterns):
#x1B[1m#x1B[31m.venv/lib/python3.13.../django/utils/functional.py#x1B[0m:47: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
#x1B[1m#x1B[31m.venv/lib/python3.13.../django/urls/resolvers.py#x1B[0m:718: in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
#x1B[1m#x1B[31m.venv/lib/python3.13.../django/utils/functional.py#x1B[0m:47: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
#x1B[1m#x1B[31m.venv/lib/python3.13.../django/urls/resolvers.py#x1B[0m:711: in urlconf_module
    return import_module(self.urlconf_name)
#x1B[1m#x1B[.../hostedtoolcache/Python/3.13.1........./x64/lib/python3.13/importlib/__init__.py#x1B[0m:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1387: in _gcd_import
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap_external>#x1B[0m:1026: in exec_module
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:488: in _call_with_frames_removed
    ???
#x1B[1m#x1B[.../sentry/conf/urls.py#x1B[0m:3: in <module>
    from sentry.web.urls import urlpatterns
#x1B[1m#x1B[.../sentry/web/urls.py#x1B[0m:168: in <module>
    include("sentry.api.urls"),
#x1B[1m#x1B[31m.venv/lib/python3.13.../django/urls/conf.py#x1B[0m:39: in include
    urlconf_module = import_module(urlconf_module)
#x1B[1m#x1B[.../hostedtoolcache/Python/3.13.1........./x64/lib/python3.13/importlib/__init__.py#x1B[0m:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
#x1B[1m#x1B[.../sentry/api/urls.py#x1B[0m:80: in <module>
    from sentry.discover.endpoints.discover_key_transactions import (
#x1B[1m#x1B[31mE     File ".../discover/endpoints/discover_key_transactions.py", line 120#x1B[0m
#x1B[1m#x1B[31mE       project=project_team.project,#x1B[0m
#x1B[1m#x1B[31mE       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^#x1B[0m
#x1B[1m#x1B[31mE   SyntaxError: keyword argument repeated: project#x1B[0m#x1B[0m
::tests.sentry.hybridcloud.apigateway.test_apigateway
Stack Traces | 0s run time
#x1B[31m#x1B[1m#x1B[31m.venv/lib/python3.13.../site-packages/_pytest/python.py#x1B[0m:520: in importtestmodule
    mod = import_path(
#x1B[1m#x1B[31m.venv/lib/python3.13.../site-packages/_pytest/pathlib.py#x1B[0m:584: in import_path
    importlib.import_module(module_name)
#x1B[1m#x1B[.../hostedtoolcache/Python/3.13.1.../x64/lib/python3.13/importlib/__init__.py#x1B[0m:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1387: in _gcd_import
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m.venv/lib/python3.13.../_pytest/assertion/rewrite.py#x1B[0m:178: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[.../hybridcloud/apigateway/test_apigateway.py#x1B[0m:11: in <module>
    from sentry.testutils.helpers.apigateway import ApiGatewayTestCase, verify_request_params
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m.venv/lib/python3.13.../_pytest/assertion/rewrite.py#x1B[0m:178: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[.../testutils/helpers/apigateway.py#x1B[0m:13: in <module>
    import sentry.api.urls as api_urls
#x1B[1m#x1B[.../sentry/api/urls.py#x1B[0m:80: in <module>
    from sentry.discover.endpoints.discover_key_transactions import (
#x1B[1m#x1B[31mE     File ".../discover/endpoints/discover_key_transactions.py", line 120#x1B[0m
#x1B[1m#x1B[31mE       project=project_team.project,#x1B[0m
#x1B[1m#x1B[31mE       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^#x1B[0m
#x1B[1m#x1B[31mE   SyntaxError: keyword argument repeated: project#x1B[0m#x1B[0m
::tests.sentry.middleware.integrations.parsers.test_github_enterprise
Stack Traces | 0s run time
#x1B[31m#x1B[1m#x1B[31m.venv/lib/python3.13.../site-packages/_pytest/python.py#x1B[0m:520: in importtestmodule
    mod = import_path(
#x1B[1m#x1B[31m.venv/lib/python3.13.../site-packages/_pytest/pathlib.py#x1B[0m:584: in import_path
    importlib.import_module(module_name)
#x1B[1m#x1B[.../hostedtoolcache/Python/3.13.1........./x64/lib/python3.13/importlib/__init__.py#x1B[0m:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1387: in _gcd_import
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m.venv/lib/python3.13.../_pytest/assertion/rewrite.py#x1B[0m:178: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[.../integrations/parsers/test_github_enterprise.py#x1B[0m:23: in <module>
    class GithubEnterpriseRequestParserTest(TestCase):
#x1B[1m#x1B[.../integrations/parsers/test_github_enterprise.py#x1B[0m:25: in GithubEnterpriseRequestParserTest
    path = reverse("sentry-integration-github-enterprise-webhook")
#x1B[1m#x1B[31m.venv/lib/python3.13.../django/urls/base.py#x1B[0m:98: in reverse
    resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs)
#x1B[1m#x1B[31m.venv/lib/python3.13.../django/urls/resolvers.py#x1B[0m:749: in _reverse_with_prefix
    self._populate()
#x1B[1m#x1B[31m.venv/lib/python3.13.../django/urls/resolvers.py#x1B[0m:548: in _populate
    for url_pattern in reversed(self.url_patterns):
#x1B[1m#x1B[31m.venv/lib/python3.13.../django/utils/functional.py#x1B[0m:47: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
#x1B[1m#x1B[31m.venv/lib/python3.13.../django/urls/resolvers.py#x1B[0m:718: in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
#x1B[1m#x1B[31m.venv/lib/python3.13.../django/utils/functional.py#x1B[0m:47: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
#x1B[1m#x1B[31m.venv/lib/python3.13.../django/urls/resolvers.py#x1B[0m:711: in urlconf_module
    return import_module(self.urlconf_name)
#x1B[1m#x1B[.../hostedtoolcache/Python/3.13.1........./x64/lib/python3.13/importlib/__init__.py#x1B[0m:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1387: in _gcd_import
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap_external>#x1B[0m:1026: in exec_module
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:488: in _call_with_frames_removed
    ???
#x1B[1m#x1B[.../sentry/conf/urls.py#x1B[0m:3: in <module>
    from sentry.web.urls import urlpatterns
#x1B[1m#x1B[.../sentry/web/urls.py#x1B[0m:168: in <module>
    include("sentry.api.urls"),
#x1B[1m#x1B[31m.venv/lib/python3.13.../django/urls/conf.py#x1B[0m:39: in include
    urlconf_module = import_module(urlconf_module)
#x1B[1m#x1B[.../hostedtoolcache/Python/3.13.1........./x64/lib/python3.13/importlib/__init__.py#x1B[0m:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
#x1B[1m#x1B[.../sentry/api/urls.py#x1B[0m:80: in <module>
    from sentry.discover.endpoints.discover_key_transactions import (
#x1B[1m#x1B[31mE     File ".../discover/endpoints/discover_key_transactions.py", line 120#x1B[0m
#x1B[1m#x1B[31mE       project=project_team.project,#x1B[0m
#x1B[1m#x1B[31mE       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^#x1B[0m
#x1B[1m#x1B[31mE   SyntaxError: keyword argument repeated: project#x1B[0m#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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant