Repository Analysis

getsentry/sentry

Developer-first error tracking and performance monitoring

11.7 Low AI signal View on GitHub
11.7
Adjusted Score
11.7
Raw Score
100%
Time Factor
2026-05-30
Last Push
43,994
Stars
Python
Language
3,091,296
Lines of Code
16969
Files
33427
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 57HIGH 392MEDIUM 701LOW 32277

Pattern Findings

33427 matches across 20 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers26001 hits · 24889 pts
SeverityFileLineSnippet
LOWtools/flake8_plugin.py86def _wall_clock_year_from_datetime_call(node: ast.Call) -> int | None:
LOWtools/mypy_helpers/prevent_weaklist_additions.py9def _modules_for_override_key(data: dict[str, object], key: str, filename: str) -> frozenset[str]:
LOWtools/mypy_helpers/plugin.py54def replace_transaction_atomic_sig_callback(ctx: FunctionSigContext) -> CallableType:
LOWtools/mypy_helpers/plugin.py76def _modify_base_cache_version_type(ctx: MethodSigContext) -> FunctionLike:
LOWtools/mypy_helpers/plugin.py85def _remove_base_cache_decr_incr(ctx: MethodContext) -> Type:
LOWtools/mypy_helpers/plugin.py107def _adjust_http_request_members(ctx: ClassDefContext) -> None:
LOWtools/mypy_helpers/plugin.py156def _adjust_http_response_members(ctx: ClassDefContext) -> None:
LOWtools/mypy_helpers/plugin.py168def _lazy_service_wrapper_attribute(ctx: AttributeContext, *, attr: str) -> Type:
LOWtools/mypy_helpers/plugin.py191def _check_response_body_not_any(ctx: FunctionContext) -> Type:
LOWtools/mypy_helpers/plugin.py276 def get_function_signature_hook(
LOWtools/mypy_helpers/plugin.py281 def get_method_signature_hook(
LOWtools/mypy_helpers/plugin.py300 def get_customize_class_mro_hook(
LOWconfig/build-chartcuterie.ts23async function modifyPackageJsonSideEffects(): Promise<string> {
LOWtests/conftest.py98def setup_enforce_monotonic_transactions(request: pytest.FixtureRequest) -> Generator[None]:
LOWtests/conftest.py106def audit_hybrid_cloud_writes_and_deletes(request: pytest.FixtureRequest) -> Generator[None]:
LOWtests/conftest.py144def reset_sentry_isolation_scope() -> Generator[None]:
LOWtests/conftest.py177def check_leaked_responses_mocks() -> Generator[None]:
LOWtests/tools/test_bump_action.py57def test_main_upgrades_action(workflow_and_action, capsys) -> None:
LOWtests/tools/mypy_helpers/test_plugin.py77def test_invalid_get_connection_call() -> None:
LOWtests/tools/mypy_helpers/test_plugin.py104def test_invalid_transaction_atomic() -> None:
LOWtests/tools/mypy_helpers/test_plugin.py123def test_ok_transaction_atomic() -> None:
LOWtests/tools/mypy_helpers/test_plugin.py134def test_ok_transaction_on_commit() -> None:
LOWtests/tools/mypy_helpers/test_plugin.py147def test_invalid_transaction_on_commit() -> None:
LOWtests/tools/mypy_helpers/test_plugin.py165def test_invalid_transaction_set_rollback() -> None:
LOWtests/tools/mypy_helpers/test_plugin.py180def test_ok_transaction_set_rollback() -> None:
LOWtests/tools/mypy_helpers/test_plugin.py201def test_added_http_request_attribute(attr: str) -> None:
LOWtests/tools/mypy_helpers/test_plugin.py214def test_adjusted_drf_request_auth() -> None:
LOWtests/tools/mypy_helpers/test_plugin.py237def test_csp_response_attribute() -> None:
LOWtests/tools/mypy_helpers/test_plugin.py256def test_lazy_service_wrapper() -> None:
LOWtests/tools/mypy_helpers/test_plugin.py291def test_base_cache_adjusted_version_type() -> None:
LOWtests/tools/mypy_helpers/test_plugin.py311def test_base_cache_incr_decr_version_removed() -> None:
LOWtests/tools/mypy_helpers/test_plugin.py331def test_response_any_body_unparameterized_silent() -> None:
LOWtests/tools/mypy_helpers/test_plugin.py347def test_response_any_body_parameterized_errors() -> None:
LOWtests/tools/mypy_helpers/test_plugin.py367def test_response_typed_body_parameterized_silent() -> None:
LOWtests/tools/mypy_helpers/test_plugin.py386def test_response_cast_escape_valve() -> None:
LOWtests/tools/mypy_helpers/test_plugin.py405def test_response_body_less_parameterized_silent() -> None:
LOWtests/tools/mypy_helpers/test_plugin.py424def test_response_extra_key_drift_caught_by_core_mypy() -> None:
LOWtests/tools/mypy_helpers/test_plugin.py442def test_response_body_less_with_any_status_kwarg() -> None:
LOWtests/tools/mypy_helpers/test_plugin.py463def test_response_data_kwarg_with_any_value() -> None:
LOWtests/tools/mypy_helpers/test_plugin.py483def test_response_any_body_async_view() -> None:
LOWtests/tools/mypy_helpers/test_plugin.py503def test_response_typed_body_async_view_silent() -> None:
LOW…/tools/mypy_helpers/test_prevent_weaklist_additions.py85def test_multiple_additions_reported_sorted(tmp_path, capsys) -> None:
LOW…/tools/mypy_helpers/test_prevent_weaklist_additions.py109def test_addition_and_removal_same_diff_only_addition_fails(tmp_path, capsys) -> None:
LOW…/tools/mypy_helpers/test_prevent_weaklist_additions.py132def test_unrelated_overrides_ignored(tmp_path) -> None:
LOW…/tools/mypy_helpers/test_prevent_weaklist_additions.py159def test_module_ignores_addition_fails(tmp_path, capsys) -> None:
LOW…/tools/mypy_helpers/test_prevent_weaklist_additions.py184def test_module_ignores_removal_passes(tmp_path) -> None:
LOW…/tools/mypy_helpers/test_prevent_weaklist_additions.py203def test_module_ignores_multiple_additions_reported_sorted(tmp_path, capsys) -> None:
LOW…/tools/mypy_helpers/test_prevent_weaklist_additions.py227def test_addition_to_both_sections_reports_all(tmp_path, capsys) -> None:
LOW…/tools/mypy_helpers/test_prevent_weaklist_additions.py260def test_multiple_module_ignores_sections_fails_loudly(tmp_path) -> None:
LOW…/tools/mypy_helpers/test_prevent_weaklist_additions.py294def test_no_weaklist_section_treated_as_empty(tmp_path) -> None:
LOW…/tools/mypy_helpers/test_prevent_weaklist_additions.py314def test_missing_overrides_section_treated_as_empty(tmp_path) -> None:
LOW…/tools/mypy_helpers/test_prevent_weaklist_additions.py337def test_multiple_weaklist_sections_fails_loudly(tmp_path) -> None:
LOWtests/tools/mypy_helpers/test_check_stronglist.py6def test_glob_to_re_exact_matches() -> None:
LOWtests/tools/mypy_helpers/test_check_stronglist.py13def test_glob_to_re_wildcards() -> None:
LOWtests/tools/mypy_helpers/test_check_stronglist.py45def test_errors_on_allowlist_module_missing_from_weaklist(tmp_path, capsys) -> None:
LOWtests/tools/mypy_helpers/test_check_stronglist.py70def test_errors_on_globbed_module_missing_from_weaklist(tmp_path, capsys) -> None:
LOWtests/tools/mypy_helpers/test_check_stronglist.py95def test_weaklist_existence_file_missing(tmp_path, capsys) -> None:
LOWtests/tools/mypy_helpers/test_check_stronglist.py116def test_weaklist_existence_glob_missing(tmp_path, capsys) -> None:
LOWtests/tools/mypy_helpers/test_check_stronglist.py137def test_weaklist_redundant_wildcard(tmp_path, capsys) -> None:
LOWtests/tools/mypy_helpers/test_check_stronglist.py162def test_weaklist_redundant_wildcard_same_module(tmp_path, capsys) -> None:
25941 more matches not shown…
Unused Imports3189 hits · 2990 pts
SeverityFileLineSnippet
LOWtools/flake8_plugin.py1
LOWtools/lib.py1
LOWtools/bump_version.py1
LOWtools/pin_github_action.py1
LOWtools/fast_editable.py2
LOWtools/bump_action.py1
LOWtools/lint_requirements.py1
LOWtools/mypy_helpers/sort_stronger_modules.py1
LOWtools/mypy_helpers/make_stub_ignores.py1
LOWtools/mypy_helpers/sort_weaklist.py1
LOWtools/mypy_helpers/find_easiest_modules.py1
LOWtools/mypy_helpers/make_module_ignores.py1
LOWtools/mypy_helpers/mypy_without_ignores.py1
LOWtools/mypy_helpers/prevent_weaklist_additions.py1
LOWtools/mypy_helpers/plugin.py1
LOWdevenv/sync.py1
LOWdevenv/post_fetch.py1
LOWbin/react-to-product-owners-yml-changes.py2
LOWtests/tools/test_flake8_plugin.py1
LOWtests/tools/mypy_helpers/test_plugin.py1
LOW…/tools/mypy_helpers/test_prevent_weaklist_additions.py1
LOWtests/acceptance/test_proxy.py1
LOWtests/sentry_plugins/heroku/test_plugin.py1
LOWtests/sentry_plugins/jira/test_plugin.py1
LOWtests/snuba/test_metrics_layer.py1
LOWtests/snuba/tasks/test_unmerge.py1
LOWtests/snuba/processing_errors/eap/test_producer.py1
LOWtests/snuba/models/test_group.py1
LOWtests/snuba/search/test_eap_occurrences.py1
LOWtests/snuba/sessions/test_sessions.py1
LOW…ba/api/endpoints/test_organization_events_histogram.py1
LOW…/snuba/api/endpoints/test_discover_key_transactions.py1
LOW…/snuba/api/endpoints/test_organization_events_stats.py1
LOW…snuba/api/endpoints/test_organization_stats_summary.py1
LOW…a/api/endpoints/test_organization_events_timeseries.py1
LOW…ba/api/endpoints/test_organization_events_stats_mep.py1
LOWtests/snuba/api/endpoints/test_project_group_index.py1
LOW…g/platform/services/usage/test_outcomes_integration.py1
LOWtests/sentry/test_killswitches.py1
LOWtests/sentry/test_devimports.py1
LOWtests/sentry/test_viewer_context.py1
LOWtests/sentry/test_mypy_stronglist.py1
LOWtests/sentry/test_viewer_context_jwt.py1
LOWtests/sentry/test_stacktraces.py1
LOWtests/sentry/test_no_create_or_update_usage.py1
LOWtests/sentry/middleware/test_security.py1
LOWtests/sentry/middleware/test_suspended.py1
LOWtests/sentry/middleware/test_viewer_context.py1
LOWtests/sentry/middleware/test_staff.py1
LOWtests/sentry/middleware/test_proxy.py1
LOWtests/sentry/middleware/test_subdomain.py1
LOWtests/sentry/middleware/test_customer_domain.py1
LOW…s/sentry/middleware/integrations/parsers/test_slack.py1
LOW…sentry/middleware/integrations/parsers/test_discord.py1
LOW…ts/sentry/middleware/integrations/parsers/test_jira.py1
LOW…/monitors/endpoints/test_organization_monitor_index.py1
LOW…s/test_organization_monitor_schedule_sample_buckets.py1
LOW…ors/endpoints/test_organization_monitor_index_count.py1
LOW…ints/test_organization_monitor_schedule_sample_data.py1
LOW…ts/test_organization_monitor_schedule_sample_window.py1
3129 more matches not shown…
Self-Referential Comments446 hits · 1423 pts
SeverityFileLineSnippet
MEDIUMtools/api_urls_to_typescript.py106 # Create the full pattern by replacing the alternate group with this alternative
MEDIUMtests/acceptance/test_organization_monitors.py28 # Create a second project so the org has multiple projects; this prevents
MEDIUMtests/acceptance/test_performance_summary.py51 # Create a transaction
MEDIUMtests/flagpole/test_flagpole_eval.py90 # Create a temporary YAML file
MEDIUMtests/flagpole/test_flagpole_eval.py229 # Create a mock segment that always matches
MEDIUMtests/flagpole/test_flagpole_eval.py247 # Create a mock segment that always matches but has 0% rollout
MEDIUMtests/flagpole/test_flagpole_eval.py265 # Create a mock segment that never matches
MEDIUMtests/flagpole/test_flagpole_eval.py288 # Create a mock segment that never matches
MEDIUMtests/snuba/search/test_backend.py1993 # Create a new event so that we get a group in this release
MEDIUMtests/snuba/search/test_backend.py2040 # Create a new event so that we get a group in this release
MEDIUMtests/snuba/search/test_backend.py2068 # Create a new event so that we get a group in release 1
MEDIUMtests/snuba/search/test_backend.py2088 # Create a new event so that we get a group in release 2
MEDIUM…ts/snuba/api/endpoints/test_organization_events_mep.py3933 # Create a widget in a DIFFERENT organization with discover_widget_split=None
MEDIUM…nuba/api/endpoints/test_discover_saved_query_detail.py110 # Create an explore saved query
MEDIUM…nuba/api/endpoints/test_discover_saved_query_detail.py130 # Create a discover query with reference to explore query
MEDIUM…dpoints/test_organization_events_stats_span_indexed.py2073 # Create a span at 10:05, this should not be in the result
MEDIUM…dpoints/test_organization_events_stats_span_indexed.py2083 # Create a span at 10:30, this should be in the result
MEDIUM…dpoints/test_organization_events_stats_span_indexed.py2093 # Create a span at 22:05, this should be in the result
MEDIUM…/snuba/api/endpoints/test_organization_events_trace.py563 # Create the orphan transactions
MEDIUM…sts/snuba/api/endpoints/test_discover_saved_queries.py291 # Create a second project that the no-team user will have access to via a team.
MEDIUMtests/snuba/api/endpoints/test_organization_events.py6826 # Create a second project
MEDIUM…ba/api/endpoints/test_organization_events_stats_mep.py965 # Create a widget in a DIFFERENT organization with discover_widget_split=None
MEDIUMtests/sentry/shared_integrations/client/test_proxy.py43 # Create a valid one, and an invalid one
MEDIUMtests/sentry/middleware/test_ratelimit_middleware.py268 # Create an endpoint with custom high rate limits
MEDIUMtests/sentry/monitors/test_serializers.py16 # Create a monitor environment with a non-existent environment_id
MEDIUMtests/sentry/monitors/test_serializers.py40 # Create a monitor environment with a non-existent environment_id
MEDIUMtests/sentry/monitors/test_validators.py365 # Create a mock access object
MEDIUMtests/sentry/monitors/test_validators.py531 # Create an environment first so the monitor can be muted
MEDIUMtests/sentry/monitors/test_validators.py862 # Create a monitor environment with specific next_checkin times
MEDIUMtests/sentry/monitors/test_validators.py901 # Create a monitor environment
MEDIUMtests/sentry/monitors/test_validators.py1294 # Create a disabled detector
MEDIUMtests/sentry/monitors/test_validators.py1336 # Create a disabled detector
MEDIUMtests/sentry/monitors/test_validators.py1376 # Create an enabled detector
MEDIUM…sentry/monitors/endpoints/test_base_monitor_details.py349 # Create an environment so the monitor has an environment to mute
MEDIUM…sentry/monitors/endpoints/test_base_monitor_details.py362 # Create a muted environment so the monitor is muted
MEDIUM…sts/sentry/monitors/consumers/test_monitor_consumer.py298 # Create a muted environment for this monitor
MEDIUM…leases/endpoints/test_organization_release_assemble.py231 # Create an unauthorized project (attacker has no access)
MEDIUM…leases/endpoints/test_organization_release_assemble.py240 # Create a malicious artifact bundle that tries to target the unauthorized project
MEDIUM…leases/endpoints/test_organization_release_assemble.py292 # Create an artifact bundle that targets an authorized project
MEDIUMtests/sentry/releases/endpoints/test_release_deploys.py452 # Create a second project
MEDIUMtests/sentry/releases/endpoints/test_release_deploys.py455 # Create a release for both projects
MEDIUMtests/sentry/tasks/test_post_process.py1454 # Create a new event to avoid debouncing
MEDIUMtests/sentry/tasks/test_post_process.py1487 # Create a new event to avoid debouncing
MEDIUMtests/sentry/tasks/test_web_vitals_issue_detection.py360 # Create an existing issue group so that the web vital issue detection does not produce a new occurrence
MEDIUM…sts/sentry/core/endpoints/test_organization_details.py1258 # Create an org, mapping, and slug reservation. For us to reach the RPC conflict,
MEDIUM…sts/sentry/core/endpoints/test_organization_details.py574 # Create a team member for project_1 only
MEDIUM…entry/core/endpoints/test_organization_member_index.py550 # Create a user with multiple email addresses
MEDIUM…try/core/endpoints/test_organization_member_details.py146 # Create a user with multiple email addresses
MEDIUMtests/sentry/security/test_utils.py18 # Create a user. This has to be done not in the control mode.
MEDIUMtests/sentry/security/test_utils.py22 # Create an organization. This has to be done not in the control mode.
MEDIUMtests/sentry/security/test_utils.py27 # Create a Sentry App using the creator. This needs to be run in control mode.
MEDIUMtests/sentry/auth/test_helper.py653 # Create the user whose email the IdP asserted
MEDIUM…sentry/web/frontend/test_organization_auth_settings.py320 # Create an unlinked member
MEDIUM…ts/sentry/web/frontend/test_auth_organization_login.py1353 # Create an organization with SSO (not the demo org)
MEDIUMtests/sentry/web/frontend/test_oauth_token.py1693 # Create a public client (no client_secret)
MEDIUMtests/sentry/web/frontend/test_oauth_token.py1700 # Create a token for the public client
MEDIUMtests/sentry/web/frontend/test_oauth_token.py1155 # Create a public client (no client_secret)
MEDIUMtests/sentry/web/frontend/test_oauth_token.py1553 # Create a public application (no client_secret)
MEDIUMtests/sentry/web/frontend/test_oauth_token.py1626 # Create a public application (no client_secret)
MEDIUMtests/sentry/web/frontend/test_oauth_token.py1779 # Create a confidential client (has client_secret)
386 more matches not shown…
Excessive Try-Catch Wrapping1187 hits · 1242 pts
SeverityFileLineSnippet
LOWtests/tools/test_flake8_plugin.py175except Exception:
LOWtests/tools/test_flake8_plugin.py180except Exception:
LOWtests/acceptance/conftest.py47 except Exception:
LOWtests/sentry/test_devimports.py93 except Exception:
LOWtests/sentry/monitors/test_utils.py208 except Exception:
LOWtests/sentry/eventstream/test_eap.py93 except Exception:
LOWtests/sentry/tasks/test_relay.py358 except Exception:
LOWtests/sentry/web/frontend/generic/test_static_media.py86 except Exception:
LOWtests/sentry/web/frontend/generic/test_static_media.py111 except Exception:
LOWtests/sentry/web/frontend/generic/test_static_media.py157 except Exception:
LOWtests/sentry/taskworker/test_config.py111 except Exception:
LOW…rod/vcs/status_checks/size/test_status_checks_tasks.py621 except Exception as e:
LOW…rod/vcs/status_checks/size/test_status_checks_tasks.py728 except Exception as e:
LOW…rod/vcs/status_checks/size/test_status_checks_tasks.py783 except Exception as e:
LOW…tions/gitlab/tasks/test_update_all_project_webhooks.py360 except Exception:
LOW…try/integrations/github_enterprise/test_integration.py588 except Exception:
LOWtests/sentry/integrations/github/test_integration.py1389 except Exception:
LOW…try/sentry_apps/services/legacy_webhook/test_client.py70 except Exception:
MEDIUMtests/sentry/seer/autofix/test_issue_summary.py247def target(req_id):
LOWtests/sentry/seer/autofix/test_issue_summary.py251 except Exception as e:
LOWtests/sentry/hybridcloud/models/test_outbox.py367 except Exception as e:
LOWtests/sentry/relocation/test_utils.py333 except Exception:
LOWtests/sentry/relocation/test_utils.py371 except Exception:
LOWtests/sentry/api/test_utils.py121 except Exception as e:
LOWtests/sentry/api/test_utils.py201 except Exception as e:
LOWtests/sentry/api/test_utils.py212 except Exception as e:
LOWtests/sentry/api/test_utils.py226 except Exception as e:
LOWtests/sentry/api/test_utils.py237 except Exception as e:
LOWtests/sentry/api/test_utils.py252 except Exception as e:
LOWtests/sentry/digests/backends/test_redis.py73 except Exception:
LOWtests/sentry/digests/backends/test_redis.py107 except Exception:
LOW.github/workflows/scripts/bootstrap-snuba.py47 except Exception:
LOW.github/workflows/scripts/bootstrap-snuba.py104 except Exception as e:
LOW…orkflows/scripts/test_calculate_backend_test_shards.py487 except Exception as exc:
MEDIUM…hub/workflows/scripts/compute-sentry-selected-tests.py211 print(f"Error: Coverage database not found: {coverage_db}", file=sys.stderr)
MEDIUM…hub/workflows/scripts/compute-sentry-selected-tests.py244 print(f"Error querying coverage database: {e}", file=sys.stderr)
LOWsrc/apigw/dsl.py30 except Exception:
LOWsrc/apigw/dsl.py42 except Exception:
LOWsrc/flagpole/flagpole_eval.py35 except Exception as e:
LOWsrc/flagpole/flagpole_eval.py46 except Exception as e:
LOWsrc/flagpole/evaluation_context.py143 except Exception as e:
LOWsrc/flagpole/__init__.py181 except Exception as exc:
LOWsrc/sentry_plugins/client.py97 except Exception as exc:
LOWsrc/sentry_plugins/redmine/plugin.py196 except Exception:
LOWsrc/sentry_plugins/redmine/plugin.py211 except Exception:
LOWsrc/sentry_plugins/redmine/plugin.py221 except Exception:
LOWsrc/sentry_plugins/amazon_sqs/plugin.py40 except Exception:
MEDIUMsrc/sentry_plugins/amazon_sqs/plugin.py34def wrapper(*args, **kwargs):
LOWsrc/sentry_plugins/sessionstack/plugin.py81 except Exception:
LOWsrc/sentry_plugins/gitlab/plugin.py127 except Exception as e:
LOWsrc/sentry_plugins/gitlab/plugin.py137 except Exception as e:
LOWsrc/sentry_plugins/gitlab/plugin.py144 except Exception as e:
LOWsrc/sentry_plugins/gitlab/plugin.py208 except Exception as e:
LOWsrc/sentry_plugins/pagerduty/plugin.py121 except Exception as e:
LOWsrc/sentry_plugins/pushover/plugin.py140 except Exception as e:
LOWsrc/sentry_plugins/jira/plugin.py255 except Exception as e:
LOWsrc/sentry_plugins/jira/plugin.py262 except Exception as e:
LOWsrc/sentry_plugins/jira/plugin.py489 except Exception as e:
LOWsrc/sentry_plugins/github/plugin.py169 except Exception as e:
LOWsrc/sentry_plugins/github/plugin.py188 except Exception as e:
1127 more matches not shown…
Cross-File Repetition197 hits · 985 pts
SeverityFileLineSnippet
HIGH…/tools/mypy_helpers/test_prevent_weaklist_additions.py0\ [[tool.mypy.overrides]] module = ["a.b.c", "d.e.f"] disallow_untyped_defs = false
HIGH…/tools/mypy_helpers/test_prevent_weaklist_additions.py0\ [[tool.mypy.overrides]] module = ["a.b.c", "d.e.f"] disallow_untyped_defs = false
HIGH…/tools/mypy_helpers/test_prevent_weaklist_additions.py0\ [[tool.mypy.overrides]] module = ["a.b.c", "d.e.f"] disallow_untyped_defs = false
HIGH…/tools/mypy_helpers/test_prevent_weaklist_additions.py0\ [[tool.mypy.overrides]] module = ["a.b.c"] disallow_untyped_defs = false
HIGH…/tools/mypy_helpers/test_prevent_weaklist_additions.py0\ [[tool.mypy.overrides]] module = ["a.b.c"] disallow_untyped_defs = false
HIGH…/tools/mypy_helpers/test_prevent_weaklist_additions.py0\ [[tool.mypy.overrides]] module = ["a.b.c"] disallow_untyped_defs = false
HIGH…/tools/mypy_helpers/test_prevent_weaklist_additions.py0\ [[tool.mypy.overrides]] module = ["a.b.c"] disallow_untyped_defs = false
HIGH…/tools/mypy_helpers/test_prevent_weaklist_additions.py0\ [[tool.mypy.overrides]] module = ["a.b.c"] disable_error_code = ["misc"]
HIGH…/tools/mypy_helpers/test_prevent_weaklist_additions.py0\ [[tool.mypy.overrides]] module = ["a.b.c"] disable_error_code = ["misc"]
HIGH…/tools/mypy_helpers/test_prevent_weaklist_additions.py0\ [[tool.mypy.overrides]] module = ["a.b.c"] disable_error_code = ["misc"]
HIGH…/tools/mypy_helpers/test_prevent_weaklist_additions.py0\ [[tool.mypy.overrides]] module = ["a.b.c"] disable_error_code = ["misc"]
HIGHtests/tools/mypy_helpers/test_check_stronglist.py0\ [[tool.mypy.overrides]] module = [] disable_error_code = ["misc"] [[tool.mypy.overrides]] module = ["a.b"] disallow_un
HIGHtests/tools/mypy_helpers/test_check_stronglist.py0\ [[tool.mypy.overrides]] module = [] disable_error_code = ["misc"] [[tool.mypy.overrides]] module = ["a.b"] disallow_un
HIGHtests/tools/mypy_helpers/test_check_stronglist.py0\ [[tool.mypy.overrides]] module = [] disable_error_code = ["misc"] [[tool.mypy.overrides]] module = ["a.b"] disallow_un
HIGHtests/snuba/test_outcomes.py0sort the groups of the results array by the `by` object, ensuring a stable order
HIGHtests/snuba/api/endpoints/test_organization_stats_v2.py0sort the groups of the results array by the `by` object, ensuring a stable order
HIGHtests/snuba/api/endpoints/test_organization_sessions.py0sort the groups of the results array by the `by` object, ensuring a stable order
HIGH…ts/snuba/api/endpoints/test_organization_events_mep.py0implicitly test the fact that percentiles are their own 'dataset'
HIGH…ts/snuba/api/endpoints/test_organization_events_mep.py0implicitly test the fact that percentiles are their own 'dataset'
HIGH…ts/snuba/api/endpoints/test_organization_events_mep.py0implicitly test the fact that percentiles are their own 'dataset'
HIGH…/monitors/endpoints/test_organization_monitor_index.py0test that members cannot assign a team they are not a member of as owner. this is a regression test for an idor vulnerab
HIGH…ry/uptime/endpoints/test_project_uptime_alert_index.py0test that members cannot assign a team they are not a member of as owner. this is a regression test for an idor vulnerab
HIGH…idents/endpoints/test_organization_alert_rule_index.py0test that members cannot assign a team they are not a member of as owner. this is a regression test for an idor vulnerab
HIGH…/monitors/endpoints/test_organization_monitor_index.py0test that members can assign a team they are a member of as owner.
HIGH…ry/uptime/endpoints/test_project_uptime_alert_index.py0test that members can assign a team they are a member of as owner.
HIGH…idents/endpoints/test_organization_alert_rule_index.py0test that members can assign a team they are a member of as owner.
HIGH…/monitors/endpoints/test_organization_monitor_index.py0test that users with team:admin scope can assign any team as owner.
HIGH…ry/uptime/endpoints/test_project_uptime_alert_index.py0test that users with team:admin scope can assign any team as owner.
HIGH…idents/endpoints/test_organization_alert_rule_index.py0test that users with team:admin scope can assign any team as owner.
HIGH…/monitors/endpoints/test_organization_monitor_index.py0test that when open team membership is enabled, members can assign any team as owner.
HIGH…ry/uptime/endpoints/test_project_uptime_alert_index.py0test that when open team membership is enabled, members can assign any team as owner.
HIGH…idents/endpoints/test_organization_alert_rule_index.py0test that when open team membership is enabled, members can assign any team as owner.
HIGH…sts/sentry/monitors/consumers/test_monitor_consumer.py0validates that the consumer in parallel mode correctly groups check-ins into groups by their monitor slug / environment
HIGHtests/sentry/uptime/consumers/test_results_consumer.py0validates that the consumer in parallel mode correctly groups check-ins into groups by their monitor slug / environment
HIGHtests/sentry/uptime/consumers/test_results_consumer.py0validates that the consumer in parallel mode correctly groups check-ins into groups by their monitor slug / environment
HIGHtests/sentry/uptime/consumers/test_results_consumer.py0validates that the consumer in parallel mode correctly groups check-ins into groups by their monitor slug / environment
HIGHtests/sentry/uptime/consumers/test_results_consumer.py0validates that the consumer in parallel mode correctly groups check-ins into groups by their monitor slug / environment
HIGHtests/sentry/runner/commands/test_backup.py0{ "project_id": "test-google-cloud-project", "location": "global", "key_ring": "test-key-ring-name", "key": "test-key-na
HIGHtests/sentry/runner/commands/test_backup.py0{ "project_id": "test-google-cloud-project", "location": "global", "key_ring": "test-key-ring-name", "key": "test-key-na
HIGHtests/sentry/runner/commands/test_backup.py0{ "project_id": "test-google-cloud-project", "location": "global", "key_ring": "test-key-ring-name", "key": "test-key-na
HIGHtests/sentry/receivers/test_signals.py0test analytics is called with default owner id when no user is provided
HIGHtests/sentry/receivers/test_signals.py0test analytics is called with default owner id when no user is provided
HIGHtests/sentry/receivers/test_signals.py0test analytics is called with default owner id when no user is provided
HIGHtests/sentry/receivers/test_signals.py0test analytics is called with 'unknown' when no user or default owner exists
HIGHtests/sentry/receivers/test_signals.py0test analytics is called with 'unknown' when no user or default owner exists
HIGHtests/sentry/receivers/test_signals.py0test analytics is called with 'unknown' when no user or default owner exists
HIGHtests/sentry/integrations/gitlab/test_integration.py0common setup for assignee sync tests. returns: tuple: (user, installation, external_issue, integration, group)
HIGH…try/integrations/github_enterprise/test_integration.py0common setup for assignee sync tests. returns: tuple: (user, installation, external_issue, integration, group)
HIGHtests/sentry/integrations/github/test_integration.py0common setup for assignee sync tests. returns: tuple: (user, installation, external_issue, integration, group)
HIGHtests/sentry/integrations/gitlab/test_integration.py0test that @ symbol is stripped from external_name when syncing
HIGH…try/integrations/github_enterprise/test_integration.py0test that @ symbol is stripped from external_name when syncing
HIGHtests/sentry/integrations/github/test_integration.py0test that @ symbol is stripped from external_name when syncing
HIGHtests/sentry/integrations/gitlab/test_integration.py0test that sync handles invalid external issue key format gracefully
HIGH…try/integrations/github_enterprise/test_integration.py0test that sync handles invalid external issue key format gracefully
HIGHtests/sentry/integrations/github/test_integration.py0test that sync handles invalid external issue key format gracefully
HIGH…try/integrations/github_enterprise/test_integration.py0test assigning a github issue to a user with linked github account
HIGH…try/integrations/github_enterprise/test_integration.py0test assigning a github issue to a user with linked github account
HIGHtests/sentry/integrations/github/test_integration.py0test assigning a github issue to a user with linked github account
HIGHtests/sentry/integrations/github/test_integration.py0test assigning a github issue to a user with linked github account
HIGH…y/integrations/github_enterprise/test_ticket_action.py0test that the absence of dynamic_form_fields in the action fails validation
137 more matches not shown…
Deep Nesting1015 hits · 958 pts
SeverityFileLineSnippet
LOWtools/flake8_plugin.py114
LOWtools/api_urls_to_typescript.py33
LOWtools/pin_github_action.py40
LOWtools/lint_requirements.py8
LOWtools/mypy_helpers/check_stronglist.py17
LOWtools/mypy_helpers/plugin.py191
LOWdevenv/post_fetch.py36
LOWbin/react-to-product-owners-yml-changes.py14
LOWtests/snuba/tasks/test_unmerge.py179
LOWtests/snuba/tasks/test_unmerge.py501
LOWtests/snuba/search/test_backend.py2467
LOWtests/snuba/api/endpoints/test_organization_trace.py654
LOW…ints/test_organization_events_heatmap_trace_metrics.py227
LOW…snuba/api/endpoints/test_organization_event_details.py345
LOW…snuba/api/endpoints/test_organization_event_details.py358
LOW…snuba/api/endpoints/test_organization_event_details.py382
LOW…ndpoints/test_organization_events_spans_performance.py122
LOWtests/sentry/options/test_manager.py302
LOWtests/sentry/silo/test_client.py115
LOWtests/sentry/silo/test_client.py176
LOWtests/sentry/silo/test_base.py26
LOWtests/sentry/tasks/test_reprocessing2.py282
LOWtests/sentry/tasks/test_commit_context.py702
LOWtests/sentry/tasks/seer/test_context_engine_index.py51
LOWtests/sentry/tasks/seer/test_context_engine_index.py94
LOW…sts/sentry/core/endpoints/test_organization_details.py1004
LOWtests/sentry/spans/consumers/process/test_consumer.py21
LOWtests/sentry/spans/consumers/process/test_consumer.py111
LOWtests/sentry/spans/consumers/process/test_flusher.py275
LOWtests/sentry/auth/authenticators/test_sms.py66
LOWtests/sentry/grouping/test_categorization.py150
LOWtests/sentry/grouping/test_enhancer.py32
LOWtests/sentry/utils/kvstore/test_common.py26
LOWtests/sentry/taskworker/test_timeout.py106
LOWtests/sentry/taskworker/test_timeout.py136
LOWtests/sentry/taskworker/test_config.py72
LOW…rod/vcs/status_checks/size/test_status_checks_tasks.py251
LOW…rod/vcs/status_checks/size/test_status_checks_tasks.py1361
LOW…ack/endpoints/test_organization_feedback_categories.py79
LOWtests/sentry/integrations/slack/test_message_builder.py911
LOWtests/sentry/integrations/slack/test_message_builder.py952
LOWtests/sentry/seer/agent/test_index_data.py155
LOWtests/sentry/hybridcloud/models/test_outbox.py110
LOWtests/sentry/hybridcloud/models/test_outbox.py433
LOWtests/sentry/users/models/test_user.py202
LOWtests/sentry/event_manager/test_event_manager.py2512
LOW…w_engine/migration_helpers/test_migrate_rule_action.py72
LOW…sentry/workflow_engine/processors/test_data_sources.py120
LOWtests/sentry/db/test_transactions.py100
LOWtests/sentry/db/test_transactions.py101
LOW…ntry/db/models/fields/test_hybrid_cloud_foreign_key.py8
LOWtests/sentry/api/test_path_params.py16
LOWtests/sentry/api/test_path_params.py38
LOWtests/sentry/api/test_event_search.py192
LOWtests/sentry/api/test_base.py525
LOWtests/sentry/api/serializers/test_group.py225
LOWtests/sentry/backup/test_coverage.py30
LOWtests/sentry/backup/test_invariants.py30
LOWtests/sentry/backup/test_invariants.py90
LOWtests/sentry/backup/test_imports.py358
955 more matches not shown…
Cross-Language Confusion151 hits · 758 pts
SeverityFileLineSnippet
HIGHtests/relay_integration/lang/java/test_plugin.py305 if (originalTrack == null) "ui.action.add" else "ui.action.edit",
HIGHtests/relay_integration/lang/java/test_plugin.py309 val name = nameInput.text.toString()
HIGHtests/relay_integration/lang/java/test_plugin.py310 val composer = composerInput.text.toString()
HIGHtests/relay_integration/lang/java/test_plugin.py311 val duration = durationInput.text.toString()
HIGHtests/relay_integration/lang/java/test_plugin.py312 val unitPrice = unitPriceInput.text.toString()
HIGHtests/relay_integration/lang/java/test_plugin.py347 albumId = null,
HIGHtests/relay_integration/lang/java/test_plugin.py349 mediaTypeId = null,
HIGHtests/relay_integration/lang/java/test_plugin.py350 genreId = null,
HIGHtests/relay_integration/lang/java/test_plugin.py352 bytes = null,
HIGHtests/relay_integration/lang/java/test_plugin.py291 durationInput.setText(millis.toString())
HIGHtests/relay_integration/lang/java/test_plugin.py292 unitPriceInput.setText(price.toString())
HIGHtests/relay_integration/lang/java/test_plugin.py324 if (originalTrack == null) {
HIGHtests/acceptance/test_scm_onboarding.py352 self.browser.driver.execute_script("window.__testOpenUrl = null;")
HIGHtests/acceptance/test_scm_onboarding.py317 window.__testOpenUrl = null;
HIGHtests/acceptance/test_error_page_embed.py29 const injectionPoint = window.document.head || window.document.body;
HIGHtests/sentry/tempest/test_tempest.py43 mock_fetch.return_value.content = b'{"latest_id": null}'
HIGHtests/sentry/preprod/test_tasks.py706 b'{"analysis_duration": 1.5, "download_size": 1000, "install_size": 2000, "treemap": null, "analysis_version
HIGHtests/sentry/preprod/test_tasks.py800 b'{"analysis_duration": 1.5, "download_size": 1000, "install_size": 2000, "treemap": null, "analysis_version
HIGHtests/sentry/preprod/test_tasks.py674 b'{"analysis_duration": 1.5, "download_size": 1000, "install_size": 2000, "treemap": null, "analysis_version
HIGHtests/sentry/preprod/test_tasks.py821 b'{"analysis_duration": 1.5, "download_size": 1000, "install_size": 2000, "treemap": null, "analysis_version
HIGHtests/sentry/preprod/test_tasks.py838 b'{"analysis_duration": 2.5, "download_size": 5000, "install_size": 10000, "treemap": null, "analysis_versio
HIGHtests/sentry/preprod/test_tasks.py876 b'{"analysis_duration": 2.5, "download_size": 5000, "install_size": 10000, "treemap": null, "analysis_versio
HIGHtests/sentry/preprod/test_tasks.py907 b'{"analysis_duration": 2.5, "download_size": 5000, "install_size": 10000, "treemap": null, "analysis_versio
HIGHtests/sentry/preprod/test_tasks.py920 b'{"analysis_duration": 1.5, "download_size": 3500, "install_size": 7000, "treemap": null, "analysis_version
HIGHtests/sentry/preprod/test_tasks.py948 b'{"analysis_duration": 1.5, "download_size": 1000, "install_size": 2000, "treemap": null, "analysis_ver
HIGHtests/sentry/preprod/test_tasks.py974 b'{"analysis_duration": 1.5, "download_size": 1000, "install_size": 2000, "treemap": null, "analysis_ver
HIGHtests/sentry/preprod/test_tasks.py990 b'{"analysis_duration": 2.5, "download_size": 5000, "install_size": 10000, "treemap": null, "analysis_ve
HIGHtests/sentry/integrations/vercel/test_uninstall.py49 "team" : null,
HIGHtests/sentry/integrations/vsts/test_client.py358 text='{"$id":"1","innerException":null,"message":"According to Microsoft Entra, your Identity xxx is current
HIGHtests/sentry/integrations/vsts/test_client.py397 == '{"$id":"1","innerException":null,"message":"According to Microsoft Entra, your Identity xxx is currently
HIGHtests/sentry/integrations/slack/test_unfurl.py1466 # aggregateField that parses to a non-dict (int, list, string, null)
HIGHtests/sentry/lang/javascript/test_errormapping.py21 "109": "%s.render(): A valid React element (or null) must be returned. You may have returned undefined, an arr
HIGHtests/sentry/lang/javascript/test_errormapping.py66 "Component.render(): A valid React element (or null) must be "
HIGHtests/sentry/lang/javascript/test_errormapping.py67 "returned. You may have returned undefined, an array or "
HIGHtests/sentry/lang/javascript/test_errormapping.py206 "109": "%s.render(): A valid React element (or null) must be returned. You may have returned undefined, an arr
HIGHtests/sentry/seer/similarity/test_utils.py845 assert filter_null_from_string(string_with_null) == 'String with null , "" is null'
HIGH…lays/endpoints/test_organization_replay_events_meta.py138 don't have this field populated (it is null). Over time this will no longer be
HIGHtests/sentry/event_manager/test_event_manager.py3501 """Test times_seen calculation with invalid sample rates (null, 0, negative, > 1)"""
HIGH…ry/workflow_engine/processors/test_delayed_workflow.py1165 ('{"event_id": null}', "event_id"), # null event_id
HIGHtests/sentry/snuba/metrics/test_extraction.py66 ("count()", "", False), # Malformed aggregate should return false
HIGHtests/sentry/backup/test_findings.py76 "left_pk": null,
HIGHtests/sentry/backup/test_validate.py425 "last_login": null,
HIGHtests/sentry/backup/test_validate.py433 "is_sentry_app": null,
HIGHtests/sentry/backup/test_validate.py352 "last_login": null,
HIGHtests/sentry/backup/test_validate.py369 "last_login": null,
HIGHtests/sentry/backup/test_validate.py609 "last_login": null,
HIGHtests/sentry/backup/test_validate.py620 "last_login": null,
HIGHtests/sentry/backup/test_validate.py661 "last_login": null,
HIGHtests/sentry/backup/test_validate.py672 "last_login": null,
HIGHtests/sentry/backup/test_validate.py718 "last_login": null,
HIGHtests/sentry/backup/test_validate.py729 "last_login": null,
HIGHtests/sentry/backup/test_validate.py766 "last_login": null,
HIGHtests/sentry/backup/test_validate.py777 "last_login": null,
HIGHtests/sentry/backup/test_validate.py821 "last_login": null,
HIGHtests/sentry/backup/test_validate.py866 "last_login": null,
HIGHself-hosted/sentry.conf.py77 "Error: REDIS_PORT_6379_TCP_ADDR (or SENTRY_REDIS_HOST) is undefined, did you forget to `--link` a redis contain
HIGHself-hosted/sentry.conf.py224 "Error: SENTRY_SECRET_KEY is undefined, run `generate-secret-key` and set to -e SENTRY_SECRET_KEY"
HIGHsrc/sentry_plugins/github/testutils.py176 "homepage": null,
HIGHsrc/sentry_plugins/github/testutils.py180 "language": null,
HIGHsrc/sentry_plugins/github/testutils.py186 "mirror_url": null,
91 more matches not shown…
Hallucination Indicators57 hits · 640 pts
SeverityFileLineSnippet
CRITICALtests/relay_integration/lang/java/test_plugin.py131 72:73:java.lang.String io.sentry.samples.instrumentation.data.Track.getName():46:46 -> onCreate
CRITICALtests/relay_integration/lang/java/test_plugin.py134 77:78:java.lang.String io.sentry.samples.instrumentation.data.Track.getComposer():48:48 -> onCreate
CRITICALtests/relay_integration/lang/java/test_plugin.py137 82:83:long io.sentry.samples.instrumentation.data.Track.getMillis():51:51 -> onCreate
CRITICALtests/relay_integration/lang/java/test_plugin.py140 91:92:float io.sentry.samples.instrumentation.data.Track.getPrice():53:53 -> onCreate
CRITICALtests/relay_integration/lang/java/test_plugin.py162 36:44:void io.sentry.samples.instrumentation.ui.AnotherClassInSameFile.otherFun():21 -> onMenuItemClick
CRITICALtests/relay_integration/lang/java/test_plugin.py163 36:44:void io.sentry.samples.instrumentation.ui.AnotherClassInSameFile.helloOther():17 -> onMenuItemClick
CRITICALtests/relay_integration/lang/java/test_plugin.py165 36:44:void io.sentry.samples.instrumentation.ui.SomeService.helloThere():5 -> onMenuItemClick
CRITICALtests/relay_integration/lang/java/test_plugin.py204 176:187:void io.sentry.samples.instrumentation.ui.EditActivity.addNewTrack(java.lang.String,java.lang.String,long,fl
CRITICALtests/relay_integration/lang/java/test_plugin.py209 188:190:void io.sentry.samples.instrumentation.ui.EditActivity.addNewTrack(java.lang.String,java.lang.String,long,fl
CRITICALtests/relay_integration/lang/java/test_plugin.py213 191:198:void io.sentry.samples.instrumentation.ui.EditActivity.addNewTrack(java.lang.String,java.lang.String,long,fl
CRITICALtests/relay_integration/lang/java/test_plugin.py227 239:250:void io.sentry.samples.instrumentation.ui.EditActivity.update(io.sentry.samples.instrumentation.data.Track,j
CRITICALtests/relay_integration/lang/java/test_plugin.py231 251:265:io.sentry.samples.instrumentation.data.Track io.sentry.samples.instrumentation.data.Track.copy(long,java.lan
CRITICALtests/relay_integration/lang/java/test_plugin.py233 251:265:void io.sentry.samples.instrumentation.ui.EditActivity.update(io.sentry.samples.instrumentation.data.Track,j
CRITICALtests/relay_integration/lang/java/test_plugin.py237 266:273:void io.sentry.samples.instrumentation.ui.EditActivity.update(io.sentry.samples.instrumentation.data.Track,j
CRITICALtests/sentry/auth/test_password_validation.py4from django.core.exceptions import ValidationError
CRITICALtests/sentry/models/test_release.py5from django.core.exceptions import ValidationError
CRITICALtests/sentry/models/test_orgauthtoken.py2from django.core.exceptions import ValidationError
CRITICALtests/sentry/integrations/discord/test_utils.py4from django.core.exceptions import ValidationError
CRITICALtests/sentry/integrations/discord/test_issue_alert.py6from django.core.exceptions import ValidationError
CRITICAL…ints/test_organization_integration_channel_validate.py5from django.core.exceptions import ValidationError
CRITICALtests/sentry/integrations/slack/utils/test_channel.py5from django.core.exceptions import ValidationError
CRITICALtests/sentry/workflow_engine/test_base.py7from django.core.exceptions import ValidationError
CRITICAL…flow_engine/endpoints/validators/actions/test_slack.py3from django.core.exceptions import ValidationError
CRITICAL…ow_engine/endpoints/validators/actions/test_discord.py3from django.core.exceptions import ValidationError
CRITICALtests/sentry/workflow_engine/models/test_workflow.py2from django.core.exceptions import ValidationError
CRITICALtests/sentry/db/models/fields/test_slug.py4from django.core.exceptions import ValidationError
CRITICAL…ents/endpoints/test_organization_alert_rule_details.py12from django.core.exceptions import ValidationError
CRITICAL…ntry/incidents/endpoints/validators/test_validators.py390 from django.core.exceptions import ValidationError
CRITICAL…/profiling/flamegraph/aggregateFlamegraphTreeTable.tsx267 selfWeight={r.item.node.node.totalWeight.toFixed(0)}
CRITICALsrc/social_auth/fields.py5from django.core.exceptions import ValidationError
CRITICALsrc/sentry/event_manager.py17from django.core.exceptions import ValidationError
CRITICALsrc/sentry/monitors/validators.py7from django.core.exceptions import ValidationError
CRITICALsrc/sentry/spans/consumers/process_segments/message.py12from django.core.exceptions import ValidationError
CRITICALsrc/sentry/runner/commands/createuser.py26 from django.core.exceptions import ValidationError
CRITICALsrc/sentry/runner/commands/createuser.py37 from django.core.exceptions import ValidationError
CRITICALsrc/sentry/stacktraces/functions.py8from django.core.exceptions import ValidationError
CRITICALsrc/sentry/utils/avatar.py13from django.core.exceptions import ValidationError
CRITICALsrc/sentry/models/orgauthtoken.py7from django.core.exceptions import ValidationError
CRITICALsrc/sentry/receivers/releases.py1from django.core.exceptions import ValidationError
CRITICALsrc/sentry/integrations/discord/utils/channel.py5from django.core.exceptions import ValidationError
CRITICAL…/sentry/integrations/discord/utils/channel_from_url.py3from django.core.exceptions import ValidationError
CRITICAL…entry/integrations/discord/actions/issue_alert/form.py6from django.core.exceptions import ValidationError
CRITICAL…endpoints/organization_integration_channel_validate.py6from django.core.exceptions import ValidationError
CRITICALsrc/sentry/integrations/slack/utils/channel.py7from django.core.exceptions import ValidationError
CRITICALsrc/sentry/integrations/slack/actions/form.py8from django.core.exceptions import ValidationError
CRITICALsrc/sentry/seer/anomaly_detection/store_data.py8from django.core.exceptions import ValidationError
CRITICAL…y/seer/anomaly_detection/store_data_workflow_engine.py5from django.core.exceptions import ValidationError
CRITICALsrc/sentry/release_health/tasks.py7from django.core.exceptions import ValidationError
CRITICALsrc/sentry/relocation/tasks/process.py17from django.core.exceptions import ValidationError
CRITICALsrc/sentry/data_export/endpoints/data_export.py5from django.core.exceptions import ValidationError
CRITICALsrc/sentry/db/models/fields/jsonfield.py33from django.core.exceptions import ValidationError
CRITICALsrc/sentry/api/endpoints/organization_auth_tokens.py3from django.core.exceptions import ValidationError
CRITICALsrc/sentry/backup/services/import_export/impl.py11from django.core.exceptions import ValidationError as DjangoValidationError
CRITICALsrc/sentry/uptime/autodetect/url_extraction.py6from django.core.exceptions import ValidationError
CRITICAL…notifications/notification_action/action_validation.py3from django.core.exceptions import ValidationError
CRITICALsrc/sentry/notifications/notification_action/types.py7from django.core.exceptions import ValidationError
CRITICALsrc/sentry/incidents/metric_issue_detector.py4from django.core.exceptions import ValidationError
Decorative Section Separators160 hits · 553 pts
SeverityFileLineSnippet
MEDIUMtests/relay_integration/lang/javascript/test_plugin.py778 # ------------
MEDIUMtests/relay_integration/lang/javascript/test_plugin.py814 # ----------
MEDIUMtests/relay_integration/lang/javascript/test_plugin.py846 # ----------
MEDIUMtests/relay_integration/lang/javascript/test_plugin.py927 # ------------
MEDIUMtests/relay_integration/lang/javascript/test_plugin.py967 # ----------
MEDIUMtests/relay_integration/lang/javascript/test_plugin.py1005 # ----------
MEDIUM…ntry/grouping/test_enhancer_dart_flutter_javascript.py30 # ------------------------------------------------------------------
MEDIUM…ntry/grouping/test_enhancer_dart_flutter_javascript.py32 # ------------------------------------------------------------------
MEDIUM…ntry/grouping/test_enhancer_dart_flutter_javascript.py47 # ------------------------------------------------------------------
MEDIUM…ntry/grouping/test_enhancer_dart_flutter_javascript.py49 # ------------------------------------------------------------------
MEDIUM…ntry/grouping/test_enhancer_dart_flutter_javascript.py62 # ------------------------------------------------------------------
MEDIUM…ntry/grouping/test_enhancer_dart_flutter_javascript.py64 # ------------------------------------------------------------------
MEDIUM…s/sentry/grouping/test_enhancer_dart_flutter_native.py33 # ---------------------------------------------------------------------
MEDIUM…s/sentry/grouping/test_enhancer_dart_flutter_native.py35 # ---------------------------------------------------------------------
MEDIUM…s/sentry/grouping/test_enhancer_dart_flutter_native.py62 # ------------------------------------------------------------------
MEDIUM…s/sentry/grouping/test_enhancer_dart_flutter_native.py64 # ------------------------------------------------------------------
MEDIUM…s/sentry/grouping/test_enhancer_dart_flutter_native.py89 # ------------------------------------------------------------------
MEDIUM…s/sentry/grouping/test_enhancer_dart_flutter_native.py91 # ------------------------------------------------------------------
MEDIUM…s/sentry/grouping/test_enhancer_dart_flutter_native.py117 # ------------------------------------------------------------------
MEDIUM…s/sentry/grouping/test_enhancer_dart_flutter_native.py119 # ------------------------------------------------------------------
MEDIUM…s/sentry/grouping/test_enhancer_dart_flutter_native.py134 # ------------------------------------------------------------------
MEDIUM…s/sentry/grouping/test_enhancer_dart_flutter_native.py136 # ------------------------------------------------------------------
MEDIUM…s/sentry/grouping/test_enhancer_dart_flutter_native.py149 # ------------------------------------------------------------------
MEDIUM…s/sentry/grouping/test_enhancer_dart_flutter_native.py151 # ------------------------------------------------------------------
MEDIUM…s/sentry/grouping/test_enhancer_dart_flutter_native.py163 # ------------------------------------------------------------------
MEDIUM…s/sentry/grouping/test_enhancer_dart_flutter_native.py165 # ------------------------------------------------------------------
MEDIUM…sts/sentry/preprod/test_build_distribution_webhooks.py20 # ------------------------------------------------------------------
MEDIUM…sts/sentry/preprod/test_build_distribution_webhooks.py22 # ------------------------------------------------------------------
MEDIUM…sts/sentry/preprod/test_build_distribution_webhooks.py79 # ------------------------------------------------------------------
MEDIUM…sts/sentry/preprod/test_build_distribution_webhooks.py81 # ------------------------------------------------------------------
MEDIUM…sts/sentry/preprod/test_build_distribution_webhooks.py244 # ------------------------------------------------------------------
MEDIUM…sts/sentry/preprod/test_build_distribution_webhooks.py246 # ------------------------------------------------------------------
MEDIUM…sts/sentry/preprod/test_build_distribution_webhooks.py264 # ------------------------------------------------------------------
MEDIUM…sts/sentry/preprod/test_build_distribution_webhooks.py266 # ------------------------------------------------------------------
MEDIUM…sts/sentry/preprod/test_build_distribution_webhooks.py182 # ------------------------------------------------------------------
MEDIUM…sts/sentry/preprod/test_build_distribution_webhooks.py184 # ------------------------------------------------------------------
MEDIUMtests/sentry/preprod/size_analysis/test_webhooks.py108 # ------------------------------------------------------------------
MEDIUMtests/sentry/preprod/size_analysis/test_webhooks.py110 # ------------------------------------------------------------------
MEDIUMtests/sentry/preprod/size_analysis/test_webhooks.py179 # ------------------------------------------------------------------
MEDIUMtests/sentry/preprod/size_analysis/test_webhooks.py181 # ------------------------------------------------------------------
MEDIUMtests/sentry/preprod/size_analysis/test_webhooks.py489 # ------------------------------------------------------------------
MEDIUMtests/sentry/preprod/size_analysis/test_webhooks.py491 # ------------------------------------------------------------------
MEDIUMtests/sentry/preprod/size_analysis/test_webhooks.py531 # ------------------------------------------------------------------
MEDIUMtests/sentry/preprod/size_analysis/test_webhooks.py533 # ------------------------------------------------------------------
MEDIUMtests/sentry/preprod/size_analysis/test_webhooks.py25 # ------------------------------------------------------------------
MEDIUMtests/sentry/preprod/size_analysis/test_webhooks.py27 # ------------------------------------------------------------------
MEDIUMtests/sentry/preprod/size_analysis/test_webhooks.py419 # ------------------------------------------------------------------
MEDIUMtests/sentry/preprod/size_analysis/test_webhooks.py421 # ------------------------------------------------------------------
MEDIUM…ts/sentry/integrations/claude_code/test_integration.py214 # ── get_client ───────────────────────────────────────────────────
MEDIUM…ts/sentry/integrations/claude_code/test_integration.py318 # ── agent_version coercion ───────────────────────────────────────
MEDIUM…ts/sentry/integrations/claude_code/test_integration.py339 # ── Property getters ─────────────────────────────────────────────
MEDIUM…ts/sentry/integrations/claude_code/test_integration.py354 # ── update_organization_config ───────────────────────────────────
MEDIUM…ts/sentry/integrations/claude_code/test_integration.py380 # ── get_config_data ──────────────────────────────────────────────
MEDIUM…ts/sentry/integrations/claude_code/test_integration.py82 # ── Provider metadata ────────────────────────────────────────────
MEDIUM…ts/sentry/integrations/claude_code/test_integration.py91 # ── build_integration ────────────────────────────────────────────
MEDIUM…ts/sentry/integrations/claude_code/test_integration.py416 # ── launch ───────────────────────────────────────────────────────
MEDIUMtests/sentry/seer/agent/test_service_map_utils.py279# =========================================================================================
MEDIUMtests/sentry/seer/agent/test_service_map_utils.py281# =========================================================================================
MEDIUMtests/sentry/seer/code_review/test_preflight.py42 # -------------------------------------------------------------------------
MEDIUMtests/sentry/seer/code_review/test_preflight.py44 # -------------------------------------------------------------------------
100 more matches not shown…
Redundant / Tautological Comments246 hits · 439 pts
SeverityFileLineSnippet
LOWtools/api_urls_to_typescript.py68 # Check if this match is inside a named group by looking backwards
LOWtools/api_urls_to_typescript.py80 # Check if this is a named group by looking for (?P<
LOWtests/sentry/tasks/test_reprocessing2.py55 # Set platform to native so all parts of reprocessing fire, symbolication will
LOWtests/sentry/tasks/test_post_process.py3142 # Set times_seen_pending to 0 to ensure times_seen_with_pending < 10
LOWtests/sentry/tasks/test_clear_expired_snoozes.py38 # Check if unexpired snooze got cleared
LOWtests/sentry/tasks/test_clear_expired_snoozes.py70 # Check if unexpired snooze got cleared
LOW…notification_action_notification_message_repository.py163 # Check if all notification messages are returned
LOW…notification_action_notification_message_repository.py187 # Check if only the notifications related to the specified action
LOW…notification_action_notification_message_repository.py211 # Check if only the notifications related to the specified group
LOWtests/sentry/integrations/pagerduty/test_client.py131 # Check if metrics is generated properly
LOWtests/sentry/integrations/pagerduty/test_client.py192 # Check if metrics is generated properly
LOW…ts/sentry/integrations/msteams/test_message_builder.py389 # Check if card is serializable to json
LOWtests/sentry/integrations/msteams/test_webhook.py484 # Check if metrics is generated properly
LOWtests/sentry/integrations/msteams/test_client.py129 # Check if metrics is generated properly
LOWtests/sentry/integrations/msteams/test_client.py167 # Check if metrics is generated properly
LOWtests/sentry/integrations/vsts/test_client.py185 # Check if metrics is generated properly
LOWtests/sentry/seer/autofix/test_issue_summary.py127 # Check if the cache was set correctly
LOWtests/sentry/seer/autofix/test_issue_summary.py687 # Check if the cache was set correctly
LOWtests/sentry/seer/agent/test_tools.py2621 # Set profile_id to None since continuous profiles use profiler_id instead
LOW…w_engine/endpoints/test_organization_workflow_index.py1679 # Set workflows to disabled for PUT tests
LOWtests/sentry/api/endpoints/test_debug_files.py325 # Set organization to "member" - member should be able to download
LOW…sts/sentry/api/endpoints/test_relay_globalconfig_v3.py37 # Set options to Relay's non-default values to avoid Relay skipping deserialization
LOWtests/sentry/issues/test_occurrence_consumer.py626 # Check if cache.set is called with the correct parameters
LOW…ntry/issues/endpoints/test_organization_group_index.py1498 # Assign group to another user and now it shouldn't show up in owner search for this team.
LOWtests/sentry/testutils/thread_leaks/test_pytest.py25 # Set _where to simulate thread leak tracking
LOWtests/sentry/testutils/thread_leaks/test_pytest.py65 # Set _where to simulate thread leak tracking
LOWtests/sentry/testutils/thread_leaks/test_pytest.py118 # Set _where to simulate thread leak tracking
LOW…idents/endpoints/test_organization_alert_rule_index.py2004 # Set limit to 2 alert rules
LOW…sentry/deletions/test_validate_group_related_models.py61 # Check if it points to Group
LOW…c/app/gettingStartedDocs/python-chalice/onboarding.tsx32 # Set traces_sample_rate to 1.0 to capture 100%
LOW…c/app/gettingStartedDocs/python-chalice/onboarding.tsx40 # Set profiles_sample_rate to 1.0 to profile 100%
LOW…c/app/gettingStartedDocs/python-chalice/onboarding.tsx47 # Set profile_session_sample_rate to 1.0 to profile 100%
LOW…c/app/gettingStartedDocs/python-chalice/onboarding.tsx50 # Set profile_lifecycle to "trace" to automatically
LOW…tic/app/gettingStartedDocs/python-quart/onboarding.tsx33 # Set traces_sample_rate to 1.0 to capture 100%
LOW…tic/app/gettingStartedDocs/python-quart/onboarding.tsx41 # Set profiles_sample_rate to 1.0 to profile 100%
LOW…tic/app/gettingStartedDocs/python-quart/onboarding.tsx48 # Set profile_session_sample_rate to 1.0 to profile 100%
LOW…tic/app/gettingStartedDocs/python-quart/onboarding.tsx51 # Set profile_lifecycle to "trace" to automatically
LOWstatic/app/gettingStartedDocs/python-rq/onboarding.tsx27 # Set traces_sample_rate to 1.0 to capture 100%
LOWstatic/app/gettingStartedDocs/python-rq/onboarding.tsx35 # Set profiles_sample_rate to 1.0 to profile 100%
LOWstatic/app/gettingStartedDocs/python-rq/onboarding.tsx42 # Set profile_session_sample_rate to 1.0 to profile 100%
LOWstatic/app/gettingStartedDocs/python-rq/onboarding.tsx45 # Set profile_lifecycle to "trace" to automatically
LOW…c/app/gettingStartedDocs/python-tornado/onboarding.tsx33 # Set traces_sample_rate to 1.0 to capture 100%
LOW…c/app/gettingStartedDocs/python-tornado/onboarding.tsx41 # Set profiles_sample_rate to 1.0 to profile 100%
LOW…c/app/gettingStartedDocs/python-tornado/onboarding.tsx48 # Set profile_session_sample_rate to 1.0 to profile 100%
LOW…c/app/gettingStartedDocs/python-tornado/onboarding.tsx51 # Set profile_lifecycle to "trace" to automatically
LOW…/app/gettingStartedDocs/python-litestar/onboarding.tsx30 # Set traces_sample_rate to 1.0 to capture 100%
LOW…/app/gettingStartedDocs/python-litestar/onboarding.tsx38 # Set profiles_sample_rate to 1.0 to profile 100%
LOW…/app/gettingStartedDocs/python-litestar/onboarding.tsx45 # Set profile_session_sample_rate to 1.0 to profile 100%
LOW…/app/gettingStartedDocs/python-litestar/onboarding.tsx48 # Set profile_lifecycle to "trace" to automatically
LOW…c/app/gettingStartedDocs/python-fastapi/onboarding.tsx31 # Set traces_sample_rate to 1.0 to capture 100%
LOW…c/app/gettingStartedDocs/python-fastapi/onboarding.tsx39 # Set profiles_sample_rate to 1.0 to profile 100%
LOW…c/app/gettingStartedDocs/python-fastapi/onboarding.tsx46 # Set profile_session_sample_rate to 1.0 to profile 100%
LOW…c/app/gettingStartedDocs/python-fastapi/onboarding.tsx49 # Set profile_lifecycle to "trace" to automatically
LOWstatic/app/gettingStartedDocs/python/profiling.tsx24 # Set traces_sample_rate to 1.0 to capture 100%
LOWstatic/app/gettingStartedDocs/python/profiling.tsx27 # Set profile_session_sample_rate to 1.0 to profile 100%
LOWstatic/app/gettingStartedDocs/python/profiling.tsx30 # Set profile_lifecycle to "trace" to automatically
LOWstatic/app/gettingStartedDocs/python/profiling.tsx37 # Set profile_session_sample_rate to 1.0 to profile 100%
LOWstatic/app/gettingStartedDocs/python/profiling.tsx41 # Set traces_sample_rate to 1.0 to capture 100%
LOWstatic/app/gettingStartedDocs/python/profiling.tsx44 # Set profiles_sample_rate to 1.0 to profile 100%
LOWstatic/app/gettingStartedDocs/python/onboarding.tsx29 # Set traces_sample_rate to 1.0 to capture 100%
186 more matches not shown…
Fake / Example Data261 hits · 275 pts
SeverityFileLineSnippet
LOWtests/js/sentry-test/reactTestingLibrary.spec.tsx144 <button onClick={() => setSearchParams({id: '200', name: 'Jane Doe'})}>
LOWtests/js/sentry-test/reactTestingLibrary.spec.tsx159 name: 'John Doe',
LOWtests/js/sentry-test/reactTestingLibrary.spec.tsx173 expect(router.location.query).toEqual({id: '200', name: 'Jane Doe'});
LOWtests/flagpole/test_conditions.py242 context=EvaluationContext({"email": "user@example.com"}), segment_name="test"
LOWtests/flagpole/test_conditions.py354 context=EvaluationContext({"email": "user@example.com"}), segment_name="test"
LOWtests/sentry_plugins/sessionstack/test_plugin.py34 "account_email": "user@example.com",
LOWtests/sentry_plugins/sessionstack/test_plugin.py55 self.plugin.set_option("account_email", "user@example.com", self.project)
LOWtests/sentry_plugins/jira/test_plugin.py198 "emailAddress": "user@example.com",
LOW…dpoints/test_organization_events_stats_span_indexed.py2367 self.user = self.create_user("user@example.com", is_superuser=False)
LOWtests/snuba/api/endpoints/test_organization_events.py6007 self.user = self.create_user("user@example.com", is_superuser=False)
LOW…api/endpoints/test_organization_events_span_indexed.py4842 "user.email": "test@test.com",
LOW…api/endpoints/test_organization_events_span_indexed.py4855 "sentry_tags": {"user.email": "test@test.com"},
LOW…api/endpoints/test_organization_events_span_indexed.py1521 "sentry_tags": {"user.email": "test@test.com"},
LOW…api/endpoints/test_organization_events_span_indexed.py1549 "user.display": "test@test.com",
LOW…api/endpoints/test_organization_events_span_indexed.py4816 "sentry_tags": {"user.email": "test@test.com"},
LOW…endpoints/test_organization_events_timeseries_spans.py143 self.user = self.create_user("user@example.com", is_superuser=False)
LOWtests/sentry/flags/endpoints/test_secrets.py184 new_user = self.create_user("test@test.com")
LOWtests/sentry/flags/endpoints/test_secrets.py224 new_user = self.create_user("test@test.com")
LOWtests/sentry/flags/endpoints/test_secrets.py255 new_user = self.create_user("test@test.com")
LOW…try/auth_v2/endpoints/test_auth_merge_user_accounts.py70 self.unrelated_user = self.create_user(email="foo@bar.com")
LOW…ry/spans/consumers/process_segments/test_enrichment.py522 ATTRIBUTE_NAMES.USER_EMAIL: {"type": "string", "value": "user@example.com"},
LOWtests/sentry/auth/test_helper.py1115 self.admin_user = self.create_user(email="admin@example.com")
LOWtests/sentry/auth/test_helper.py1169 result = self._run_setup_pipeline_with_identity_email("admin@example.com")
LOWtests/sentry/runner/commands/test_backup.py597 self.create_user("admin@example.com", is_staff=True, is_superuser=True)
LOWtests/sentry/models/test_organizationmember.py100 member = OrganizationMember(id=1, organization=self.organization, email="admin@example.com")
LOWtests/sentry/models/test_organizationmember.py108 member = OrganizationMember(id=1, organization=org, email="user@example.com")
LOWtests/sentry/models/test_organizationmember.py389 email="admin@example.com",
LOWtests/sentry/models/test_projectkey.py57 self.create_user("admin@example.com")
LOW…y/feedback/endpoints/test_organization_user_reports.py18 self.user = self.create_user("test@test.com")
LOW…entry/feedback/usecases/ingest/test_create_feedback.py94 "sentry_user": "test@test.com",
LOWtests/sentry/integrations/github/test_repository.py78 "name": "Jane Doe",
LOWtests/sentry/integrations/perforce/test_client.py308 "FullName": "John Doe",
LOWtests/sentry/integrations/perforce/test_client.py322 assert user_info["full_name"] == "John Doe"
LOWtests/sentry/sentry_apps/test_sentry_app_creator.py26 self.user = self.create_user(email="foo@bar.com", username="scuba_steve")
LOWtests/sentry/sentry_apps/test_sentry_app_creator.py78 assert sentry_app.creator_label == "foo@bar.com"
LOW…apps/api/endpoints/test_sentry_app_webhook_requests.py21 self.user = self.create_user(email="user@example.com")
LOW…try/sentry_apps/api/endpoints/test_sentry_app_stats.py11 self.user = self.create_user(email="user@example.com")
LOW…sentry/seer/endpoints/test_project_seer_preferences.py16 self.user = self.create_user(email="user@example.com")
LOWtests/sentry/replays/unit/test_issue_creation.py51 "email": "test@test.com",
LOWtests/sentry/replays/unit/test_issue_creation.py151 "email": "test@test.com",
LOWtests/sentry/eventtypes/test_feedback.py15 "contact_email": "test@test.com",
LOWtests/sentry/eventtypes/test_feedback.py23 "contact_email": "test@test.com",
LOWtests/sentry/relocation/tasks/test_process.py560 "admin@example.com",
LOWtests/sentry/relocation/tasks/test_process.py585 "admin@example.com",
LOWtests/sentry/relocation/tasks/test_process.py2309 assert "admin@example.com" in email_targets
LOWtests/sentry/relocation/tasks/test_process.py2324 admin: User = User.objects.get(id=self.imported_users["1"], email="admin@example.com")
LOWtests/sentry/relocation/tasks/test_process.py2263 self.relocation.want_usernames = ["admin@example.com", "member@example.com"]
LOWtests/sentry/relocation/tasks/test_process.py2342 assert "admin@example.com" not in email_targets
LOW…sentry/workflow_engine/models/test_json_config_base.py18 "email": "user@example.com",
LOW…sentry/workflow_engine/models/test_json_config_base.py19 "fullName": "John Doe",
LOW…/models/fields/encryption/test_encrypted_json_field.py132 "user": {"id": 123, "email": "user@example.com"},
LOW…/models/fields/encryption/test_encrypted_json_field.py156 assert "user@example.com" not in raw_value
LOW…try/api/endpoints/test_organization_pinned_searches.py17 user = self.create_user("test@test.com")
LOW…try/api/endpoints/test_organization_pinned_searches.py148 user = self.create_user("test@test.com")
LOW…entry/api/endpoints/test_organization_api_key_index.py24 admin_user = self.create_user("admin@example.com", is_superuser=True)
LOWtests/sentry/api/endpoints/test_api_tokens.py95 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
LOWtests/sentry/api/endpoints/test_api_tokens.py95 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
LOW…ntry/api/endpoints/test_organization_search_details.py17 user = self.create_user("test@test.com")
LOW…ntry/api/endpoints/test_organization_search_details.py112 user = self.create_user("test@test.com")
LOW…sts/sentry/api/endpoints/test_organization_releases.py3116 user = self.create_user("user@example.com")
201 more matches not shown…
Over-Commented Block214 hits · 206 pts
SeverityFileLineSnippet
LOWwarden.toml1# Warden Configuration
LOWrspack.config.ts121//
LOWrspack.config.ts721
LOWtests/conftest.py21from django.db import connections
LOWtests/js/sentry-test/selectEvent.tsx1// Based on https://github.com/romgain/react-select-event
LOWtests/snuba/test_util.py41 assert snuba.shrink_time_window(issues, year_ago) == naive_now - timedelta(
LOWtests/snuba/search/test_backend.py2221 assert set(results) == {self.group1}
LOWtests/snuba/search/test_backend.py2341 # group first_release
LOW…sts/sentry/releases/endpoints/test_project_releases.py281 # response = self.client.get(url, format='json')
LOWtests/sentry/tasks/test_relay.py41 # This contraption helps in testing the usage of `transaction.on_commit` in
LOW…s/sentry/core/endpoints/scim/test_scim_user_details.py621 assert response.data == {
LOW…s/sentry/core/endpoints/scim/test_scim_user_details.py641 # url = reverse("sentry-api-0-organization-scim-member-index", args=[self.organization.slug])
LOWtests/sentry/grouping/test_parameterization.py681 # - To show that parameterization runs twice, and that the fallback is necessary, mock the
LOWtests/sentry/grouping/test_categorization.py241def _pre_scrub_event(data: dict[str, Any]) -> dict[str, Any]:
LOWtests/sentry/grouping/enhancements/test_hints.py41 # final_in_app: True or False
LOWtests/sentry/lang/native/test_applecrashreport.py3211 SwiftExample 0xf6cd4 @objc ViewController.onClickFatalError(AnyObject) -> ()"""
LOWtests/sentry/seer/similarity/__init__.py1# This file is necessary because we have multiple test files named `test_utils.py`, which confuses
LOWtests/sentry/seer/code_review/__init__.py1# This file is necessary because we have multiple test files named `test_utils.py`, which confuses
LOW…dpoints/test_project_replay_recording_segment_index.py141 # do not error it means these empty rows were not retured.
LOW…ry/replays/endpoints/test_organization_replay_index.py1181 }
LOW…ry/replays/endpoints/test_organization_replay_index.py1201 # {
LOW…ts/sentry/event_manager/test_event_manager_grouping.py401 def test_cache_invalidation_error_handling(self) -> None:
LOW…/sentry/db/postgres/schema/safe_migrations/__init__.py1# Subset of tests taken from https://github.com/tbicr/django-pg-zero-downtime-migrations/tree/c029caac8d0cdaeef1d88870f0
LOWstatic/app/index.tsx1// This is the entry point of Sentry's frontend application. Want to
LOWstatic/app/index.tsx21// a. The locale module will be initialized using `initializeLocale`. See this
LOWstatic/app/index.tsx41// in the `window.__onSentryInit` array from outside of the app. This is
LOWstatic/app/locale.tsx361 countArg = Math.abs(args[0] as number) || 0;
LOWstatic/app/types/echarts.tsx101 // incoming data value
LOWstatic/app/utils/useHoverOverlay.tsx321
LOWstatic/app/utils/oxfordizeArray.tsx1// Given a list of strings (probably nouns), join them into a single string
LOW…ic/app/utils/feedback/coaleseIssueStatsPeriodQuery.tsx21 // for a while) they can trigger that specifically.
LOWstatic/app/utils/search/fzf.tsx1// Port of the fzf v1 algorithm to typescript
LOWstatic/app/utils/profiling/speedscope.tsx1// Port of some helper classes from speedscope, a lot of these have been changed to fit our usage and the port
LOW…tic/app/components/forms/fields/accessibility.spec.tsx21import {SelectField} from './selectField';
LOW…/app/components/core/slideOverPanel/slideOverPanel.tsx61 // `isTransitioning` set to `false`. We render the children and pass
LOWstatic/app/components/core/select/select.tsx541
LOW…ents/searchQueryBuilder/hooks/useQueryBuilderState.tsx681// Normalizes a filter value so that different surface representations of the
LOWstatic/app/components/arithmeticBuilder/validator.tsx41 if (!defined(token)) {
LOWstatic/app/components/replays/videoReplayer.tsx701 // edge case where we have a gap between start of replay and first segment
LOWstatic/app/components/replays/deserializeCanvasArgs.ts61 // ...(await Promise.all(args.map(deserializeCanvasArg(imageMap, ctx, preload))))
LOW…components/profiling/flamegraph/flamegraphUIFrames.tsx221 if (!configSpaceCursor) {
LOWstatic/app/components/events/rrwebReplayer/index.tsx21 try {
LOW…nts/events/interfaces/crashContent/exception/utils.tsx21 // [-a-zA-Z0-9@:%._\+~#=]{1,256}: Matches the domain name
LOWstatic/app/data/platformProductInfo.generated.ts1// DO NOT EDIT — regenerate via `pnpm gen:platform-info`.
LOW…egrationOrganizationLink/gitHubInstallationCallout.tsx21 };
LOW…s/components/settingsBreadcrumb/breadcrumbDropdown.tsx81 menuHasHover: boolean;
LOWstatic/app/views/issueDetails/groupDetails.tsx361 useEffect(() => {
LOW…/explore/releases/releaseBubbles/useReleaseBubbles.tsx141 const numberReleases = dataItem.releases.length + dataItem.flags.length;
LOW…/explore/releases/releaseBubbles/useReleaseBubbles.tsx161 // timestamp. This matches the behavior of EChart's bar charts.
LOW…releases/releaseBubbles/utils/createReleaseBuckets.tsx1import type {RawFlag} from 'sentry/components/featureFlags/utils';
LOW…releases/releaseBubbles/utils/createReleaseBuckets.tsx81 }
LOW…ic/app/views/explore/replays/detail/console/format.tsx1// This is based on https://github.com/browserify/node-util/blob/master/util.js
LOW…boards/widgetBuilder/components/queryFilterBuilder.tsx61 // Multiple filter conditions allow comparing different data slices as overlays.
LOW…rds/widgetBuilder/components/widgetBuilderSlideout.tsx181 !(state.dataset === WidgetType.ISSUE && usesTimeSeriesData(state.displayType));
LOW…/timeSeriesWidget/formatters/formatTimeSeriesLabel.tsx41
LOW…rformance/newTraceDetails/traceRenderers/traceView.tsx1import {mat3} from 'gl-matrix';
LOWstatic/app/router/routes.tsx61 // editors shortcuts to jump between 'paragraphs' of code.
LOWstatic/app/router/routes.tsx81 //
LOWstatic/app/router/routes.tsx101 // composed of a few different sub-trees.
LOW…atic/less/includes/bootstrap/responsive-utilities.less1// stylelint-disable declaration-no-important, at-rule-no-vendor-prefix
154 more matches not shown…
AI Slop Vocabulary104 hits · 192 pts
SeverityFileLineSnippet
LOW…snuba/api/endpoints/test_organization_tagkey_values.py122 # default test ignore count just use timestamp
LOWtests/sentry/search/events/builder/test_metrics.py555 # Less than a minute, no reason to work hard for such a small window, just use a minute
LOWtests/sentry/search/events/builder/test_metrics.py1779 # Less than a minute, no reason to work hard for such a small window, just use a minute
LOWtests/sentry/search/events/builder/test_span_metrics.py134 # Less than a minute, no reason to work hard for such a small window, just use a minute
LOW…try/integrations/github_enterprise/test_integration.py891 # Should not raise an exception, just return early
LOWtests/sentry/integrations/github/test_integration.py1695 # Should not raise an exception, just return early
LOWtests/sentry/integrations/github/test_client.py931 # Following requests should just add headers
MEDIUMtests/sentry/users/api/endpoints/test_user_details.py222 # Even if user is in an org, they can't elevate without SUPERUSER_ORG_ID configured
LOWtests/sentry/event_manager/test_event_manager.py2066 # the basic strategy is to simply use the description
MEDIUM…nts/serializers/test_workflow_engine_data_condition.py210 # create another comprehensive alert rule in the DB
LOWtests/sentry/deletions/test_debugfiles.py14 # What is this even testing? I could as well just call `.delete()` directly?
MEDIUM…c/app/components/onboarding/useRecentCreatedProject.ts33// It uses useProjects() to leverage already loaded data while also fetching for updates
MEDIUMstatic/app/gettingStartedDocs/ionic/index.tsx2// Consequently, they can utilize the same SDK documentation, specifically that of Capacitor.
MEDIUM…/explore/releases/releaseBubbles/useReleaseBubbles.tsx608 // @ts-expect-error `getModel` is private, but we access it to prevent binding mouse events to an instance of ECha
MEDIUM…rmance/newTraceDetails/traceState/tracePreferences.tsx125 // We need a more robust way to validate the stored preferences.
MEDIUM…nce/transactionSummary/transactionOverview/content.tsx152 // NOTE: This is not a robust check for whether or not a transaction is a front end
MEDIUM…nce/transactionSummary/transactionOverview/content.tsx422 // NOTE: This is not a robust check for whether or not a transaction is a front end
LOW.github/workflows/development-environment.yml67 # technically we can just use --only-dev but more cache is nice
LOWsrc/sentry_plugins/jira/plugin.py131 # still no issue type? just use the first one.
LOWsrc/sentry_plugins/jira/plugin.py347 # invalid path, so let's just use the correct, documented one here:
LOWsrc/sentry/reprocessing2.py726 # assume that reprocessing is stuck, and will just call finish on it.
LOWsrc/sentry/monitors/utils.py123 # TODO(epurkhiser): We should probably just set this value as a
LOWsrc/sentry/monitors/clock_tasks/check_missed.py137 # If we simply set our mark_failed reference timestamp to the failing
LOWsrc/sentry/options/store.py170 # Key is within normal expiry window, so just return it
MEDIUMsrc/sentry/tasks/symbolication.py333# burdened by aforementioned legacy concerns.
LOWsrc/sentry/tasks/assemble.py503 # In case there is not ArtifactBundle with a specific bundle_id, we just create it and return.
LOWsrc/sentry/tasks/post_process.py1303 # Since plugins are deprecated, instead of creating issues, lets just create a warning log
LOWsrc/sentry/discover/arithmetic.py241 # if remaining is a node lhs contains a factor so just return that
MEDIUMsrc/sentry/core/endpoints/scim/utils.py108 # The scim endpoints should only be used in conjunction with a SAML2 integration
LOWsrc/sentry/tsdb/base.py254 # If nothing actually matches the requested range, just return the
LOWsrc/sentry/plugins/bases/issue2.py485 # TODO(dcramer): update existing plugins to just use get_config
LOWsrc/sentry/grouping/strategies/base.py204 # obsolete enhancements version, in which case we just use the default enhancements for
LOWsrc/sentry/grouping/fingerprinting/utils.py296 # can remove `use_legacy_unknown_variable_handling` and just return the string. (At that
LOWsrc/sentry/grouping/fingerprinting/utils.py362 # can remove `use_legacy_unknown_variable_handling` and just return the value given by
LOWsrc/sentry/utils/marketo_client.py19 # just use the first error
LOWsrc/sentry/utils/sdk.py193 # If there's already a sampling decision, just use that
LOWsrc/sentry/utils/snuba.py222 # We should be able to delete origin.transaction and just use transaction
LOWsrc/sentry/utils/snuba.py1583 # At leaf level, just return the aggregations from the first data row
LOWsrc/sentry/utils/snuba.py1585 # Special case, if there is only one aggregate, just return the raw value
LOWsrc/sentry/utils/samples.py529 # not the best but just set the exclusive time
LOWsrc/sentry/utils/samples.py599 # not the best but just set the exclusive time
LOWsrc/sentry/utils/kvstore/bigtable.py175 # at all, so we just return the data and hope for the best. It is
MEDIUMsrc/sentry/preprod/tasks.py647 # preprod_artifact. This isn't yet robust to:
MEDIUMsrc/sentry/preprod/tasks.py772 # preprod_artifact. This isn't yet robust to:
MEDIUMsrc/sentry/models/statistical_detectors.py55 # be checked in conjunction with the issue group status to determine
LOWsrc/sentry/explore/translation/discover_translation.py69 # If it's not in the selected fields, just pass it down as is
LOWsrc/sentry/search/eap/occurrences/search_executor.py48# TODO: instead of translating this key, maybe we should just set the public alias for this attribute to "error.main_thr
MEDIUMsrc/sentry/search/snuba/executors.py172 """This class serves as a template for Query Executors.
LOWsrc/sentry/search/events/filter.py687 # mypy complains if you just use the literal; int isn't an Any, somehow?
LOWsrc/sentry/search/events/filter.py699 # together. Otherwise just return the raw condition, so that it can be
MEDIUMsrc/sentry/search/events/datasets/metrics.py91 """While the final functions in clickhouse must have their -Merge combinators in order to function, we don't
LOWsrc/sentry/search/events/datasets/spans_indexed.py1142 # if the arg is anything but `fpc` just return 1 so we're not correcting for a finite population
MEDIUMsrc/sentry/search/events/datasets/spans_metrics.py87 """While the final functions in clickhouse must have their -Merge combinators in order to function, we don't
LOWsrc/sentry/search/events/builder/utils.py67 # Its over 30d, just use the daily granularity
LOW…ry_metrics/querying/data/transformation/metrics_api.py80 # Since we don't support the array aggregate value, and we return the first element, we just return the type of
LOWsrc/sentry/integrations/discord/webhooks/base.py100 # just return 200.
LOWsrc/sentry/integrations/vercel/integration.py238 # once per user/team. Eventually we should be able to just use
LOWsrc/sentry/integrations/jira/integration.py439 # possible to query that with the API). So instead we just use the first
LOWsrc/sentry/integrations/jira/integration.py741 # still no issue type? just use the first one.
LOWsrc/sentry/integrations/github/webhook.py161 # subclasses can now just add their function to the WEBHOOK_EVENT_PROCESSORS tuple
44 more matches not shown…
Verbosity Indicators80 hits · 145 pts
SeverityFileLineSnippet
LOWtests/acceptance/test_scm_onboarding.py330 # Step 1: OAuth Login — the modal shows "Authorize GitHub".
LOWtests/acceptance/test_scm_onboarding.py350 # Step 2: Org Selection — fresh install, shows "Install GitHub App".
LOWtests/acceptance/test_organization_uptime.py31 # Step 1: Start from empty uptime overview page
LOWtests/acceptance/test_organization_uptime.py38 # Step 2: Click "Add Uptime Monitor" button in empty state
LOWtests/acceptance/test_organization_uptime.py44 # Step 3: Fill out the uptime monitor form
LOWtests/acceptance/test_organization_uptime.py56 # Step 4: Submit the form using the manual approach from debug test
LOWtests/acceptance/test_organization_uptime.py60 # Step 5: Should navigate to uptime monitor details page
LOWtests/acceptance/test_organization_uptime.py67 # Step 6: Navigate back to uptime overview
LOWtests/acceptance/test_organization_uptime.py70 # Step 7: Verify the monitor is now shown in the overview list
LOWtests/sentry/pipeline/test_pipeline.py405 # Step 1: choose a thing
LOWtests/sentry/pipeline/test_pipeline.py410 # Step 2: confirm — this is the last step, so pipeline finishes
LOWtests/sentry/pipeline/test_pipeline.py501 # Step 1: choose a thing — binds "thing" to state
LOWtests/sentry/spans/test_buffer.py1897 # Step 2: Buffer flushes segment, captures score, acquires lock
LOWtests/sentry/spans/test_buffer.py1903 # Step 3: Simulate lock expiration by deleting it
LOWtests/sentry/spans/test_buffer.py1906 # Step 4: New spans arrive while "producing to Kafka"
LOWtests/sentry/spans/test_buffer.py1869 # Step 1: Create initial segment
LOWtests/sentry/spans/test_buffer.py1925 # Step 5: Buffer calls done_flush_segments with OLD captured score
LOWtests/sentry/integrations/slack/test_unfurl.py1306 # Step 1: URL matching
LOWtests/sentry/integrations/slack/test_unfurl.py1316 # Step 2: Run handler
LOWtests/sentry/integrations/slack/test_unfurl.py1320 # Step 3: Verify events-timeseries was called with correct args
LOWtests/sentry/integrations/slack/test_unfurl.py1330 # Step 4: Verify chartcuterie received correct data
LOWtests/sentry/integrations/slack/test_unfurl.py1348 # Step 5: Verify the unfurl result
LOWtests/sentry/integrations/perforce/test_integration.py466 # Step 1: Simulate installation with build_integration
LOWtests/sentry/integrations/perforce/test_integration.py510 # Step 2: Create integration (simulating ensure_integration)
LOWtests/sentry/integrations/perforce/test_integration.py519 # Step 3: Get installation and verify configuration retrieval
LOWtests/sentry/integrations/perforce/test_integration.py564 # Step 4: Test partial update (only change password)
LOWtests/sentry/integrations/perforce/test_integration.py581 # Step 5: Test multiple field update
LOWtests/sentry/integrations/perforce/test_integration.py605 # Step 6: Verify empty optional fields don't break anything
LOWtests/sentry/api/helpers/test_group_index.py387 # Step 2: Mark as unresolved
LOWtests/sentry/api/helpers/test_group_index.py395 # Step 3: GroupLink is deleted
LOWtests/sentry/api/helpers/test_group_index.py400 # Step 4: Manually resolve again
LOWtests/sentry/api/helpers/test_group_index.py368 # Step 1: Simulate resolving via commit by creating GroupLink
LOWstatic/app/utils/profiling/differentialFlamegraph.tsx182 // In case the current node has no children, we need to check if the
LOWstatic/app/utils/string/trimCommonAffixes.tsx164 // Step 1: character-level common prefix/suffix lengths
LOWstatic/app/utils/string/trimCommonAffixes.tsx169 // Step 2: snap to separator boundaries (may reduce affix lengths)
LOWstatic/app/utils/string/trimCommonAffixes.tsx176 // Step 3: drop affixes that are too short to justify an ellipsis
LOWstatic/app/utils/string/trimCommonAffixes.tsx184 // Step 4: strip affixes and insert ellipses
LOW…app/components/pipeline/integrationAwsLambda/index.tsx29// Step 1: Project Select
LOW…app/components/pipeline/integrationAwsLambda/index.tsx112// Step 2: CloudFormation
LOW…app/components/pipeline/integrationAwsLambda/index.tsx301// Step 3: Instrumentation (function select + setup)
LOWstatic/app/views/projectInstall/createProject.spec.tsx315 // Step 1: Mount WITHOUT query params (simulates the browser POP navigation)
LOWstatic/app/views/projectInstall/createProject.spec.tsx325 // Step 2: Navigate WITH query params (simulates router.replace)
LOWstatic/app/views/projectInstall/createProject.spec.tsx333 // Step 3: Click a different platform
LOW…atic/app/views/seerExplorer/hooks/useAsciiSnapshot.tsx898 // Step 1: Strip trailing spaces from each row. The grid is initialized as
LOW…atic/app/views/seerExplorer/hooks/useAsciiSnapshot.tsx902 // Step 2: Remove the common leading whitespace shared by every non-empty
LOW…atic/app/views/seerExplorer/hooks/useAsciiSnapshot.tsx912 // Step 3: Drop all blank rows
LOWstatic/gsApp/utils/billing.tsx947 * has any sibling categories also tallied for billing. If so, we need to check if the data category
LOWsrc/sentry/reprocessing2.py227 # Step 1: Copy attachments into attachment cache. Note that we can only
LOWsrc/sentry/reprocessing2.py249 # Step 2: Fix up the event payload for reprocessing and put it in event
LOW…try/core/endpoints/organization_member_team_details.py169 # When open membership is disabled, we need to check if the token has elevated permissions
LOWsrc/sentry/seer/agent/client.py98 # Step 1: Generate root cause artifact
LOWsrc/sentry/seer/agent/client.py107 # Step 2: Continue to generate solution (preserves root_cause)
LOWsrc/sentry/seer/agent/index_data.py150 # Step 1: Get a random trace ID for the transaction
LOWsrc/sentry/seer/agent/index_data.py180 # Step 2: Get all spans in the chosen trace
LOWsrc/sentry/seer/agent/index_data.py199 # Step 3: Build span objects
LOWsrc/sentry/seer/agent/index_data.py456 # Step 1: Search for issues using transaction filter
LOWsrc/sentry/seer/agent/index_data.py482 # Step 2: For each issue, get the recommended event and serialize it
LOWsrc/sentry/replays/lib/new_query/fields.py107 # We need to check if the value is a scalar to determine the path we should follow. This
LOWsrc/sentry/api/endpoints/organization_events.py310 # Widget has not split the discover dataset yet, so we need to check if there are errors etc.
LOWsrc/sentry/api/endpoints/organization_events_stats.py410 # Widget has not split the discover dataset yet, so we need to check if there are errors etc.
20 more matches not shown…
Docstring Block Structure26 hits · 130 pts
SeverityFileLineSnippet
HIGHtools/api_urls_to_typescript.py34 Convert a regexp string to a route-style string. Handles: - Stripping ^ and $ from start/end - Convert
HIGHsrc/sentry/tasks/ai_agent_monitoring.py53 Create a glob version of a model name by adding a wildcard prefix. This handles cases where models have random
HIGHsrc/sentry/preprod/models.py369 Batch lookup base artifacts for a list of head artifacts. Finds base artifacts by matching (app_id, ar
HIGHsrc/sentry/preprod/artifact_search.py205 Create a queryset filtered by the given query string. This parses the query string and applies all search filt
HIGHsrc/sentry/preprod/artifact_search.py247 Check if a given PreprodArtifact instance matches the query string. This combines queryset_for_query() and art
HIGHsrc/sentry/models/apitoken.py369Create an ApiToken from an ApiGrant with full OAuth2 validation. This method performs comprehensive validation
HIGHsrc/sentry/models/apidevicecode.py180 Create a new device code with retry logic for user code collisions. Since user codes have ~34 bits of
HIGHsrc/sentry/search/eap/trace_metrics/validator.py18 Extract trace metric information from an aggregate string using SearchResolver. Args: aggregate: The a
HIGHsrc/sentry/integrations/perforce/client.py379 Get user information from Perforce. Uses p4 user command to fetch user details including email and ful
HIGHsrc/sentry/integrations/perforce/client.py457 Get changelists for a depot path. Uses p4 changes command to list changelists. API docs: https
HIGHsrc/sentry/integrations/perforce/client.py628 Get file contents from Perforce depot using ``p4 print``. API docs: https://www.perforce.com/manuals/c
HIGHsrc/sentry/integrations/perforce/integration.py205 Check if a file exists in the Perforce depot and return the URL. Uses the client's check_file method t
HIGHsrc/sentry/integrations/perforce/integration.py565 Build integration data from installation state. Each organization gets its own private Perforce integr
HIGHsrc/sentry/integrations/perforce/repository.py35 Get Perforce client from repository. Args: repo: Repository instance Returns:
HIGHsrc/sentry/seer/assisted_query/traces_tools.py105 Get attribute names for trace items by calling the public API endpoint. This ensures all queryable built-in fi
HIGHsrc/sentry/seer/autofix/coding_agent.py443 Launch coding agents for an autofix run. Args: organization_id: The organization ID run_id: Th
HIGHsrc/sentry/seer/agent/client.py279 Start a new Seer Agent session. Args: prompt: The initial task/query for the agent
HIGHsrc/sentry/seer/agent/client.py510 Continue an existing Seer Agent session. This allows you to add follow-up queries to an ongoing conversation.
HIGHsrc/sentry/seer/agent/client.py581 Get the status/result of a Seer Agent session. Args: run_id: The run ID returned from star
HIGHsrc/sentry/seer/agent/client.py653 Get a list of Seer Agent runs for the organization with optional filters. Args: category_k
HIGHsrc/sentry/seer/agent/client.py721 Push code changes to PR(s) and wait for completion. Creates new PRs or updates existing ones with curr
HIGHsrc/sentry/seer/agent/tools.py1727 Make a request to the EAP GetTrace endpoint to get all attributes for a given trace and item type. Includes a s
HIGHsrc/sentry/seer/agent/coding_agent_handoff.py85 Launch coding agents for an agent run. Args: organization: The organization integration_id: Th
HIGHsrc/sentry/seer/code_review/utils.py106 Make a request to the Seer API and return the response data. Args: path: The path to the Seer API
HIGHsrc/sentry/profiles/flamegraph.py659 Splits a datetime range into exponentially increasing chunks, yielded by a generator. The duration of each chu
HIGHsrc/sentry/uptime/endpoints/utils.py22 Authorize the detector ids and return their corresponding subscription ids. For uptime detectors, we need to m
Slop Phrases59 hits · 99 pts
SeverityFileLineSnippet
LOWpyproject.toml281# note: When updating the traceback format, make sure to update .github/pytest.json
LOW…ba/api/endpoints/test_organization_events_histogram.py936 # make sure to query a measurement that does not exist
LOW…ba/api/endpoints/test_organization_events_histogram.py964 # make sure to query a measurement that does not exist
LOWtests/snuba/api/endpoints/test_organization_events.py4995 # make sure to escape the asterisk so it's not treated as a wildcard
LOW…/snuba/api/endpoints/test_organization_events_stats.py1435 # make sure to query the project with 0 events
LOW…/snuba/api/endpoints/test_organization_events_stats.py1460 # make sure to query the project with 0 events
LOW…/snuba/api/endpoints/test_organization_events_stats.py1485 # make sure to query the project with 0 events
LOW…ndpoints/test_organization_events_spans_performance.py973 # make sure to return 1 extra result to indicate that there is a next page
LOW…ndpoints/test_organization_events_spans_performance.py1005 # make sure to return 1 extra result to indicate that there is a next page
LOW…ba/api/endpoints/test_organization_events_stats_mep.py716 # make sure to query the project with 0 events
LOW…ba/api/endpoints/test_organization_events_stats_mep.py748 # make sure to query the project with 0 events
LOW…ba/api/endpoints/test_organization_events_stats_mep.py777 # make sure to query the project with 0 events
LOWtests/sentry/snuba/test_transactions.py2820 # make sure to opt in to gain access to the function
LOWtests/sentry/snuba/test_discover_query.py2988 # make sure to opt in to gain access to the function
LOWstatic/app/utils/fields/index.ts10// Don't forget to update https://docs.sentry.io/product/sentry-basics/search/searchable-properties/ for any changes mad
LOW…vents/interfaces/crashContent/exception/utils.spec.tsx105 const textWithHtml = `Check out this link: <a href="${url}">${url}</a> & don't forget to visit us!`;
MEDIUMstatic/app/gettingStartedDocs/dotnet/onboarding.tsx47 // We enable it here for demonstration purposes when first trying Sentry.
MEDIUMstatic/app/gettingStartedDocs/powershell/onboarding.tsx18# We enable it here for demonstration purposes when first trying Sentry.
MEDIUM…SeriesWidget/timeSeriesWidgetVisualization.stories.tsx181 and <code>Bars</code> most of the time. Here's a simple example:
MEDIUM…ic/gsApp/views/amCheckout/components/volumeSliders.tsx225 'We updated your event quota to make sure you get the best cost per transaction. Feel free to adju
LOW.github/workflows/frontend.yml170 # XXX: When updating this, make sure you also update CI_NODE_TOTAL.
LOWsrc/sentry/tasks/statistical_detectors.py126 # make sure to consume the generator
LOWsrc/sentry/tasks/statistical_detectors.py177 # make sure to dispatch a task to handle the remaining projects
LOWsrc/sentry/tasks/statistical_detectors.py217 # make sure to dispatch a task to handle the remaining projects
LOWsrc/sentry/spans/grouping/strategy/base.py46 # make sure to get the group id for the transaction root span
LOWsrc/sentry/runner/commands/exec.py5# If this changes, make sure to also update in the `__doc__`
LOWsrc/sentry/ingest/consumer/processors.py380 # If you want to remove this make sure to have triaged all errors in Sentry
LOWsrc/sentry/utils/samples.py120 # NOTE: Before editing this data, make sure you understand the context
LOWsrc/sentry/utils/platform_categories.py4# When changing this file, make sure to keep sentry/static/app/data/platformCategories.tsx in sync.
LOWsrc/sentry/utils/platform_categories.py29# When changing this file, make sure to keep sentry/static/app/data/platformCategories.tsx in sync.
LOWsrc/sentry/utils/platform_categories.py53# When changing this file, make sure to keep sentry/static/app/data/platformCategories.tsx in sync.
LOWsrc/sentry/utils/platform_categories.py124# When changing this file, make sure to keep sentry/static/app/data/platformCategories.tsx in sync.
LOWsrc/sentry/utils/platform_categories.py140# When changing this file, make sure to keep sentry/static/app/data/platformCategories.tsx in sync.
LOWsrc/sentry/utils/platform_categories.py188# When changing this file, make sure to keep sentry/static/app/data/platformCategories.tsx in sync.
MEDIUMsrc/sentry/receivers/outbox/control.py41 integration # Currently we do not sync any other integration changes, but if we did, you can use this variable.
MEDIUMsrc/sentry/receivers/outbox/control.py108 api_application # Currently we do not sync any other api application changes, but if we did, you can use this varia
LOWsrc/sentry/search/eap/resolver.py1142 # make sure to remove surrounding quotes if it's a tag
LOWsrc/sentry/search/events/fields.py616 # to make sure to nest it so it doesn't get treated
LOWsrc/sentry/search/events/fields.py1034 # make sure to map the allowed columns to their snuba names
LOWsrc/sentry/search/events/fields.py1392 # make sure to validate the argument count first to
LOWsrc/sentry/search/events/fields.py2227 # make sure to map the allowed columns to their snuba names
LOWsrc/sentry/search/events/datasets/profile_functions.py192 # When removing this, make sure to update the test helper to
LOWsrc/sentry/search/events/datasets/profile_functions.py263 # The worst may collide with one of the examples, so make sure to filter it out.
LOWsrc/sentry/search/events/datasets/profile_functions.py314 # The worst may collide with one of the examples, so make sure to filter it out.
LOWsrc/sentry/search/events/builder/discover.py519 # make sure to bound the bins to get the desired range of results
LOWsrc/sentry/search/events/builder/base.py1139 # make sure to alias the expression appropriately so we get back
LOWsrc/sentry/integrations/jira_server/urls.py6# If updating/adding URLs here, make sure to update the JiraServerRequestParser as well
MEDIUMsrc/sentry/data_export/tasks.py331 # The API response to export the data contains the ID which you can use
LOWsrc/sentry/data_export/endpoints/data_export.py126 # make sure to fix the export start/end times to ensure consistent results
LOWsrc/sentry/data_export/processors/discover.py39 # make sure to only include environment if any are given
MEDIUMsrc/sentry/api/utils.py283# If you can use the wider more correct type, please do.
LOW…api/endpoints/organization_events_spans_performance.py745 # the transaction itself is a span as well, so make sure to check it
LOWsrc/sentry/api/endpoints/organization_traces.py459 # So make sure to handle both in case something changes.
LOWsrc/sentry/api/endpoints/project_profiling_profile.py44 # make sure to remove the version from the metadata
LOWsrc/sentry/templates/sentry/emails/member-invite.html17 <p>Oh, and don't forget to try Seer, your new AI debugging agent. It'll automatically pinpoint root causes, suggest
LOWsrc/sentry/snuba/metrics_performance.py669 # make sure to adjust for the precision if necessary
LOWsrc/sentry/snuba/discover.py1149 # make sure to adjust for the precision if necessary
LOWsrc/sentry/snuba/rpc_dataset_common.py262 # if there are additional conditions to be added, make sure to merge them with the
LOWsrc/sentry/backup/services/import_export/impl.py322 # We wrote at least one model, so make sure to write an appropriate `ImportChunk`
Cross-Language Confusion (JS/TS)15 hits · 75 pts
SeverityFileLineSnippet
HIGHstatic/app/components/stackTrace/stackTrace.stories.tsx139 [461, ' return None'],
HIGH…atic/app/gettingStartedDocs/python/agentMonitoring.tsx358print(result.final_output)
HIGH…atic/app/gettingStartedDocs/python/agentMonitoring.tsx384print(response.choices[0].message.content)
HIGH…atic/app/gettingStartedDocs/python/agentMonitoring.tsx413print(message.content)
HIGH…atic/app/gettingStartedDocs/python/agentMonitoring.tsx448print(result)
HIGH…atic/app/gettingStartedDocs/python/agentMonitoring.tsx483print(result)
HIGH…atic/app/gettingStartedDocs/python/agentMonitoring.tsx508print(response.choices[0].message.content)
HIGH…atic/app/gettingStartedDocs/python/agentMonitoring.tsx535print(response)
HIGH…atic/app/gettingStartedDocs/python/agentMonitoring.tsx561print(result.output)
HIGHstatic/app/gettingStartedDocs/godot/logs.tsx30print("This info message will be sent to Sentry")
HIGH…ews/insights/crons/components/upsertPlatformGuides.tsx414 print('My scheduled task...')`;
HIGH…iews/insights/crons/components/manualCheckInGuides.tsx40 print(msg)`;
HIGH…iews/insights/crons/components/manualCheckInGuides.tsx76 print(msg)
HIGH…dDetails/main/insights/minifyLocalizedStringsModal.tsx37 print(f"Minifying {path}")
HIGH…/performance/newTraceDetails/traceModels/traceTree.tsx1506 print() {
Synthetic Comment Markers3 hits · 18 pts
SeverityFileLineSnippet
HIGH…ules/uptime/assertionSuggestionsDrawerContent.spec.tsx172 'These suggestions are generated by AI based on the HTTP response. Review each suggestion before applying.'
HIGH…rts/rules/uptime/assertionSuggestionsDrawerContent.tsx77 'These suggestions are generated by AI based on the HTTP response. Review each suggestion before applying.
HIGHsrc/sentry/feedback/lib/label_query.py206 # Ensure that there is at least one AI-generated label
Overly Generic Function Names14 hits · 13 pts
SeverityFileLineSnippet
LOWtests/sentry/seer/fetch_issues/test_utils.py309 def test_function() -> dict[str, bool]:
LOWtests/sentry/seer/fetch_issues/test_utils.py317 def test_function() -> None:
LOWstatic/app/components/stackTrace/stackTrace.stories.tsx1087 [99997, 'def handle_request(request):'],
LOW…ents/events/interfaces/frame/useSourceContext.spec.tsx28 [8, 'def helper():'],
LOW…pp/gettingStartedDocs/python-serverless/onboarding.tsx58def my_function(...): ...`;
LOW…pp/gettingStartedDocs/python-serverless/onboarding.tsx66def my_function(...):
LOW…atic/app/gettingStartedDocs/python-awslambda/utils.tsx55def my_function(event, context):
LOW…orkflows/scripts/test_calculate_backend_test_shards.py33 def helper():
LOW…orkflows/scripts/test_calculate_backend_test_shards.py50 def helper(self):
LOW…orkflows/scripts/test_calculate_backend_test_shards.py265 def helper():
LOWsrc/sentry/ratelimits/leaky_bucket.py166 def my_function():
LOWsrc/sentry/ratelimits/leaky_bucket.py175 def my_function():
LOWsrc/sentry/ratelimits/leaky_bucket.py183 def my_function():
LOWsrc/sentry/ratelimits/leaky_bucket.py198 def my_function():
Dead Code2 hits · 4 pts
SeverityFileLineSnippet
MEDIUMtests/sentry/tasks/test_digests.py87
MEDIUMsrc/sentry/similarity/backends/dummy.py23