Repository Analysis

getsentry/sentry

Developer-first error tracking and performance monitoring

12.4 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of getsentry/sentry, a Python project with 44,280 GitHub stars. SynthScan v2.0 examined 3,185,536 lines of code across 17199 source files, recording 37262 pattern matches distributed across 25 syntactic categories. The overall adjusted score of 12.4 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

12.4
Adjusted Score
12.4
Raw Score
100%
Time Factor
2026-07-14
Last Push
44.3K
Stars
Python
Language
3.2M
Lines of Code
17.2K
Files
37.3K
Pattern Hits
2026-07-14
Scan Date
0.02
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 62HIGH 284MEDIUM 754LOW 36162

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 37262 distinct pattern matches across 25 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers28214 hits · 26874 pts
SeverityFileLineSnippetContext
LOWtools/flake8_plugin.py123def _wall_clock_year_from_datetime_call(node: ast.Call) -> int | None:CODE
LOWtools/mypy_helpers/serializer_autoderive.py36def autoderive_serializer_generic(ctx: ClassDefContext) -> None:CODE
LOWtools/mypy_helpers/prevent_weaklist_additions.py9def _modules_for_override_key(data: dict[str, object], key: str, filename: str) -> frozenset[str]:CODE
LOWtools/mypy_helpers/plugin.py58def replace_transaction_atomic_sig_callback(ctx: FunctionSigContext) -> CallableType:CODE
LOWtools/mypy_helpers/plugin.py80def _modify_base_cache_version_type(ctx: MethodSigContext) -> FunctionLike:CODE
LOWtools/mypy_helpers/plugin.py89def _remove_base_cache_decr_incr(ctx: MethodContext) -> Type:CODE
LOWtools/mypy_helpers/plugin.py111def _adjust_http_request_members(ctx: ClassDefContext) -> None:CODE
LOWtools/mypy_helpers/plugin.py160def _adjust_http_response_members(ctx: ClassDefContext) -> None:CODE
LOWtools/mypy_helpers/plugin.py172def _lazy_service_wrapper_attribute(ctx: AttributeContext, *, attr: str) -> Type:CODE
LOWtools/mypy_helpers/plugin.py198def _return_type_contains_any(t: Type) -> bool:CODE
LOWtools/mypy_helpers/plugin.py225def _check_seer_rpc_handler_not_any(ctx: FunctionContext) -> Type:CODE
LOWtools/mypy_helpers/plugin.py264def _unwrap_response_instances_from_return(expected: Type) -> list[Instance]:CODE
LOWtools/mypy_helpers/plugin.py284def _dict_literal_matches_typeddict(CODE
LOWtools/mypy_helpers/plugin.py346def _narrow_response_literal_in_union(ctx: FunctionContext) -> Type:CODE
LOWtools/mypy_helpers/plugin.py412def _check_response_body_not_any(ctx: FunctionContext) -> Type:CODE
LOWtools/mypy_helpers/plugin.py492 def get_function_signature_hook(CODE
LOWtools/mypy_helpers/plugin.py497 def get_method_signature_hook(CODE
LOWtools/mypy_helpers/plugin.py516 def get_customize_class_mro_hook(CODE
LOWconfig/build-chartcuterie.ts23async function modifyPackageJsonSideEffects(): Promise<string> {CODE
LOWtests/conftest.py98def setup_enforce_monotonic_transactions(request: pytest.FixtureRequest) -> Generator[None]:CODE
LOWtests/conftest.py106def audit_hybrid_cloud_writes_and_deletes(request: pytest.FixtureRequest) -> Generator[None]:CODE
LOWtests/conftest.py144def reset_sentry_isolation_scope() -> Generator[None]:CODE
LOWtests/conftest.py177def check_leaked_responses_mocks() -> Generator[None]:CODE
LOWtests/apigw/test_circuitbreaker.py19async def test_concurrency_overflow() -> None:CODE
LOWtests/apigw/test_circuitbreaker.py33async def test_slot_released_on_error() -> None:CODE
LOWtests/apigw/test_circuitbreaker.py44async def test_failure_window_overflow() -> None:CODE
LOWtests/apigw/test_circuitbreaker.py60async def test_failure_window_recovery() -> None:CODE
LOWtests/apigw/test_circuitbreaker.py79def test_manager_breaker_per_target() -> None:CODE
LOWtests/apigw/test_proxy.py53def test_proxied_headers_filtering() -> None:CODE
LOWtests/apigw/test_proxy.py77def test_proxied_headers_host_passthrough() -> None:CODE
LOWtests/apigw/test_proxy.py84def test_proxied_headers_forwarded_for_append() -> None:CODE
LOWtests/apigw/test_proxy.py91def test_proxied_cell_headers_gateway_marker() -> None:CODE
LOWtests/apigw/test_proxy.py98def test_adapt_response_headers_and_cookies() -> None:CODE
LOWtests/tools/test_bump_action.py57def test_main_upgrades_action(workflow_and_action, capsys) -> None:STRING
LOWtests/tools/mypy_helpers/test_plugin.py105def test_invalid_get_connection_call() -> None:CODE
LOWtests/tools/mypy_helpers/test_plugin.py132def test_invalid_transaction_atomic() -> None:STRING
LOWtests/tools/mypy_helpers/test_plugin.py151def test_ok_transaction_atomic() -> None:STRING
LOWtests/tools/mypy_helpers/test_plugin.py162def test_ok_transaction_on_commit() -> None:STRING
LOWtests/tools/mypy_helpers/test_plugin.py175def test_invalid_transaction_on_commit() -> None:STRING
LOWtests/tools/mypy_helpers/test_plugin.py193def test_invalid_transaction_set_rollback() -> None:STRING
LOWtests/tools/mypy_helpers/test_plugin.py208def test_ok_transaction_set_rollback() -> None:STRING
LOWtests/tools/mypy_helpers/test_plugin.py229def test_added_http_request_attribute(attr: str) -> None:STRING
LOWtests/tools/mypy_helpers/test_plugin.py242def test_adjusted_drf_request_auth() -> None:STRING
LOWtests/tools/mypy_helpers/test_plugin.py265def test_csp_response_attribute() -> None:STRING
LOWtests/tools/mypy_helpers/test_plugin.py284def test_lazy_service_wrapper() -> None:STRING
LOWtests/tools/mypy_helpers/test_plugin.py319def test_base_cache_adjusted_version_type() -> None:STRING
LOWtests/tools/mypy_helpers/test_plugin.py339def test_base_cache_incr_decr_version_removed() -> None:STRING
LOWtests/tools/mypy_helpers/test_plugin.py359def test_response_any_body_unparameterized_silent() -> None:STRING
LOWtests/tools/mypy_helpers/test_plugin.py375def test_response_any_body_parameterized_errors() -> None:STRING
LOWtests/tools/mypy_helpers/test_plugin.py395def test_response_typed_body_parameterized_silent() -> None:STRING
LOWtests/tools/mypy_helpers/test_plugin.py414def test_response_cast_escape_valve() -> None:STRING
LOWtests/tools/mypy_helpers/test_plugin.py433def test_response_body_less_parameterized_silent() -> None:STRING
LOWtests/tools/mypy_helpers/test_plugin.py452def test_response_extra_key_drift_caught_by_core_mypy() -> None:STRING
LOWtests/tools/mypy_helpers/test_plugin.py470def test_response_body_less_with_any_status_kwarg() -> None:STRING
LOWtests/tools/mypy_helpers/test_plugin.py491def test_response_data_kwarg_with_any_value() -> None:STRING
LOWtests/tools/mypy_helpers/test_plugin.py511def test_response_any_body_async_view() -> None:STRING
LOWtests/tools/mypy_helpers/test_plugin.py531def test_response_typed_body_async_view_silent() -> None:STRING
LOWtests/tools/mypy_helpers/test_plugin.py550def test_response_union_dict_literal_narrows_to_typeddict_arm() -> None:STRING
LOWtests/tools/mypy_helpers/test_plugin.py577def test_response_union_dict_literal_wrong_shape_errors() -> None:STRING
LOWtests/tools/mypy_helpers/test_plugin.py598def test_response_union_value_type_mismatch_errors() -> None:STRING
28154 more matches not shown…
Unused Imports3313 hits · 3102 pts
SeverityFileLineSnippetContext
LOWtools/flake8_plugin.py1CODE
LOWtools/lib.py1CODE
LOWtools/bump_version.py1CODE
LOWtools/pin_github_action.py1CODE
LOWtools/fast_editable.py2CODE
LOWtools/bump_action.py1CODE
LOWtools/lint_requirements.py1CODE
LOWtools/mypy_helpers/sort_stronger_modules.py1CODE
LOWtools/mypy_helpers/make_stub_ignores.py1CODE
LOWtools/mypy_helpers/sort_weaklist.py1CODE
LOWtools/mypy_helpers/find_easiest_modules.py1CODE
LOWtools/mypy_helpers/serializer_autoderive.py10CODE
LOWtools/mypy_helpers/make_module_ignores.py1CODE
LOWtools/mypy_helpers/mypy_without_ignores.py1CODE
LOWtools/mypy_helpers/prevent_weaklist_additions.py1CODE
LOWtools/mypy_helpers/plugin.py1CODE
LOWdevenv/sync.py1CODE
LOWdevenv/post_fetch.py1CODE
LOWbin/send-cell-test-event.py25CODE
LOWbin/react-to-product-owners-yml-changes.py2CODE
LOWtests/tools/test_flake8_plugin.py1CODE
LOWtests/tools/mypy_helpers/test_plugin.py1CODE
LOW…/tools/mypy_helpers/test_prevent_weaklist_additions.py1CODE
LOWtests/acceptance/test_proxy.py1CODE
LOWtests/snuba/test_metrics_layer.py1CODE
LOWtests/snuba/tasks/test_unmerge.py1CODE
LOWtests/snuba/processing_errors/eap/test_producer.py1CODE
LOWtests/snuba/models/test_group.py1CODE
LOWtests/snuba/search/test_eap_occurrences.py1CODE
LOWtests/snuba/search/test_postgres_sort_framework.py1CODE
LOWtests/snuba/sessions/test_sessions.py1CODE
LOW…ba/api/endpoints/test_organization_events_histogram.py1CODE
LOW…/snuba/api/endpoints/test_discover_key_transactions.py1CODE
LOW…/snuba/api/endpoints/test_organization_events_stats.py1CODE
LOW…snuba/api/endpoints/test_organization_stats_summary.py1CODE
LOW…a/api/endpoints/test_organization_events_timeseries.py1CODE
LOW…ba/api/endpoints/test_organization_events_stats_mep.py1CODE
LOWtests/snuba/api/endpoints/test_project_group_index.py1CODE
LOW…g/platform/services/usage/test_outcomes_integration.py1CODE
LOWtests/sentry/test_killswitches.py1CODE
LOWtests/sentry/test_devimports.py1CODE
LOWtests/sentry/test_viewer_context.py1CODE
LOWtests/sentry/test_mypy_stronglist.py1CODE
LOWtests/sentry/test_viewer_context_jwt.py1CODE
LOWtests/sentry/test_stacktraces.py1CODE
LOWtests/sentry/test_no_create_or_update_usage.py1CODE
LOWtests/sentry/test_event_preprocessors.py1CODE
LOWtests/sentry/middleware/test_security.py1CODE
LOWtests/sentry/middleware/test_suspended.py1CODE
LOWtests/sentry/middleware/test_viewer_context.py1CODE
LOWtests/sentry/middleware/test_staff.py1CODE
LOWtests/sentry/middleware/test_proxy.py1CODE
LOWtests/sentry/middleware/test_subdomain.py1CODE
LOWtests/sentry/middleware/test_customer_domain.py1CODE
LOW…s/sentry/middleware/integrations/parsers/test_slack.py1CODE
LOW…sentry/middleware/integrations/parsers/test_discord.py1CODE
LOW…ts/sentry/middleware/integrations/parsers/test_jira.py1CODE
LOW…/monitors/endpoints/test_organization_monitor_index.py1CODE
LOW…s/test_organization_monitor_schedule_sample_buckets.py1CODE
LOW…ors/endpoints/test_organization_monitor_index_count.py1CODE
3253 more matches not shown…
Self-Referential Comments433 hits · 1370 pts
SeverityFileLineSnippetContext
MEDIUMtools/api_urls_to_typescript.py114 # Create the full pattern by replacing the alternate group with this alternativeCOMMENT
MEDIUMdevservices/config/relay-cell.yml15# This file is only mounted by the `cell-routing` mode, so `advertised_upstream`COMMENT
MEDIUMtests/acceptance/test_organization_monitors.py28 # Create a second project so the org has multiple projects; this preventsCOMMENT
MEDIUMtests/acceptance/test_performance_summary.py51 # Create a transactionCOMMENT
MEDIUMtests/flagpole/test_flagpole_eval.py90 # Create a temporary YAML fileCOMMENT
MEDIUMtests/flagpole/test_flagpole_eval.py229 # Create a mock segment that always matchesCOMMENT
MEDIUMtests/flagpole/test_flagpole_eval.py247 # Create a mock segment that always matches but has 0% rolloutCOMMENT
MEDIUMtests/flagpole/test_flagpole_eval.py265 # Create a mock segment that never matchesCOMMENT
MEDIUMtests/flagpole/test_flagpole_eval.py288 # Create a mock segment that never matchesCOMMENT
MEDIUMtests/snuba/search/test_backend.py2063 # Create a new event so that we get a group in this releaseCOMMENT
MEDIUMtests/snuba/search/test_backend.py2110 # Create a new event so that we get a group in this releaseCOMMENT
MEDIUMtests/snuba/search/test_backend.py2138 # Create a new event so that we get a group in release 1COMMENT
MEDIUMtests/snuba/search/test_backend.py2158 # Create a new event so that we get a group in release 2COMMENT
MEDIUM…ts/snuba/api/endpoints/test_organization_events_mep.py3933 # Create a widget in a DIFFERENT organization with discover_widget_split=NoneCOMMENT
MEDIUM…nuba/api/endpoints/test_discover_saved_query_detail.py110 # Create an explore saved queryCOMMENT
MEDIUM…nuba/api/endpoints/test_discover_saved_query_detail.py130 # Create a discover query with reference to explore queryCOMMENT
MEDIUM…dpoints/test_organization_events_stats_span_indexed.py2073 # Create a span at 10:05, this should not be in the resultCOMMENT
MEDIUM…dpoints/test_organization_events_stats_span_indexed.py2083 # Create a span at 10:30, this should be in the resultCOMMENT
MEDIUM…dpoints/test_organization_events_stats_span_indexed.py2093 # Create a span at 22:05, this should be in the resultCOMMENT
MEDIUM…/snuba/api/endpoints/test_organization_events_trace.py572 # Create the orphan transactionsCOMMENT
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.COMMENT
MEDIUMtests/snuba/api/endpoints/test_organization_events.py6852 # Create a second projectCOMMENT
MEDIUM…ba/api/endpoints/test_organization_events_stats_mep.py965 # Create a widget in a DIFFERENT organization with discover_widget_split=NoneCOMMENT
MEDIUMtests/sentry/shared_integrations/client/test_proxy.py48 # Create a valid one, and an invalid oneCOMMENT
MEDIUMtests/sentry/middleware/test_ratelimit_middleware.py268 # Create an endpoint with custom high rate limitsCOMMENT
MEDIUMtests/sentry/monitors/test_serializers.py20 # Create a monitor environment with a non-existent environment_idCOMMENT
MEDIUMtests/sentry/monitors/test_serializers.py117 # Create a monitor environment with a non-existent environment_idCOMMENT
MEDIUMtests/sentry/monitors/test_validators.py365 # Create a mock access objectCOMMENT
MEDIUMtests/sentry/monitors/test_validators.py531 # Create an environment first so the monitor can be mutedCOMMENT
MEDIUMtests/sentry/monitors/test_validators.py862 # Create a monitor environment with specific next_checkin timesCOMMENT
MEDIUMtests/sentry/monitors/test_validators.py901 # Create a monitor environmentCOMMENT
MEDIUMtests/sentry/monitors/test_validators.py1294 # Create a disabled detectorCOMMENT
MEDIUMtests/sentry/monitors/test_validators.py1336 # Create a disabled detectorCOMMENT
MEDIUMtests/sentry/monitors/test_validators.py1376 # Create an enabled detectorCOMMENT
MEDIUM…sentry/monitors/endpoints/test_base_monitor_details.py349 # Create an environment so the monitor has an environment to muteCOMMENT
MEDIUM…sentry/monitors/endpoints/test_base_monitor_details.py362 # Create a muted environment so the monitor is mutedCOMMENT
MEDIUM…sts/sentry/monitors/consumers/test_monitor_consumer.py298 # Create a muted environment for this monitorCOMMENT
MEDIUM…leases/endpoints/test_organization_release_assemble.py231 # Create an unauthorized project (attacker has no access)COMMENT
MEDIUM…leases/endpoints/test_organization_release_assemble.py240 # Create a malicious artifact bundle that tries to target the unauthorized projectCOMMENT
MEDIUM…leases/endpoints/test_organization_release_assemble.py292 # Create an artifact bundle that targets an authorized projectCOMMENT
MEDIUMtests/sentry/releases/endpoints/test_release_deploys.py452 # Create a second projectCOMMENT
MEDIUMtests/sentry/releases/endpoints/test_release_deploys.py455 # Create a release for both projectsCOMMENT
MEDIUMtests/sentry/tasks/test_post_process.py1544 # Create a new event to avoid debouncingCOMMENT
MEDIUMtests/sentry/tasks/test_post_process.py1577 # Create a new event to avoid debouncingCOMMENT
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 occurrenceCOMMENT
MEDIUM…sts/sentry/core/endpoints/test_organization_details.py1224 # Create an org, mapping, and slug reservation. For us to reach the RPC conflict,COMMENT
MEDIUM…sts/sentry/core/endpoints/test_organization_details.py577 # Create a team member for project_1 onlyCOMMENT
MEDIUM…entry/core/endpoints/test_organization_member_index.py568 # Create a user with multiple email addressesCOMMENT
MEDIUM…try/core/endpoints/test_organization_member_details.py146 # Create a user with multiple email addressesCOMMENT
MEDIUMtests/sentry/security/test_utils.py18 # Create a user. This has to be done not in the control mode.COMMENT
MEDIUMtests/sentry/security/test_utils.py22 # Create an organization. This has to be done not in the control mode.COMMENT
MEDIUMtests/sentry/security/test_utils.py27 # Create a Sentry App using the creator. This needs to be run in control mode.COMMENT
MEDIUMtests/sentry/auth/test_helper.py653 # Create the user whose email the IdP assertedCOMMENT
MEDIUM…sentry/web/frontend/test_organization_auth_settings.py320 # Create an unlinked memberCOMMENT
MEDIUM…ts/sentry/web/frontend/test_auth_organization_login.py1350 # Create an organization with SSO (not the demo org)COMMENT
MEDIUMtests/sentry/web/frontend/test_oauth_token.py1693 # Create a public client (no client_secret)COMMENT
MEDIUMtests/sentry/web/frontend/test_oauth_token.py1700 # Create a token for the public clientCOMMENT
MEDIUMtests/sentry/web/frontend/test_oauth_token.py1155 # Create a public client (no client_secret)COMMENT
MEDIUMtests/sentry/web/frontend/test_oauth_token.py1553 # Create a public application (no client_secret)COMMENT
MEDIUMtests/sentry/web/frontend/test_oauth_token.py1626 # Create a public application (no client_secret)COMMENT
373 more matches not shown…
Excessive Try-Catch Wrapping1180 hits · 1226 pts
SeverityFileLineSnippetContext
LOWtools/mypy_helpers/plugin.py305 except Exception:CODE
LOWtests/tools/test_flake8_plugin.py175except Exception:CODE
LOWtests/tools/test_flake8_plugin.py180except Exception:CODE
LOWtests/acceptance/conftest.py47 except Exception:STRING
LOWtests/sentry/test_devimports.py93 except Exception:CODE
LOWtests/sentry/monitors/test_utils.py208 except Exception:CODE
LOWtests/sentry/tasks/test_relay.py358 except Exception:CODE
LOWtests/sentry/web/frontend/generic/test_static_media.py86 except Exception:CODE
LOWtests/sentry/web/frontend/generic/test_static_media.py111 except Exception:CODE
LOWtests/sentry/web/frontend/generic/test_static_media.py157 except Exception:CODE
MEDIUMtests/sentry/utils/test_local_cache.py208def reader() -> None:CODE
LOWtests/sentry/utils/test_local_cache.py214 except Exception as e: # noqa: BLE001 - surface any threading error to the assertionCODE
LOWtests/sentry/taskworker/test_config.py111 except Exception:CODE
LOW…rod/vcs/status_checks/size/test_status_checks_tasks.py621 except Exception as e:CODE
LOW…rod/vcs/status_checks/size/test_status_checks_tasks.py728 except Exception as e:CODE
LOW…rod/vcs/status_checks/size/test_status_checks_tasks.py783 except Exception as e:CODE
LOW…tions/gitlab/tasks/test_update_all_project_webhooks.py360 except Exception:CODE
LOW…try/integrations/github_enterprise/test_integration.py590 except Exception:CODE
LOWtests/sentry/integrations/github/test_integration.py1343 except Exception:CODE
LOW…try/sentry_apps/services/legacy_webhook/test_client.py70 except Exception:CODE
MEDIUMtests/sentry/seer/autofix/test_issue_summary.py247def target(req_id):CODE
LOWtests/sentry/seer/autofix/test_issue_summary.py251 except Exception as e:CODE
LOWtests/sentry/hybridcloud/models/test_outbox.py367 except Exception as e:CODE
LOWtests/sentry/relocation/test_utils.py333 except Exception:CODE
LOWtests/sentry/relocation/test_utils.py371 except Exception:CODE
LOWtests/sentry/api/test_utils.py122 except Exception as e:CODE
LOWtests/sentry/api/test_utils.py203 except Exception as e:CODE
LOWtests/sentry/api/test_utils.py214 except Exception as e:CODE
LOWtests/sentry/api/test_utils.py228 except Exception as e:CODE
LOWtests/sentry/api/test_utils.py239 except Exception as e:CODE
LOWtests/sentry/api/test_utils.py254 except Exception as e:CODE
LOWtests/sentry/digests/backends/test_redis.py73 except Exception:CODE
LOWtests/sentry/digests/backends/test_redis.py107 except Exception:CODE
LOW.github/workflows/scripts/bootstrap-snuba.py47 except Exception:CODE
LOW.github/workflows/scripts/bootstrap-snuba.py104 except Exception as e:CODE
LOW…orkflows/scripts/test_calculate_backend_test_shards.py487 except Exception as exc:CODE
MEDIUM…hub/workflows/scripts/compute-sentry-selected-tests.py244 print(f"Error: Coverage database not found: {coverage_db}", file=sys.stderr)CODE
MEDIUM…hub/workflows/scripts/compute-sentry-selected-tests.py277 print(f"Error querying coverage database: {e}", file=sys.stderr)CODE
LOWsrc/apigw/dsl.py35 except Exception:CODE
LOWsrc/apigw/dsl.py47 except Exception:CODE
LOWsrc/flagpole/flagpole_eval.py35 except Exception as e:CODE
LOWsrc/flagpole/flagpole_eval.py46 except Exception as e:CODE
LOWsrc/flagpole/evaluation_context.py143 except Exception as e:CODE
LOWsrc/flagpole/__init__.py181 except Exception as exc:CODE
LOWsrc/social_auth/fields.py36 except Exception as e:CODE
LOWsrc/social_auth/fields.py48 except Exception as e:CODE
LOWsrc/social_auth/fields.py55 except Exception as e:CODE
LOWsrc/sentry/reprocessing2.py627 except Exception as e:CODE
LOWsrc/sentry/__init__.py19 except Exception:CODE
LOWsrc/sentry/http.py211 except Exception as exc:CODE
LOWsrc/sentry/viewer_context.py300 except Exception:CODE
LOWsrc/sentry/sdk_updates.py108 except Exception:CODE
LOWsrc/sentry/sdk_updates.py376 except Exception:CODE
LOWsrc/sentry/sdk_updates.py386 except Exception:CODE
LOWsrc/sentry/sdk_updates.py419 except Exception:CODE
LOWsrc/sentry/sdk_updates.py431 except Exception:CODE
MEDIUMsrc/sentry/sdk_updates.py371def get_sdk_versions():CODE
MEDIUMsrc/sentry/sdk_updates.py381def get_sdk_urls():CODE
LOWsrc/sentry/event_manager.py227 except Exception:CODE
LOWsrc/sentry/event_manager.py325 except Exception:CODE
1120 more matches not shown…
Modern Structural Boilerplate982 hits · 1002 pts
SeverityFileLineSnippetContext
LOWtests/apigw/test_routing.py13logger = logging.getLogger(__name__)CODE
LOWtests/tools/test_flake8_plugin.py402logger = logging.getLogger(__name__)CODE
LOWtests/snuba/api/endpoints/test_organization_trace.py32logger = logging.getLogger(__name__)CODE
LOW…ts/snuba/api/endpoints/test_organization_trace_logs.py10logger = logging.getLogger(__name__)CODE
LOW…sts/sentry/organizations/services/test_organization.py82 def _set_option(self, organization: Organization, key: str, value: str) -> None:CODE
LOWtests/sentry/runner/commands/test_configoptions.py58 def set_options(self) -> None:CODE
LOW…y/ingest/ingest_consumer/test_ingest_consumer_kafka.py28logger = logging.getLogger(__name__)CODE
LOWtests/sentry/models/test_groupsubscription.py116 def update_user_settings_always(self) -> None:CODE
LOWtests/sentry/models/test_groupsubscription.py126 def update_user_setting_subscribe_only(self) -> None:CODE
LOWtests/sentry/models/test_groupsubscription.py144 def update_user_setting_never(self) -> None:CODE
LOWtests/sentry/models/test_groupsubscription.py162 def update_project_setting_always(self) -> None:CODE
LOWtests/sentry/models/test_groupsubscription.py180 def update_project_setting_subscribe_only(self) -> None:CODE
LOWtests/sentry/models/test_groupsubscription.py198 def update_project_setting_never(self) -> None:CODE
LOWtests/sentry/models/test_groupsubscription.py216 def update_team_setting_subscribe_only(self, team_id: int) -> None:CODE
LOW…y/sentry_metrics/test_rh_metrics_multiprocess_steps.py32logger = logging.getLogger(__name__)CODE
LOW…/sentry_metrics/test_gen_metrics_multiprocess_steps.py34logger = logging.getLogger(__name__)CODE
LOW…/sentry_metrics/test_gen_metrics_multiprocess_steps.py47def update_sentry_settings(settings: Any) -> None:CODE
LOWtests/sentry/integrations/msteams/test_notifications.py183 def _setup_msteams_api(self) -> None:CODE
LOW…points/test_sentry_app_installation_external_issues.py19 def _set_up_sentry_app(self, name: str, scopes: list[str]) -> None:CODE
LOW…entry/seer/endpoints/test_group_autofix_setup_check.py117 def _set_seat_based_tier_cache(self, value: bool) -> None:CODE
LOW…entry/seer/endpoints/test_group_autofix_setup_check.py252 def _set_seat_based_tier_cache(self, value: bool) -> None:CODE
LOW…sentry/seer/code_review/webhooks/test_merge_request.py1006 def _setup_code_review(self) -> None:CODE
LOW…e/endpoints/test_organization_deduplicate_workflows.py182 def set_up_workflows(self, idx: int) -> None:CODE
LOW…/condition/test_issue_priority_deescalating_handler.py63 def update_group_and_open_period(self, priority: PriorityLevel) -> None:CODE
LOWtests/sentry/rules/history/test_preview.py83 def _set_up_assigned_groups(self) -> None:CODE
LOW…/api/endpoints/test_project_alert_rule_task_details.py34 def set_value(self, status: str, rule_id: int | None = None) -> None:CODE
LOWtests/sentry/issues/test_occurrence_consumer.py42logger = logging.getLogger(__name__)CODE
LOW…sts/sentry/services/nodestore/bigtable/test_backend.py32 def set_cell(self, family: str, col: str, value: bytes, timestamp: int) -> None:CODE
LOWsrc/flagpole/__init__.py239__all__ = [CODE
LOWsrc/sentry/http.py26logger = logging.getLogger(__name__)CODE
LOWsrc/sentry/viewer_context.py17logger = logging.getLogger(__name__)CODE
LOWsrc/sentry/viewer_context.py172def set_viewer_context_organization(organization_id: int) -> None:CODE
LOWsrc/sentry/sdk_updates.py13logger = logging.getLogger(__name__)CODE
LOWsrc/sentry/event_manager.py195def set_tag(data: dict[str, Any], key: str, value: Any) -> None:CODE
LOWsrc/sentry/event_manager.py692def _set_project_platform_if_needed(project: Project, event: Event) -> None:CODE
LOWsrc/sentry/event_manager.py2139def update_severity_error_count(reset=False) -> None:CODE
LOWsrc/sentry/shared_integrations/client/proxy.py41logger = logging.getLogger(__name__)CODE
LOWsrc/sentry/shared_integrations/client/base.py448 def set_cache(self, cache_key: str, result: Any, cache_time: int) -> None:CODE
LOW…/sentry/organizations/services/organization/service.py164 def update_flags(self, *, organization_id: int, flags: RpcOrganizationFlagsUpdate) -> None:CODE
LOW…/sentry/organizations/services/organization/service.py447 def update_membership_flags(self, *, organization_member: RpcOrganizationMember) -> None:CODE
LOWsrc/sentry/organizations/services/organization/impl.py340 def update_flags(self, *, organization_id: int, flags: RpcOrganizationFlagsUpdate) -> None:CODE
LOWsrc/sentry/organizations/services/organization/impl.py499 def update_membership_flags(self, *, organization_member: RpcOrganizationMember) -> None:CODE
LOWsrc/sentry/metrics/precise_dogstatsd.py8__all__ = ["PreciseDogStatsdMetricsBackend"]CODE
LOWsrc/sentry/metrics/dogstatsd.py9__all__ = ["DogStatsdMetricsBackend"]CODE
LOWsrc/sentry/metrics/dualwrite.py9__all__ = ["DualWriteMetricsBackend"]CODE
LOWsrc/sentry/metrics/sentry_sdk.py8__all__ = ["SentrySDKMetricsBackend"]CODE
LOWsrc/sentry/metrics/statsd.py1__all__ = ["StatsdMetricsBackend"]CODE
LOWsrc/sentry/metrics/dummy.py3__all__ = ["DummyMetricsBackend"]CODE
LOWsrc/sentry/metrics/base.py1__all__ = ["MetricsBackend"]CODE
LOWsrc/sentry/metrics/datadog.py1__all__ = ["DatadogMetricsBackend"]CODE
LOWsrc/sentry/middleware/ai_agent.py10logger = logging.getLogger(__name__)CODE
LOWsrc/sentry/middleware/customer_domain.py20logger = logging.getLogger(__name__)CODE
LOWsrc/sentry/middleware/demo_mode_guard.py13logger = logging.getLogger(__name__)CODE
LOWsrc/sentry/middleware/devtoolbar.py12logger = logging.getLogger(__name__)CODE
LOWsrc/sentry/middleware/subdomain.py14logger = logging.getLogger(__name__)CODE
LOWsrc/sentry/middleware/viewer_context.py17logger = logging.getLogger(__name__)CODE
LOWsrc/sentry/middleware/integrations/tasks.py29logger = logging.getLogger(__name__)CODE
LOW…/sentry/middleware/integrations/integration_control.py11logger = logging.getLogger(__name__)CODE
LOWsrc/sentry/middleware/integrations/parsers/bitbucket.py15logger = logging.getLogger(__name__)CODE
LOWsrc/sentry/middleware/integrations/parsers/vercel.py10logger = logging.getLogger(__name__)CODE
922 more matches not shown…
Deep Nesting1049 hits · 985 pts
SeverityFileLineSnippetContext
LOWtools/flake8_plugin.py151CODE
LOWtools/flake8_plugin.py313CODE
LOWtools/api_urls_to_typescript.py41CODE
LOWtools/pin_github_action.py40CODE
LOWtools/lint_requirements.py8CODE
LOWtools/mypy_helpers/check_stronglist.py17CODE
LOWtools/mypy_helpers/serializer_autoderive.py36CODE
LOWtools/mypy_helpers/plugin.py264CODE
LOWtools/mypy_helpers/plugin.py346CODE
LOWdevenv/post_fetch.py36CODE
LOWbin/react-to-product-owners-yml-changes.py14CODE
LOWtests/apigw/test_routing.py162CODE
LOWtests/snuba/tasks/test_unmerge.py190CODE
LOWtests/snuba/tasks/test_unmerge.py505CODE
LOWtests/snuba/search/test_backend.py2537CODE
LOWtests/snuba/api/endpoints/test_organization_trace.py723CODE
LOW…ints/test_organization_events_heatmap_trace_metrics.py227CODE
LOW…snuba/api/endpoints/test_organization_event_details.py345CODE
LOW…snuba/api/endpoints/test_organization_event_details.py358CODE
LOW…snuba/api/endpoints/test_organization_event_details.py382CODE
LOW…ndpoints/test_organization_events_spans_performance.py122CODE
LOWtests/sentry/options/test_manager.py303CODE
LOWtests/sentry/silo/test_client.py115CODE
LOWtests/sentry/silo/test_client.py176CODE
LOWtests/sentry/silo/test_base.py26CODE
LOWtests/sentry/tasks/test_reprocessing2.py283CODE
LOWtests/sentry/tasks/test_commit_context.py702CODE
LOWtests/sentry/tasks/seer/test_context_engine_index.py51CODE
LOWtests/sentry/tasks/seer/test_context_engine_index.py94CODE
LOW…sts/sentry/core/endpoints/test_organization_details.py970CODE
LOWtests/sentry/spans/consumers/process/test_consumer.py21CODE
LOWtests/sentry/spans/consumers/process/test_consumer.py127CODE
LOWtests/sentry/spans/consumers/process/test_flusher.py412CODE
LOWtests/sentry/auth/authenticators/test_sms.py66CODE
LOWtests/sentry/grouping/test_categorization.py150CODE
LOWtests/sentry/grouping/test_enhancer.py32CODE
LOWtests/sentry/utils/kvstore/test_common.py26CODE
LOWtests/sentry/taskworker/test_timeout.py106CODE
LOWtests/sentry/taskworker/test_timeout.py136CODE
LOWtests/sentry/taskworker/test_config.py72CODE
LOW…rod/vcs/status_checks/size/test_status_checks_tasks.py251CODE
LOW…rod/vcs/status_checks/size/test_status_checks_tasks.py1361CODE
LOW…ack/endpoints/test_organization_feedback_categories.py79CODE
LOWtests/sentry/integrations/slack/test_message_builder.py911CODE
LOWtests/sentry/integrations/slack/test_message_builder.py952CODE
LOWtests/sentry/seer/autofix/test_coding_agent.py180CODE
LOWtests/sentry/seer/agent/test_index_data.py155CODE
LOWtests/sentry/hybridcloud/models/test_outbox.py110CODE
LOWtests/sentry/hybridcloud/models/test_outbox.py433CODE
LOWtests/sentry/users/models/test_user.py197CODE
LOWtests/sentry/event_manager/test_event_manager.py2456CODE
LOW…w_engine/migration_helpers/test_migrate_rule_action.py73CODE
LOW…sentry/workflow_engine/processors/test_data_sources.py120CODE
LOWtests/sentry/db/test_transactions.py100CODE
LOWtests/sentry/db/test_transactions.py101CODE
LOW…ntry/db/models/fields/test_hybrid_cloud_foreign_key.py8CODE
LOWtests/sentry/api/test_path_params.py16CODE
LOWtests/sentry/api/test_path_params.py38CODE
LOWtests/sentry/api/test_event_search.py192CODE
LOWtests/sentry/api/test_base.py523CODE
989 more matches not shown…
Decorative Section Separators214 hits · 730 pts
SeverityFileLineSnippetContext
MEDIUMtests/relay_integration/lang/javascript/test_plugin.py778 # ------------COMMENT
MEDIUMtests/relay_integration/lang/javascript/test_plugin.py814 # ----------COMMENT
MEDIUMtests/relay_integration/lang/javascript/test_plugin.py846 # ----------COMMENT
MEDIUMtests/relay_integration/lang/javascript/test_plugin.py927 # ------------COMMENT
MEDIUMtests/relay_integration/lang/javascript/test_plugin.py967 # ----------COMMENT
MEDIUMtests/relay_integration/lang/javascript/test_plugin.py1005 # ----------COMMENT
MEDIUM…ntry/grouping/test_enhancer_dart_flutter_javascript.py30 # ------------------------------------------------------------------COMMENT
MEDIUM…ntry/grouping/test_enhancer_dart_flutter_javascript.py32 # ------------------------------------------------------------------COMMENT
MEDIUM…ntry/grouping/test_enhancer_dart_flutter_javascript.py47 # ------------------------------------------------------------------COMMENT
MEDIUM…ntry/grouping/test_enhancer_dart_flutter_javascript.py49 # ------------------------------------------------------------------COMMENT
MEDIUM…ntry/grouping/test_enhancer_dart_flutter_javascript.py62 # ------------------------------------------------------------------COMMENT
MEDIUM…ntry/grouping/test_enhancer_dart_flutter_javascript.py64 # ------------------------------------------------------------------COMMENT
MEDIUM…s/sentry/grouping/test_enhancer_dart_flutter_native.py33 # ---------------------------------------------------------------------COMMENT
MEDIUM…s/sentry/grouping/test_enhancer_dart_flutter_native.py35 # ---------------------------------------------------------------------COMMENT
MEDIUM…s/sentry/grouping/test_enhancer_dart_flutter_native.py62 # ------------------------------------------------------------------COMMENT
MEDIUM…s/sentry/grouping/test_enhancer_dart_flutter_native.py64 # ------------------------------------------------------------------COMMENT
MEDIUM…s/sentry/grouping/test_enhancer_dart_flutter_native.py89 # ------------------------------------------------------------------COMMENT
MEDIUM…s/sentry/grouping/test_enhancer_dart_flutter_native.py91 # ------------------------------------------------------------------COMMENT
MEDIUM…s/sentry/grouping/test_enhancer_dart_flutter_native.py117 # ------------------------------------------------------------------COMMENT
MEDIUM…s/sentry/grouping/test_enhancer_dart_flutter_native.py119 # ------------------------------------------------------------------COMMENT
MEDIUM…s/sentry/grouping/test_enhancer_dart_flutter_native.py134 # ------------------------------------------------------------------COMMENT
MEDIUM…s/sentry/grouping/test_enhancer_dart_flutter_native.py136 # ------------------------------------------------------------------COMMENT
MEDIUM…s/sentry/grouping/test_enhancer_dart_flutter_native.py149 # ------------------------------------------------------------------COMMENT
MEDIUM…s/sentry/grouping/test_enhancer_dart_flutter_native.py151 # ------------------------------------------------------------------COMMENT
MEDIUM…s/sentry/grouping/test_enhancer_dart_flutter_native.py163 # ------------------------------------------------------------------COMMENT
MEDIUM…s/sentry/grouping/test_enhancer_dart_flutter_native.py165 # ------------------------------------------------------------------COMMENT
MEDIUM…s/sentry/grouping/test_enhancer_dart_flutter_native.py177 # ------------------------------------------------------------------COMMENT
MEDIUM…s/sentry/grouping/test_enhancer_dart_flutter_native.py182 # ------------------------------------------------------------------COMMENT
MEDIUM…sts/sentry/preprod/test_build_distribution_webhooks.py20 # ------------------------------------------------------------------COMMENT
MEDIUM…sts/sentry/preprod/test_build_distribution_webhooks.py22 # ------------------------------------------------------------------COMMENT
MEDIUM…sts/sentry/preprod/test_build_distribution_webhooks.py79 # ------------------------------------------------------------------COMMENT
MEDIUM…sts/sentry/preprod/test_build_distribution_webhooks.py81 # ------------------------------------------------------------------COMMENT
MEDIUM…sts/sentry/preprod/test_build_distribution_webhooks.py244 # ------------------------------------------------------------------COMMENT
MEDIUM…sts/sentry/preprod/test_build_distribution_webhooks.py246 # ------------------------------------------------------------------COMMENT
MEDIUM…sts/sentry/preprod/test_build_distribution_webhooks.py264 # ------------------------------------------------------------------COMMENT
MEDIUM…sts/sentry/preprod/test_build_distribution_webhooks.py266 # ------------------------------------------------------------------COMMENT
MEDIUM…sts/sentry/preprod/test_build_distribution_webhooks.py182 # ------------------------------------------------------------------COMMENT
MEDIUM…sts/sentry/preprod/test_build_distribution_webhooks.py184 # ------------------------------------------------------------------COMMENT
MEDIUMtests/sentry/preprod/size_analysis/test_webhooks.py108 # ------------------------------------------------------------------COMMENT
MEDIUMtests/sentry/preprod/size_analysis/test_webhooks.py110 # ------------------------------------------------------------------COMMENT
MEDIUMtests/sentry/preprod/size_analysis/test_webhooks.py179 # ------------------------------------------------------------------COMMENT
MEDIUMtests/sentry/preprod/size_analysis/test_webhooks.py181 # ------------------------------------------------------------------COMMENT
MEDIUMtests/sentry/preprod/size_analysis/test_webhooks.py489 # ------------------------------------------------------------------COMMENT
MEDIUMtests/sentry/preprod/size_analysis/test_webhooks.py491 # ------------------------------------------------------------------COMMENT
MEDIUMtests/sentry/preprod/size_analysis/test_webhooks.py531 # ------------------------------------------------------------------COMMENT
MEDIUMtests/sentry/preprod/size_analysis/test_webhooks.py533 # ------------------------------------------------------------------COMMENT
MEDIUMtests/sentry/preprod/size_analysis/test_webhooks.py25 # ------------------------------------------------------------------COMMENT
MEDIUMtests/sentry/preprod/size_analysis/test_webhooks.py27 # ------------------------------------------------------------------COMMENT
MEDIUMtests/sentry/preprod/size_analysis/test_webhooks.py419 # ------------------------------------------------------------------COMMENT
MEDIUMtests/sentry/preprod/size_analysis/test_webhooks.py421 # ------------------------------------------------------------------COMMENT
MEDIUM…endpoints/test_explore_saved_query_ai_conversations.py32 # ── Create ──────────────────────────────────────────────────────────COMMENT
MEDIUM…endpoints/test_explore_saved_query_ai_conversations.py117 # ── Read ────────────────────────────────────────────────────────────COMMENT
MEDIUM…endpoints/test_explore_saved_query_ai_conversations.py162 # ── Update ──────────────────────────────────────────────────────────COMMENT
MEDIUM…endpoints/test_explore_saved_query_ai_conversations.py211 # ── Delete ──────────────────────────────────────────────────────────COMMENT
MEDIUM…ts/sentry/integrations/claude_code/test_integration.py213 # ── get_client ───────────────────────────────────────────────────COMMENT
MEDIUM…ts/sentry/integrations/claude_code/test_integration.py317 # ── agent_version coercion ───────────────────────────────────────COMMENT
MEDIUM…ts/sentry/integrations/claude_code/test_integration.py338 # ── Property getters ─────────────────────────────────────────────COMMENT
MEDIUM…ts/sentry/integrations/claude_code/test_integration.py353 # ── update_organization_config ───────────────────────────────────COMMENT
MEDIUM…ts/sentry/integrations/claude_code/test_integration.py379 # ── get_config_data ──────────────────────────────────────────────COMMENT
MEDIUM…ts/sentry/integrations/claude_code/test_integration.py81 # ── Provider metadata ────────────────────────────────────────────COMMENT
154 more matches not shown…
Hallucination Indicators62 hits · 690 pts
SeverityFileLineSnippetContext
CRITICALtests/relay_integration/lang/java/test_plugin.py132 72:73:java.lang.String io.sentry.samples.instrumentation.data.Track.getName():46:46 -> onCreateCODE
CRITICALtests/relay_integration/lang/java/test_plugin.py135 77:78:java.lang.String io.sentry.samples.instrumentation.data.Track.getComposer():48:48 -> onCreateCODE
CRITICALtests/relay_integration/lang/java/test_plugin.py138 82:83:long io.sentry.samples.instrumentation.data.Track.getMillis():51:51 -> onCreateCODE
CRITICALtests/relay_integration/lang/java/test_plugin.py141 91:92:float io.sentry.samples.instrumentation.data.Track.getPrice():53:53 -> onCreateCODE
CRITICALtests/relay_integration/lang/java/test_plugin.py163 36:44:void io.sentry.samples.instrumentation.ui.AnotherClassInSameFile.otherFun():21 -> onMenuItemClickCODE
CRITICALtests/relay_integration/lang/java/test_plugin.py164 36:44:void io.sentry.samples.instrumentation.ui.AnotherClassInSameFile.helloOther():17 -> onMenuItemClickCODE
CRITICALtests/relay_integration/lang/java/test_plugin.py166 36:44:void io.sentry.samples.instrumentation.ui.SomeService.helloThere():5 -> onMenuItemClickCODE
CRITICALtests/relay_integration/lang/java/test_plugin.py205 176:187:void io.sentry.samples.instrumentation.ui.EditActivity.addNewTrack(java.lang.String,java.lang.String,long,flCODE
CRITICALtests/relay_integration/lang/java/test_plugin.py210 188:190:void io.sentry.samples.instrumentation.ui.EditActivity.addNewTrack(java.lang.String,java.lang.String,long,flCODE
CRITICALtests/relay_integration/lang/java/test_plugin.py214 191:198:void io.sentry.samples.instrumentation.ui.EditActivity.addNewTrack(java.lang.String,java.lang.String,long,flCODE
CRITICALtests/relay_integration/lang/java/test_plugin.py228 239:250:void io.sentry.samples.instrumentation.ui.EditActivity.update(io.sentry.samples.instrumentation.data.Track,jCODE
CRITICALtests/relay_integration/lang/java/test_plugin.py232 251:265:io.sentry.samples.instrumentation.data.Track io.sentry.samples.instrumentation.data.Track.copy(long,java.lanCODE
CRITICALtests/relay_integration/lang/java/test_plugin.py234 251:265:void io.sentry.samples.instrumentation.ui.EditActivity.update(io.sentry.samples.instrumentation.data.Track,jCODE
CRITICALtests/relay_integration/lang/java/test_plugin.py238 266:273:void io.sentry.samples.instrumentation.ui.EditActivity.update(io.sentry.samples.instrumentation.data.Track,jCODE
CRITICALtests/sentry/auth/test_password_validation.py4from django.core.exceptions import ValidationErrorCODE
CRITICALtests/sentry/models/test_release.py5from django.core.exceptions import ValidationErrorCODE
CRITICALtests/sentry/models/test_orgauthtoken.py2from django.core.exceptions import ValidationErrorCODE
CRITICALtests/sentry/models/test_project.py5from django.core.exceptions import ValidationErrorCODE
CRITICALtests/sentry/integrations/discord/test_utils.py4from django.core.exceptions import ValidationErrorCODE
CRITICALtests/sentry/integrations/discord/test_issue_alert.py6from django.core.exceptions import ValidationErrorCODE
CRITICAL…ints/test_organization_integration_channel_validate.py5from django.core.exceptions import ValidationErrorCODE
CRITICALtests/sentry/integrations/slack/utils/test_channel.py5from django.core.exceptions import ValidationErrorCODE
CRITICALtests/sentry/workflow_engine/test_base.py7from django.core.exceptions import ValidationErrorCODE
CRITICAL…flow_engine/endpoints/validators/actions/test_slack.py3from django.core.exceptions import ValidationErrorCODE
CRITICAL…ow_engine/endpoints/validators/actions/test_discord.py3from django.core.exceptions import ValidationErrorCODE
CRITICALtests/sentry/workflow_engine/models/test_workflow.py2from django.core.exceptions import ValidationErrorCODE
CRITICALtests/sentry/db/models/fields/test_slug.py4from django.core.exceptions import ValidationErrorCODE
CRITICAL…ents/endpoints/test_organization_alert_rule_details.py12from django.core.exceptions import ValidationErrorCODE
CRITICAL…ntry/incidents/endpoints/validators/test_validators.py390 from django.core.exceptions import ValidationErrorCODE
CRITICAL…/profiling/flamegraph/aggregateFlamegraphTreeTable.tsx267 selfWeight={r.item.node.node.totalWeight.toFixed(0)}CODE
CRITICAL…tomations/components/automationBuilderContext.spec.tsx16 const conditions = result.current.state.triggers.conditions.filter(CODE
CRITICAL…tomations/components/automationBuilderContext.spec.tsx31 const addedCondition = result.current.state.triggers.conditions.find(CODE
CRITICALsrc/social_auth/fields.py5from django.core.exceptions import ValidationErrorCODE
CRITICALsrc/sentry/event_manager.py17from django.core.exceptions import ValidationErrorCODE
CRITICALsrc/sentry/monitors/validators.py7from django.core.exceptions import ValidationErrorCODE
CRITICALsrc/sentry/spans/consumers/process_segments/message.py10from django.core.exceptions import ValidationErrorCODE
CRITICALsrc/sentry/runner/commands/createuser.py26 from django.core.exceptions import ValidationErrorCODE
CRITICALsrc/sentry/runner/commands/createuser.py37 from django.core.exceptions import ValidationErrorCODE
CRITICALsrc/sentry/stacktraces/functions.py8from django.core.exceptions import ValidationErrorCODE
CRITICALsrc/sentry/utils/avatar.py13from django.core.exceptions import ValidationErrorCODE
CRITICALsrc/sentry/models/orgauthtoken.py7from django.core.exceptions import ValidationErrorCODE
CRITICALsrc/sentry/receivers/releases.py4from django.core.exceptions import ValidationErrorCODE
CRITICALsrc/sentry/integrations/discord/utils/channel.py5from django.core.exceptions import ValidationErrorCODE
CRITICAL…/sentry/integrations/discord/utils/channel_from_url.py3from django.core.exceptions import ValidationErrorCODE
CRITICAL…entry/integrations/discord/actions/issue_alert/form.py6from django.core.exceptions import ValidationErrorCODE
CRITICAL…endpoints/organization_integration_channel_validate.py6from django.core.exceptions import ValidationErrorCODE
CRITICALsrc/sentry/integrations/slack/utils/channel.py7from django.core.exceptions import ValidationErrorCODE
CRITICALsrc/sentry/integrations/slack/actions/form.py8from django.core.exceptions import ValidationErrorCODE
CRITICALsrc/sentry/integrations/perforce/integration.py10from django.core.exceptions import ValidationError as DjangoValidationErrorCODE
CRITICAL…y/sentry_apps/api/endpoints/project_legacy_webhooks.py1from django.core.exceptions import ValidationError as DjangoValidationErrorCODE
CRITICALsrc/sentry/seer/anomaly_detection/store_data.py8from django.core.exceptions import ValidationErrorCODE
CRITICAL…y/seer/anomaly_detection/store_data_workflow_engine.py5from django.core.exceptions import ValidationErrorCODE
CRITICALsrc/sentry/release_health/tasks.py7from django.core.exceptions import ValidationErrorCODE
CRITICALsrc/sentry/relocation/tasks/process.py17from django.core.exceptions import ValidationErrorCODE
CRITICALsrc/sentry/data_export/endpoints/data_export.py5from django.core.exceptions import ValidationErrorCODE
CRITICALsrc/sentry/db/models/fields/jsonfield.py33from django.core.exceptions import ValidationErrorCODE
CRITICALsrc/sentry/api/endpoints/organization_auth_tokens.py3from django.core.exceptions import ValidationErrorCODE
CRITICALsrc/sentry/backup/services/import_export/impl.py11from django.core.exceptions import ValidationError as DjangoValidationErrorCODE
CRITICALsrc/sentry/uptime/autodetect/url_extraction.py6from django.core.exceptions import ValidationErrorCODE
CRITICAL…notifications/notification_action/action_validation.py3from django.core.exceptions import ValidationErrorCODE
2 more matches not shown…
Cross-File Repetition134 hits · 670 pts
SeverityFileLineSnippetContext
HIGHtests/snuba/test_outcomes.py0sort the groups of the results array by the `by` object, ensuring a stable orderSTRING
HIGHtests/snuba/api/endpoints/test_organization_stats_v2.py0sort the groups of the results array by the `by` object, ensuring a stable orderSTRING
HIGHtests/snuba/api/endpoints/test_organization_sessions.py0sort the groups of the results array by the `by` object, ensuring a stable orderSTRING
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 vulnerabSTRING
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 vulnerabSTRING
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 vulnerabSTRING
HIGH…/monitors/endpoints/test_organization_monitor_index.py0test that members can assign a team they are a member of as owner.STRING
HIGH…ry/uptime/endpoints/test_project_uptime_alert_index.py0test that members can assign a team they are a member of as owner.STRING
HIGH…idents/endpoints/test_organization_alert_rule_index.py0test that members can assign a team they are a member of as owner.STRING
HIGH…/monitors/endpoints/test_organization_monitor_index.py0test that users with team:admin scope can assign any team as owner.STRING
HIGH…ry/uptime/endpoints/test_project_uptime_alert_index.py0test that users with team:admin scope can assign any team as owner.STRING
HIGH…idents/endpoints/test_organization_alert_rule_index.py0test that users with team:admin scope can assign any team as owner.STRING
HIGH…/monitors/endpoints/test_organization_monitor_index.py0test that when open team membership is enabled, members can assign any team as owner.STRING
HIGH…ry/uptime/endpoints/test_project_uptime_alert_index.py0test that when open team membership is enabled, members can assign any team as owner.STRING
HIGH…idents/endpoints/test_organization_alert_rule_index.py0test that when open team membership is enabled, members can assign any team as owner.STRING
HIGHtests/sentry/integrations/gitlab/test_integration.py0common setup for assignee sync tests. returns: tuple: (user, installation, external_issue, integration, group)STRING
HIGH…try/integrations/github_enterprise/test_integration.py0common setup for assignee sync tests. returns: tuple: (user, installation, external_issue, integration, group)STRING
HIGHtests/sentry/integrations/github/test_integration.py0common setup for assignee sync tests. returns: tuple: (user, installation, external_issue, integration, group)STRING
HIGHtests/sentry/integrations/gitlab/test_integration.py0test that @ symbol is stripped from external_name when syncingSTRING
HIGH…try/integrations/github_enterprise/test_integration.py0test that @ symbol is stripped from external_name when syncingSTRING
HIGHtests/sentry/integrations/github/test_integration.py0test that @ symbol is stripped from external_name when syncingSTRING
HIGHtests/sentry/integrations/gitlab/test_integration.py0test that sync handles invalid external issue key format gracefullySTRING
HIGH…try/integrations/github_enterprise/test_integration.py0test that sync handles invalid external issue key format gracefullySTRING
HIGHtests/sentry/integrations/github/test_integration.py0test that sync handles invalid external issue key format gracefullySTRING
HIGH…y/integrations/github_enterprise/test_ticket_action.py0test that the absence of dynamic_form_fields in the action fails validationSTRING
HIGHtests/sentry/integrations/jira/test_ticket_action.py0test that the absence of dynamic_form_fields in the action fails validationSTRING
HIGHtests/sentry/integrations/github/test_ticket_action.py0test that the absence of dynamic_form_fields in the action fails validationSTRING
HIGH…/sentry/integrations/jira_server/test_ticket_action.py0test that the absence of dynamic_form_fields in the action fails validationSTRING
HIGH…ry/integrations/slack/notifications/test_escalating.py0test that a slack message is sent with the expected payload when a generic issue type is resolved in a release and blockSTRING
HIGH…s/slack/notifications/test_resolved_in_pull_request.py0test that a slack message is sent with the expected payload when a generic issue type is resolved in a release and blockSTRING
HIGH…ations/slack/notifications/test_resolved_in_release.py0test that a slack message is sent with the expected payload when a generic issue type is resolved in a release and blockSTRING
HIGH…ntry/integrations/slack/notifications/test_resolved.py0test that a slack message is sent with the expected payload when a generic issue type is resolved in a release and blockSTRING
HIGH…ry/integrations/slack/notifications/test_unassigned.py0test that a slack message is sent with the expected payload when a generic issue type is resolved in a release and blockSTRING
HIGH…ntry/integrations/slack/notifications/test_assigned.py0test that a slack message is sent with the expected payload when a generic issue type is resolved in a release and blockSTRING
HIGH…ry/integrations/slack/notifications/test_regression.py0test that a slack message is sent with the expected payload when a generic issue type is resolved in a release and blockSTRING
HIGHtests/sentry/seer/fetch_issues/test_by_function_name.py0test that _fetch_issues_from_repo_projects returns a list of group objects.STRING
HIGHtests/sentry/seer/fetch_issues/test_by_error_type.py0test that _fetch_issues_from_repo_projects returns a list of group objects.STRING
HIGHtests/sentry/seer/fetch_issues/test_by_text_query.py0test that _fetch_issues_from_repo_projects returns a list of group objects.STRING
HIGHtests/sentry/seer/fetch_issues/test_by_function_name.py0test that _fetch_issues_from_repo_projects returns empty list when no matches.STRING
HIGHtests/sentry/seer/fetch_issues/test_by_error_type.py0test that _fetch_issues_from_repo_projects returns empty list when no matches.STRING
HIGHtests/sentry/seer/fetch_issues/test_by_text_query.py0test that _fetch_issues_from_repo_projects returns empty list when no matches.STRING
HIGHtests/sentry/api/endpoints/test_prompts_activity.py0regression test: cannot access projects from other organizations (idor).STRING
HIGH…oints/issues/test_organization_derive_code_mappings.py0regression test: cannot access projects from other organizations (idor).STRING
HIGH…ints/test_organization_ondemand_rule_stats_endpoint.py0regression test: cannot access projects from other organizations (idor).STRING
HIGH…ssue_detection/test_file_io_on_main_thread_detector.py0\ # compiler: r8 # compiler_version: 2.0.74 # min_api: 16 # pg_map_id: 5b46fdc # common_typos_disable # {"id":"com.androSTRING
HIGHtests/sentry/profiles/test_task.py0\ # compiler: r8 # compiler_version: 2.0.74 # min_api: 16 # pg_map_id: 5b46fdc # common_typos_disable # {"id":"com.androSTRING
HIGHtests/sentry/profiles/test_java.py0\ # compiler: r8 # compiler_version: 2.0.74 # min_api: 16 # pg_map_id: 5b46fdc # common_typos_disable # {"id":"com.androSTRING
HIGH…try/uptime/endpoints/test_organization_uptime_stats.py0store a single uptime data row. must be implemented by subclasses.STRING
HIGH…y/uptime/endpoints/test_organization_uptime_summary.py0store a single uptime data row. must be implemented by subclasses.STRING
HIGH…ime/endpoints/test_project_uptime_alert_check_index.py0store a single uptime data row. must be implemented by subclasses.STRING
HIGHsrc/social_auth/fields.py0add a descriptor for backwards compatibility with previous django behavior.STRING
HIGHsrc/sentry/db/models/fields/jsonfield.py0add a descriptor for backwards compatibility with previous django behavior.STRING
HIGHsrc/sentry/db/models/fields/gzippeddict.py0add a descriptor for backwards compatibility with previous django behavior.STRING
HIGHsrc/sentry/db/models/fields/array.py0add a descriptor for backwards compatibility with previous django behavior.STRING
HIGHsrc/sudo/forms.py0sudo.views ~~~~~~~~~~ :copyright: (c) 2020 by matt robenolt. :license: bsd, see license for more details.STRING
HIGHsrc/sudo/utils.py0sudo.views ~~~~~~~~~~ :copyright: (c) 2020 by matt robenolt. :license: bsd, see license for more details.STRING
HIGHsrc/sudo/views.py0sudo.views ~~~~~~~~~~ :copyright: (c) 2020 by matt robenolt. :license: bsd, see license for more details.STRING
HIGHsrc/sentry/organizations/absolute_url.py0get an absolute url to `path` for this organization. this method takes customer-domains into account and will update theSTRING
HIGHsrc/sentry/organizations/services/organization/model.py0get an absolute url to `path` for this organization. this method takes customer-domains into account and will update theSTRING
HIGHsrc/sentry/models/organization.py0get an absolute url to `path` for this organization. this method takes customer-domains into account and will update theSTRING
74 more matches not shown…
Cross-Language Confusion107 hits · 560 pts
SeverityFileLineSnippetContext
HIGHtests/relay_integration/lang/java/test_plugin.py306 if (originalTrack == null) "ui.action.add" else "ui.action.edit",CODE
HIGHtests/relay_integration/lang/java/test_plugin.py310 val name = nameInput.text.toString()CODE
HIGHtests/relay_integration/lang/java/test_plugin.py311 val composer = composerInput.text.toString()CODE
HIGHtests/relay_integration/lang/java/test_plugin.py312 val duration = durationInput.text.toString()CODE
HIGHtests/relay_integration/lang/java/test_plugin.py313 val unitPrice = unitPriceInput.text.toString()CODE
HIGHtests/relay_integration/lang/java/test_plugin.py348 albumId = null,CODE
HIGHtests/relay_integration/lang/java/test_plugin.py350 mediaTypeId = null,CODE
HIGHtests/relay_integration/lang/java/test_plugin.py351 genreId = null,CODE
HIGHtests/relay_integration/lang/java/test_plugin.py353 bytes = null,CODE
HIGHtests/relay_integration/lang/java/test_plugin.py292 durationInput.setText(millis.toString())CODE
HIGHtests/relay_integration/lang/java/test_plugin.py293 unitPriceInput.setText(price.toString())CODE
HIGHtests/relay_integration/lang/java/test_plugin.py325 if (originalTrack == null) {CODE
HIGHtests/acceptance/test_scm_onboarding.py526 self.browser.driver.execute_script("window.__testOpenUrl = null;")CODE
HIGHtests/acceptance/test_scm_onboarding.py491 window.__testOpenUrl = null;STRING
HIGHtests/acceptance/test_error_page_embed.py29 const injectionPoint = window.document.head || window.document.body;CODE
HIGHtests/sentry/tempest/test_tempest.py43 mock_fetch.return_value.content = b'{"latest_id": null}'CODE
HIGHtests/sentry/preprod/test_tasks.py703 b'{"analysis_duration": 1.5, "download_size": 1000, "install_size": 2000, "treemap": null, "analysis_versionCODE
HIGHtests/sentry/preprod/test_tasks.py797 b'{"analysis_duration": 1.5, "download_size": 1000, "install_size": 2000, "treemap": null, "analysis_versionCODE
HIGHtests/sentry/preprod/test_tasks.py671 b'{"analysis_duration": 1.5, "download_size": 1000, "install_size": 2000, "treemap": null, "analysis_versionCODE
HIGHtests/sentry/preprod/test_tasks.py818 b'{"analysis_duration": 1.5, "download_size": 1000, "install_size": 2000, "treemap": null, "analysis_versionCODE
HIGHtests/sentry/preprod/test_tasks.py835 b'{"analysis_duration": 2.5, "download_size": 5000, "install_size": 10000, "treemap": null, "analysis_versioCODE
HIGHtests/sentry/preprod/test_tasks.py873 b'{"analysis_duration": 2.5, "download_size": 5000, "install_size": 10000, "treemap": null, "analysis_versioCODE
HIGHtests/sentry/preprod/test_tasks.py904 b'{"analysis_duration": 2.5, "download_size": 5000, "install_size": 10000, "treemap": null, "analysis_versioCODE
HIGHtests/sentry/preprod/test_tasks.py917 b'{"analysis_duration": 1.5, "download_size": 3500, "install_size": 7000, "treemap": null, "analysis_versionCODE
HIGHtests/sentry/preprod/test_tasks.py945 b'{"analysis_duration": 1.5, "download_size": 1000, "install_size": 2000, "treemap": null, "analysis_verCODE
HIGHtests/sentry/preprod/test_tasks.py971 b'{"analysis_duration": 1.5, "download_size": 1000, "install_size": 2000, "treemap": null, "analysis_verCODE
HIGHtests/sentry/preprod/test_tasks.py987 b'{"analysis_duration": 2.5, "download_size": 5000, "install_size": 10000, "treemap": null, "analysis_veCODE
HIGHtests/sentry/integrations/vercel/test_uninstall.py49 "team" : null,CODE
HIGHtests/sentry/integrations/vsts/test_client.py358 text='{"$id":"1","innerException":null,"message":"According to Microsoft Entra, your Identity xxx is currentCODE
HIGHtests/sentry/integrations/vsts/test_client.py397 == '{"$id":"1","innerException":null,"message":"According to Microsoft Entra, your Identity xxx is currentlyCODE
HIGHtests/sentry/integrations/slack/test_unfurl.py1618 # aggregateField that parses to a non-dict (int, list, string, null)COMMENT
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 arrCODE
HIGHtests/sentry/lang/javascript/test_errormapping.py66 "Component.render(): A valid React element (or null) must be "STRING
HIGHtests/sentry/lang/javascript/test_errormapping.py67 "returned. You may have returned undefined, an array or "STRING
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 arrCODE
HIGHtests/sentry/seer/autofix/pr_iteration/test_types.py114 raw = '{"text": "please fix", "source": {"type": "user-ui", "user_id": 5, "user": null}}'CODE
HIGHtests/sentry/seer/autofix/pr_iteration/test_types.py142 '{"type": "user-ui", "user_id": 1, "user": null}},'CODE
HIGHtests/sentry/seer/autofix/pr_iteration/test_types.py154 raw = '{"text": "please fix", "source": {"type": "user-ui", "user_id": 5, "user": null}}'CODE
HIGHtests/sentry/seer/similarity/test_utils.py845 assert filter_null_from_string(string_with_null) == 'String with null , "" is null'CODE
HIGH…lays/endpoints/test_organization_replay_events_meta.py138 don't have this field populated (it is null). Over time this will no longer beSTRING
HIGHtests/sentry/event_manager/test_event_manager.py3437 """Test times_seen calculation with invalid sample rates (null, 0, negative, > 1)"""STRING
HIGH…ry/workflow_engine/processors/test_delayed_workflow.py1165 ('{"event_id": null}', "event_id"), # null event_idCODE
HIGHtests/sentry/pr_metrics/test_judge.py348 # and must not reach the upsert (which would otherwise store a null).COMMENT
HIGHtests/sentry/snuba/metrics/test_extraction.py66 ("count()", "", False), # Malformed aggregate should return falseCODE
HIGHtests/sentry/backup/test_findings.py76 "left_pk": null,CODE
HIGHtests/sentry/backup/test_validate.py425 "last_login": null,STRING
HIGHtests/sentry/backup/test_validate.py433 "is_sentry_app": null,STRING
HIGHtests/sentry/backup/test_validate.py352 "last_login": null,STRING
HIGHtests/sentry/backup/test_validate.py369 "last_login": null,STRING
HIGHtests/sentry/backup/test_validate.py609 "last_login": null,STRING
HIGHtests/sentry/backup/test_validate.py620 "last_login": null,STRING
HIGHtests/sentry/backup/test_validate.py661 "last_login": null,STRING
HIGHtests/sentry/backup/test_validate.py672 "last_login": null,STRING
HIGHtests/sentry/backup/test_validate.py718 "last_login": null,STRING
HIGHtests/sentry/backup/test_validate.py729 "last_login": null,STRING
HIGHtests/sentry/backup/test_validate.py766 "last_login": null,STRING
HIGHtests/sentry/backup/test_validate.py777 "last_login": null,STRING
HIGHtests/sentry/backup/test_validate.py821 "last_login": null,STRING
HIGHtests/sentry/backup/test_validate.py866 "last_login": null,STRING
HIGHself-hosted/sentry.conf.py77 "Error: REDIS_PORT_6379_TCP_ADDR (or SENTRY_REDIS_HOST) is undefined, did you forget to `--link` a redis containCODE
47 more matches not shown…
Fake / Example Data430 hits · 454 pts
SeverityFileLineSnippetContext
LOWtests/js/sentry-test/reactTestingLibrary.spec.tsx144 <button onClick={() => setSearchParams({id: '200', name: 'Jane Doe'})}>CODE
LOWtests/js/sentry-test/reactTestingLibrary.spec.tsx159 name: 'John Doe',CODE
LOWtests/js/sentry-test/reactTestingLibrary.spec.tsx173 expect(router.location.query).toEqual({id: '200', name: 'Jane Doe'});CODE
LOWtests/flagpole/test_conditions.py242 context=EvaluationContext({"email": "user@example.com"}), segment_name="test"CODE
LOWtests/flagpole/test_conditions.py354 context=EvaluationContext({"email": "user@example.com"}), segment_name="test"CODE
LOW…dpoints/test_organization_events_stats_span_indexed.py2367 self.user = self.create_user("user@example.com", is_superuser=False)CODE
LOWtests/snuba/api/endpoints/test_organization_events.py2608 query = {"field": ["stack.filename", "message"], "query": "user.email:*@example.org"}CODE
LOWtests/snuba/api/endpoints/test_organization_events.py6033 self.user = self.create_user("user@example.com", is_superuser=False)CODE
LOW…api/endpoints/test_organization_events_span_indexed.py4910 "user.email": "test@test.com",CODE
LOW…api/endpoints/test_organization_events_span_indexed.py4923 "sentry_tags": {"user.email": "test@test.com"},CODE
LOW…api/endpoints/test_organization_events_span_indexed.py1521 "sentry_tags": {"user.email": "test@test.com"},CODE
LOW…api/endpoints/test_organization_events_span_indexed.py1549 "user.display": "test@test.com",CODE
LOW…api/endpoints/test_organization_events_span_indexed.py2580 "sentry_tags": {"status": "success", "user.email": "test@test.com"},CODE
LOW…api/endpoints/test_organization_events_span_indexed.py4884 "sentry_tags": {"user.email": "test@test.com"},CODE
LOW…endpoints/test_organization_events_timeseries_spans.py143 self.user = self.create_user("user@example.com", is_superuser=False)CODE
LOW…onitors/consumers/test_incident_occurrence_consumer.py41 KafkaPayload(b"fake-key", MONITORS_INCIDENT_OCCURRENCES.encode(incident_occurrence), []),CODE
LOWtests/sentry/monitors/consumers/test_end_to_end.py88 KafkaPayload(b"fake-key", msgpack.packb(wrapper), []),CODE
LOW…/sentry/monitors/consumers/test_clock_tick_consumer.py60 KafkaPayload(b"fake-key", MONITORS_CLOCK_TICK_CODEC.encode({"ts": ts.timestamp()}), []),CODE
LOW…/sentry/monitors/consumers/test_clock_tick_consumer.py100 KafkaPayload(b"fake-key", MONITORS_CLOCK_TICK_CODEC.encode({"ts": ts.timestamp()}), []),CODE
LOW…sentry/monitors/consumers/test_clock_tasks_consumer.py30 KafkaPayload(b"fake-key", MONITORS_CLOCK_TASKS_CODEC.encode(task), []),CODE
LOW…sts/sentry/monitors/consumers/test_monitor_consumer.py116 KafkaPayload(b"fake-key", msgpack.packb(wrapper), []),CODE
LOW…sts/sentry/monitors/consumers/test_monitor_consumer.py177 KafkaPayload(b"fake-key", msgpack.packb(wrapper), []),CODE
LOW…eleases/endpoints/test_organization_release_details.py1615 data={"commits": [{"id": "a", "author_email": "email[test]@example.org"}]}CODE
LOWtests/sentry/tasks/test_relay.py425 cfg = {"dummy-key": "val"}CODE
LOWtests/sentry/tasks/test_relay.py434 assert "dummy-key" not in cfg_from_cacheCODE
LOWtests/sentry/tasks/test_relay.py448 cfg = {"dummy-key": "val"}CODE
LOWtests/sentry/flags/endpoints/test_secrets.py184 new_user = self.create_user("test@test.com")CODE
LOWtests/sentry/flags/endpoints/test_secrets.py224 new_user = self.create_user("test@test.com")CODE
LOWtests/sentry/flags/endpoints/test_secrets.py255 new_user = self.create_user("test@test.com")CODE
LOW…try/auth_v2/endpoints/test_auth_merge_user_accounts.py70 self.unrelated_user = self.create_user(email="foo@bar.com")CODE
LOWtests/sentry/identity/test_oauth2.py52 responses.POST, "https://example.org/oauth/token", json={"token": "a-fake-token"}CODE
LOWtests/sentry/identity/test_oauth2.py59 assert "a-fake-token" == result["token"]CODE
LOWtests/sentry/identity/test_oauth2.py77 responses.POST, "https://example.org/oauth/token", json={"token": "a-fake-token"}CODE
LOWtests/sentry/identity/test_oauth2.py84 assert "a-fake-token" == result["token"]CODE
LOWtests/sentry/identity/test_oauth2.py153 json={"token": "a-fake-token"},CODE
LOWtests/sentry/identity/test_oauth2.py163 assert_failure_metric(mock_record, ApiUnauthorized('{"token": "a-fake-token"}'))CODE
LOWtests/sentry/identity/test_oauth2.py301 json={"access_token": "a-fake-token"},CODE
LOWtests/sentry/identity/test_oauth2.py309 assert ctx.fetch_state("data") == {"access_token": "a-fake-token"}CODE
LOWtests/sentry/identity/test_pipeline.py27 "email": "user@example.com",CODE
LOWtests/sentry/identity/gcp/test_provider.py101 {"sub": "google-user-123", "email": "user@example.com", "name": "Test User"}CODE
LOWtests/sentry/identity/gcp/test_provider.py116 assert result["email"] == "user@example.com"CODE
LOWtests/sentry/identity/gcp/test_provider.py125 id_token = _make_id_token({"sub": "google-user-123", "email": "user@example.com"})CODE
LOWtests/sentry/identity/gcp/test_provider.py129 assert result["name"] == "user@example.com"CODE
LOWtests/sentry/identity/gcp/test_provider.py142 id_token = _make_id_token({"email": "user@example.com"})CODE
LOWtests/sentry/identity/datadog/test_provider.py707 "user_email": "user@example.com",CODE
LOWtests/sentry/identity/datadog/test_provider.py717 assert result["email"] == "user@example.com"CODE
LOWtests/sentry/identity/datadog/test_provider.py464 "user_email": "user@example.com",CODE
LOWtests/sentry/identity/datadog/test_provider.py486 assert result["email"] == "user@example.com"CODE
LOWtests/sentry/identity/datadog/test_provider.py540 "user_email": "user@example.com",CODE
LOWtests/sentry/identity/datadog/test_provider.py556 "user_email": "user@example.com",CODE
LOW…ry/spans/consumers/process_segments/test_enrichment.py522 ATTRIBUTE_NAMES.USER_EMAIL: {"type": "string", "value": "user@example.com"},CODE
LOWtests/sentry/auth/test_helper.py1115 self.admin_user = self.create_user(email="admin@example.com")CODE
LOWtests/sentry/auth/test_helper.py1169 result = self._run_setup_pipeline_with_identity_email("admin@example.com")CODE
LOWtests/sentry/auth/test_email_verification.py52 send_signup_verification_email("user@example.com", url_name="sentry-signup-verify-email")CODE
LOWtests/sentry/auth/test_email_verification.py56 assert payload["email"] == "user@example.com"CODE
LOW…/sentry/web/frontend/test_signup_email_verification.py91 resp = self._get_with_session(email="user@example.com")CODE
LOW…/sentry/web/frontend/test_signup_email_verification.py93 assert self.client.session[VERIFIED_SESSION_KEY] == "user@example.com"CODE
LOW…entry/web/frontend/test_signup_verification_pending.py22 session[PENDING_VERIFICATION_SESSION_KEY] = "user@example.com"CODE
LOW…entry/web/frontend/test_signup_verification_pending.py29 assert b"user@example.com" in response.contentCODE
LOWtests/sentry/runner/commands/test_backup.py597 self.create_user("admin@example.com", is_staff=True, is_superuser=True)CODE
370 more matches not shown…
Redundant / Tautological Comments244 hits · 437 pts
SeverityFileLineSnippetContext
LOWtools/api_urls_to_typescript.py76 # Check if this match is inside a named group by looking backwardsCOMMENT
LOWtools/api_urls_to_typescript.py88 # Check if this is a named group by looking for (?P<COMMENT
LOWtests/sentry/tasks/test_reprocessing2.py60 # Set platform to native so all parts of reprocessing fire, symbolication willCOMMENT
LOWtests/sentry/tasks/test_post_process.py3204 # Set times_seen_pending to 0 to ensure times_seen_with_pending < 10COMMENT
LOWtests/sentry/tasks/test_clear_expired_snoozes.py38 # Check if unexpired snooze got clearedCOMMENT
LOWtests/sentry/tasks/test_clear_expired_snoozes.py70 # Check if unexpired snooze got clearedCOMMENT
LOW…notification_action_notification_message_repository.py163 # Check if all notification messages are returnedCOMMENT
LOW…notification_action_notification_message_repository.py187 # Check if only the notifications related to the specified actionCOMMENT
LOW…notification_action_notification_message_repository.py211 # Check if only the notifications related to the specified groupCOMMENT
LOWtests/sentry/integrations/pagerduty/test_client.py131 # Check if metrics is generated properlyCOMMENT
LOWtests/sentry/integrations/pagerduty/test_client.py192 # Check if metrics is generated properlyCOMMENT
LOW…ts/sentry/integrations/msteams/test_message_builder.py389 # Check if card is serializable to jsonCOMMENT
LOWtests/sentry/integrations/msteams/test_webhook.py483 # Check if metrics is generated properlyCOMMENT
LOWtests/sentry/integrations/msteams/test_client.py129 # Check if metrics is generated properlyCOMMENT
LOWtests/sentry/integrations/msteams/test_client.py167 # Check if metrics is generated properlyCOMMENT
LOWtests/sentry/integrations/vsts/test_client.py185 # Check if metrics is generated properlyCOMMENT
LOWtests/sentry/seer/autofix/test_issue_summary.py127 # Check if the cache was set correctlyCOMMENT
LOWtests/sentry/seer/autofix/test_issue_summary.py687 # Check if the cache was set correctlyCOMMENT
LOWtests/sentry/seer/agent/test_tools.py3441 # Set profile_id to None since continuous profiles use profiler_id insteadCOMMENT
LOW…w_engine/endpoints/test_organization_workflow_index.py1807 # Set workflows to disabled for PUT testsCOMMENT
LOWtests/sentry/api/endpoints/test_debug_files.py338 # Set organization to "member" - member should be able to downloadCOMMENT
LOW…sts/sentry/api/endpoints/test_relay_globalconfig_v3.py37 # Set options to Relay's non-default values to avoid Relay skipping deserializationCOMMENT
LOWtests/sentry/issues/test_occurrence_consumer.py626 # Check if cache.set is called with the correct parametersCOMMENT
LOW…ntry/issues/endpoints/test_organization_group_index.py1577 # Assign group to another user and now it shouldn't show up in owner search for this team.COMMENT
LOWtests/sentry/testutils/thread_leaks/test_pytest.py25 # Set _where to simulate thread leak trackingCOMMENT
LOWtests/sentry/testutils/thread_leaks/test_pytest.py65 # Set _where to simulate thread leak trackingCOMMENT
LOWtests/sentry/testutils/thread_leaks/test_pytest.py118 # Set _where to simulate thread leak trackingCOMMENT
LOW…idents/endpoints/test_organization_alert_rule_index.py2004 # Set limit to 2 alert rulesCOMMENT
LOW…sentry/deletions/test_validate_group_related_models.py61 # Check if it points to GroupCOMMENT
LOW…c/app/gettingStartedDocs/python-chalice/onboarding.tsx32 # Set traces_sample_rate to 1.0 to capture 100%COMMENT
LOW…c/app/gettingStartedDocs/python-chalice/onboarding.tsx40 # Set profiles_sample_rate to 1.0 to profile 100%COMMENT
LOW…c/app/gettingStartedDocs/python-chalice/onboarding.tsx47 # Set profile_session_sample_rate to 1.0 to profile 100%COMMENT
LOW…c/app/gettingStartedDocs/python-chalice/onboarding.tsx50 # Set profile_lifecycle to "trace" to automaticallyCOMMENT
LOW…tic/app/gettingStartedDocs/python-quart/onboarding.tsx33 # Set traces_sample_rate to 1.0 to capture 100%COMMENT
LOW…tic/app/gettingStartedDocs/python-quart/onboarding.tsx41 # Set profiles_sample_rate to 1.0 to profile 100%COMMENT
LOW…tic/app/gettingStartedDocs/python-quart/onboarding.tsx48 # Set profile_session_sample_rate to 1.0 to profile 100%COMMENT
LOW…tic/app/gettingStartedDocs/python-quart/onboarding.tsx51 # Set profile_lifecycle to "trace" to automaticallyCOMMENT
LOWstatic/app/gettingStartedDocs/python-rq/onboarding.tsx27 # Set traces_sample_rate to 1.0 to capture 100%COMMENT
LOWstatic/app/gettingStartedDocs/python-rq/onboarding.tsx35 # Set profiles_sample_rate to 1.0 to profile 100%COMMENT
LOWstatic/app/gettingStartedDocs/python-rq/onboarding.tsx42 # Set profile_session_sample_rate to 1.0 to profile 100%COMMENT
LOWstatic/app/gettingStartedDocs/python-rq/onboarding.tsx45 # Set profile_lifecycle to "trace" to automaticallyCOMMENT
LOW…c/app/gettingStartedDocs/python-tornado/onboarding.tsx33 # Set traces_sample_rate to 1.0 to capture 100%COMMENT
LOW…c/app/gettingStartedDocs/python-tornado/onboarding.tsx41 # Set profiles_sample_rate to 1.0 to profile 100%COMMENT
LOW…c/app/gettingStartedDocs/python-tornado/onboarding.tsx48 # Set profile_session_sample_rate to 1.0 to profile 100%COMMENT
LOW…c/app/gettingStartedDocs/python-tornado/onboarding.tsx51 # Set profile_lifecycle to "trace" to automaticallyCOMMENT
LOW…/app/gettingStartedDocs/python-litestar/onboarding.tsx30 # Set traces_sample_rate to 1.0 to capture 100%COMMENT
LOW…/app/gettingStartedDocs/python-litestar/onboarding.tsx38 # Set profiles_sample_rate to 1.0 to profile 100%COMMENT
LOW…/app/gettingStartedDocs/python-litestar/onboarding.tsx45 # Set profile_session_sample_rate to 1.0 to profile 100%COMMENT
LOW…/app/gettingStartedDocs/python-litestar/onboarding.tsx48 # Set profile_lifecycle to "trace" to automaticallyCOMMENT
LOW…c/app/gettingStartedDocs/python-fastapi/onboarding.tsx31 # Set traces_sample_rate to 1.0 to capture 100%COMMENT
LOW…c/app/gettingStartedDocs/python-fastapi/onboarding.tsx39 # Set profiles_sample_rate to 1.0 to profile 100%COMMENT
LOW…c/app/gettingStartedDocs/python-fastapi/onboarding.tsx46 # Set profile_session_sample_rate to 1.0 to profile 100%COMMENT
LOW…c/app/gettingStartedDocs/python-fastapi/onboarding.tsx49 # Set profile_lifecycle to "trace" to automaticallyCOMMENT
LOWstatic/app/gettingStartedDocs/python/profiling.tsx24 # Set traces_sample_rate to 1.0 to capture 100%COMMENT
LOWstatic/app/gettingStartedDocs/python/profiling.tsx27 # Set profile_session_sample_rate to 1.0 to profile 100%COMMENT
LOWstatic/app/gettingStartedDocs/python/profiling.tsx30 # Set profile_lifecycle to "trace" to automaticallyCOMMENT
LOWstatic/app/gettingStartedDocs/python/profiling.tsx37 # Set profile_session_sample_rate to 1.0 to profile 100%COMMENT
LOWstatic/app/gettingStartedDocs/python/profiling.tsx41 # Set traces_sample_rate to 1.0 to capture 100%COMMENT
LOWstatic/app/gettingStartedDocs/python/profiling.tsx44 # Set profiles_sample_rate to 1.0 to profile 100%COMMENT
LOWstatic/app/gettingStartedDocs/python/onboarding.tsx29 # Set traces_sample_rate to 1.0 to capture 100%COMMENT
184 more matches not shown…
Structural Annotation Overuse157 hits · 265 pts
SeverityFileLineSnippetContext
LOWtests/acceptance/test_scm_onboarding.py524 # Step 2: Org Selection — fresh install, shows "Install GitHub App".COMMENT
LOWtests/acceptance/test_scm_onboarding.py504 # Step 1: OAuth Login — the modal shows "Authorize GitHub".COMMENT
LOWtests/acceptance/test_organization_uptime.py31 # Step 1: Start from empty uptime overview pageCOMMENT
LOWtests/acceptance/test_organization_uptime.py38 # Step 2: Click "Add Uptime Monitor" button in empty stateCOMMENT
LOWtests/acceptance/test_organization_uptime.py44 # Step 3: Fill out the uptime monitor formCOMMENT
LOWtests/acceptance/test_organization_uptime.py56 # Step 4: Submit the form using the manual approach from debug testCOMMENT
LOWtests/acceptance/test_organization_uptime.py60 # Step 5: Should navigate to uptime monitor details pageCOMMENT
LOWtests/acceptance/test_organization_uptime.py67 # Step 6: Navigate back to uptime overviewCOMMENT
LOWtests/acceptance/test_organization_uptime.py70 # Step 7: Verify the monitor is now shown in the overview listCOMMENT
LOWtests/sentry/pipeline/test_pipeline.py405 # Step 1: choose a thingCOMMENT
LOWtests/sentry/pipeline/test_pipeline.py410 # Step 2: confirm — this is the last step, so pipeline finishesCOMMENT
LOWtests/sentry/pipeline/test_pipeline.py501 # Step 1: choose a thing — binds "thing" to stateCOMMENT
LOWtests/sentry/spans/test_buffer.py1981 # Step 2: Buffer flushes segment, captures score, acquires lockCOMMENT
LOWtests/sentry/spans/test_buffer.py1987 # Step 3: Simulate lock expiration by deleting itCOMMENT
LOWtests/sentry/spans/test_buffer.py1990 # Step 4: New spans arrive while "producing to Kafka"COMMENT
LOWtests/sentry/spans/test_buffer.py1953 # Step 1: Create initial segmentCOMMENT
LOWtests/sentry/spans/test_buffer.py2009 # Step 5: Buffer calls done_flush_segments with OLD captured scoreCOMMENT
LOWtests/sentry/integrations/slack/test_unfurl.py1458 # Step 1: URL matchingCOMMENT
LOWtests/sentry/integrations/slack/test_unfurl.py1468 # Step 2: Run handlerCOMMENT
LOWtests/sentry/integrations/slack/test_unfurl.py1472 # Step 3: Verify events-timeseries was called with correct argsCOMMENT
LOWtests/sentry/integrations/slack/test_unfurl.py1482 # Step 4: Verify chartcuterie received correct dataCOMMENT
LOWtests/sentry/integrations/slack/test_unfurl.py1500 # Step 5: Verify the unfurl resultCOMMENT
LOWtests/sentry/integrations/perforce/test_integration.py826 # Step 1: Simulate installation with build_integrationCOMMENT
LOWtests/sentry/integrations/perforce/test_integration.py870 # Step 2: Create integration (simulating ensure_integration)COMMENT
LOWtests/sentry/integrations/perforce/test_integration.py879 # Step 3: Get installation and verify configuration retrievalCOMMENT
LOWtests/sentry/integrations/perforce/test_integration.py924 # Step 4: Test partial update (only change password)COMMENT
LOWtests/sentry/integrations/perforce/test_integration.py941 # Step 5: Test multiple field updateCOMMENT
LOWtests/sentry/integrations/perforce/test_integration.py965 # Step 6: Verify empty optional fields don't break anythingCOMMENT
LOWtests/sentry/api/helpers/test_group_index.py638 # Step 2: Mark as unresolvedCOMMENT
LOWtests/sentry/api/helpers/test_group_index.py646 # Step 3: GroupLink is deletedCOMMENT
LOWtests/sentry/api/helpers/test_group_index.py651 # Step 4: Manually resolve againCOMMENT
LOWtests/sentry/api/helpers/test_group_index.py619 # Step 1: Simulate resolving via commit by creating GroupLinkCOMMENT
LOW.agents/skills/sentry-security/SKILL.md25## Step 1: Classify the CodeCOMMENT
LOW.agents/skills/sentry-security/SKILL.md41## Step 2: Check for the Top 6 Vulnerability ClassesCOMMENT
LOW.agents/skills/sentry-security/SKILL.md129## Step 3: Trace the Full Enforcement ChainCOMMENT
LOW.agents/skills/sentry-security/SKILL.md156## Step 4: Report FindingsCOMMENT
LOW.agents/skills/sentry-javascript-bugs/SKILL.md27## Step 1: Classify the CodeCOMMENT
LOW.agents/skills/sentry-javascript-bugs/SKILL.md43## Step 2: Check for Top Bug PatternsCOMMENT
LOW.agents/skills/sentry-javascript-bugs/SKILL.md189## Step 3: Report FindingsCOMMENT
LOW.agents/skills/notification-platform/SKILL.md24## Step 1: Determine Your OperationCOMMENT
LOW.agents/skills/notification-platform/SKILL.md34## Step 2: Define the Notification SourceCOMMENT
LOW.agents/skills/notification-platform/SKILL.md62## Step 3: Create the Notification DataCOMMENT
LOW.agents/skills/notification-platform/SKILL.md88## Step 4: Create the Notification TemplateCOMMENT
LOW.agents/skills/notification-platform/SKILL.md159## Step 5: Register Rollout and SendCOMMENT
LOW.agents/skills/notification-platform/SKILL.md207## Step 6: Add a Custom RendererCOMMENT
LOW.agents/skills/notification-platform/SKILL.md234## Step 7: Add a New ProviderCOMMENT
LOW.agents/skills/notification-platform/SKILL.md248## Step 8: TestCOMMENT
LOW.agents/skills/notification-platform/SKILL.md303## Step 9: VerifyCOMMENT
LOW.agents/skills/hybrid-cloud-test-gen/SKILL.md26## Step 1: Identify Test CategoryCOMMENT
LOW.agents/skills/hybrid-cloud-test-gen/SKILL.md39## Step 2: Gather ContextCOMMENT
LOW.agents/skills/hybrid-cloud-test-gen/SKILL.md54## Step 3: Generate RPC Service TestsCOMMENT
LOW.agents/skills/hybrid-cloud-test-gen/SKILL.md74## Step 4: Generate API Gateway TestsCOMMENT
LOW.agents/skills/hybrid-cloud-test-gen/SKILL.md91## Step 5: Generate Outbox Pattern TestsCOMMENT
LOW.agents/skills/hybrid-cloud-test-gen/SKILL.md110## Step 6: Generate Endpoint Silo TestsCOMMENT
LOW.agents/skills/hybrid-cloud-test-gen/SKILL.md130## Step 7: ValidateCOMMENT
LOW.agents/skills/hybrid-cloud-rpc/SKILL.md27## Step 1: Determine OperationCOMMENT
LOW.agents/skills/hybrid-cloud-rpc/SKILL.md38## Step 2: Determine Silo ModeCOMMENT
LOW.agents/skills/hybrid-cloud-rpc/SKILL.md51## Step 3: Create a New ServiceCOMMENT
LOW.agents/skills/hybrid-cloud-rpc/SKILL.md96## Step 4: Add or Update MethodsCOMMENT
LOW.agents/skills/hybrid-cloud-rpc/SKILL.md187## Step 5: Update Method SignaturesCOMMENT
97 more matches not shown…
Over-Commented Block239 hits · 230 pts
SeverityFileLineSnippetContext
LOWwarden.toml1# Warden ConfigurationCOMMENT
LOWrspack.config.ts121//COMMENT
LOW…-refactor-tasks/conventions/no-derived-state.detect.sh1#!/usr/bin/env bashCOMMENT
LOW…tor-tasks/conventions/no-deprecated-callsite.detect.sh1#!/usr/bin/env bashCOMMENT
LOWdevservices/config/relay-edge.yml1---COMMENT
LOWdevservices/config/relay-cell.yml1---COMMENT
LOWtests/conftest.py21from django.db import connectionsCOMMENT
LOWtests/js/sentry-test/selectEvent.tsx1// Based on https://github.com/romgain/react-select-eventCOMMENT
LOWtests/snuba/test_util.py41 assert snuba.shrink_time_window(issues, year_ago) == naive_now - timedelta(COMMENT
LOWtests/snuba/search/test_backend.py2401 self.make_query(search_filter_query="is:[unresolved, resolved]")COMMENT
LOWtests/snuba/search/test_backend.py2421 # when querying by first release, the appropriate set of groups should be displayed:COMMENT
LOW…sts/sentry/releases/endpoints/test_project_releases.py281 # response = self.client.get(url, format='json')COMMENT
LOWtests/sentry/tasks/test_relay.py41 # This contraption helps in testing the usage of `transaction.on_commit` inCOMMENT
LOW…s/sentry/core/endpoints/scim/test_scim_user_details.py641 # member3.invite_status = InviteStatus.APPROVED.value # default valCOMMENT
LOWtests/sentry/grouping/test_parameterization.py701 real_parameterizer_regexes = parameterizer.compiled_regexes_by_nameCOMMENT
LOWtests/sentry/grouping/test_categorization.py241def _pre_scrub_event(data: dict[str, Any]) -> dict[str, Any]:COMMENT
LOWtests/sentry/grouping/enhancements/test_hints.py41 # final_in_app: True or FalseCOMMENT
LOWtests/sentry/lang/native/test_applecrashreport.py3211 SwiftExample 0xf6cd4 @objc ViewController.onClickFatalError(AnyObject) -> ()"""COMMENT
LOWtests/sentry/seer/similarity/__init__.py1# This file is necessary because we have multiple test files named `test_utils.py`, which confusesCOMMENT
LOWtests/sentry/seer/code_review/__init__.py1# This file is necessary because we have multiple test files named `test_utils.py`, which confusesCOMMENT
LOW…dpoints/test_project_replay_recording_segment_index.py141 # do not error it means these empty rows were not retured.COMMENT
LOW…ry/replays/endpoints/test_organization_replay_index.py1201 "warning_ids": [],COMMENT
LOW…ry/replays/endpoints/test_organization_replay_index.py1221COMMENT
LOW…ts/sentry/event_manager/test_event_manager_grouping.py401 def test_cache_invalidation_error_handling(self) -> None:COMMENT
LOW…/sentry/db/postgres/schema/safe_migrations/__init__.py1# Subset of tests taken from https://github.com/tbicr/django-pg-zero-downtime-migrations/tree/c029caac8d0cdaeef1d88870f0COMMENT
LOWstatic/app/index.tsx1// This is the entry point of Sentry's frontend application. Want toCOMMENT
LOWstatic/app/index.tsx21// a. The locale module will be initialized using `initializeLocale`. See thisCOMMENT
LOWstatic/app/index.tsx41// in the `window.__onSentryInit` array from outside of the app. This isCOMMENT
LOWstatic/app/locale.tsx341 */COMMENT
LOWstatic/app/types/echarts.tsx101 // incoming data valueCOMMENT
LOWstatic/app/utils/useHoverOverlay.tsx321COMMENT
LOWstatic/app/utils/oxfordizeArray.tsx1// Given a list of strings (probably nouns), join them into a single stringCOMMENT
LOWstatic/app/utils/discover/fields.tsx1001 escaped = true;COMMENT
LOW…ic/app/utils/feedback/coaleseIssueStatsPeriodQuery.tsx21 // for a while) they can trigger that specifically.COMMENT
LOWstatic/app/utils/search/fzf.tsx1// Port of the fzf v1 algorithm to typescriptCOMMENT
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 portCOMMENT
LOWstatic/app/utils/duration/closestIntervalToDuration.tsx41 // Calculate the MIDPOINT value ranges to allow the interval to be chosen.COMMENT
LOW…tic/app/components/forms/fields/accessibility.spec.tsx21import {SelectField} from './selectField';COMMENT
LOW…/app/components/core/slideOverPanel/slideOverPanel.tsx61 // `isTransitioning` set to `false`. We render the children and passCOMMENT
LOWstatic/app/components/core/select/select.tsx541 } = props;COMMENT
LOW…ents/searchQueryBuilder/hooks/useQueryBuilderState.tsx681 return {...state, query: replaceQueryToken(state.query, token.value, newValue)};COMMENT
LOWstatic/app/components/arithmeticBuilder/validator.tsx41 if (!defined(token)) {COMMENT
LOWstatic/app/components/charts/chartZoomConfig.ts1export const CHART_ZOOM_MERGE_OPTIONS = {COMMENT
LOWstatic/app/components/replays/videoReplayer.tsx701 // edge case where we have a gap between start of replay and first segmentCOMMENT
LOWstatic/app/components/replays/deserializeCanvasArgs.ts61 // ...(await Promise.all(args.map(deserializeCanvasArg(imageMap, ctx, preload))))COMMENT
LOW…components/profiling/flamegraph/flamegraphUIFrames.tsx221 if (!configSpaceCursor) {COMMENT
LOWstatic/app/components/events/rrwebReplayer/index.tsx21 try {COMMENT
LOW…nts/events/interfaces/crashContent/exception/utils.tsx21 // [-a-zA-Z0-9@:%._\+~#=]{1,256}: Matches the domain nameCOMMENT
LOWstatic/app/data/platformProductInfo.generated.ts1// DO NOT EDIT — regenerate via `pnpm gen:platform-info`.COMMENT
LOW…egrationOrganizationLink/gitHubInstallationCallout.tsx21 };COMMENT
LOW…s/components/settingsBreadcrumb/breadcrumbDropdown.tsx81 menuHasHover: boolean;COMMENT
LOWstatic/app/views/issueDetails/groupDetails.tsx361 useEffect(() => {COMMENT
LOWstatic/app/views/explore/metrics/metricsHeatMap.tsx61COMMENT
LOW…c/app/views/explore/metrics/metricsTabSeerComboBox.tsx161COMMENT
LOW…/explore/releases/releaseBubbles/useReleaseBubbles.tsx161 // | |COMMENT
LOW…releases/releaseBubbles/utils/createReleaseBuckets.tsx1import type {RawFlag} from 'sentry/components/featureFlags/utils';COMMENT
LOW…releases/releaseBubbles/utils/createReleaseBuckets.tsx81 }COMMENT
LOW…ic/app/views/explore/replays/detail/console/format.tsx1// This is based on https://github.com/browserify/node-util/blob/master/util.jsCOMMENT
LOW…boards/widgetBuilder/components/queryFilterBuilder.tsx61 // Multiple filter conditions allow comparing different data slices as overlays.COMMENT
LOW…/timeSeriesWidget/formatters/formatTimeSeriesLabel.tsx41COMMENT
179 more matches not shown…
AI Slop Vocabulary99 hits · 182 pts
SeverityFileLineSnippetContext
LOW…snuba/api/endpoints/test_organization_tagkey_values.py122 # default test ignore count just use timestampCOMMENT
LOWtests/sentry/search/events/builder/test_metrics.py585 # Less than a minute, no reason to work hard for such a small window, just use a minuteCOMMENT
LOWtests/sentry/search/events/builder/test_metrics.py1809 # Less than a minute, no reason to work hard for such a small window, just use a minuteCOMMENT
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 minuteCOMMENT
LOW…try/integrations/github_enterprise/test_integration.py893 # Should not raise an exception, just return earlyCOMMENT
LOWtests/sentry/integrations/github/test_integration.py1649 # Should not raise an exception, just return earlyCOMMENT
LOWtests/sentry/integrations/github/test_client.py931 # Following requests should just add headersCOMMENT
MEDIUMtests/sentry/users/api/endpoints/test_user_details.py250 # Even if user is in an org, they can't elevate without SUPERUSER_ORG_ID configuredCOMMENT
LOWtests/sentry/event_manager/test_event_manager.py2010 # the basic strategy is to simply use the descriptionCOMMENT
MEDIUM…nts/serializers/test_workflow_engine_data_condition.py276 # create another comprehensive alert rule in the DBCOMMENT
LOWtests/sentry/deletions/test_debugfiles.py16 # What is this even testing? I could as well just call `.delete()` directly?COMMENT
MEDIUM…c/app/components/onboarding/useRecentCreatedProject.ts33// It uses useProjects() to leverage already loaded data while also fetching for updatesCOMMENT
MEDIUMstatic/app/gettingStartedDocs/ionic/index.tsx2// Consequently, they can utilize the same SDK documentation, specifically that of Capacitor.COMMENT
MEDIUM…rmance/newTraceDetails/traceState/tracePreferences.tsx136 // We need a more robust way to validate the stored preferences.COMMENT
MEDIUM…nce/transactionSummary/transactionOverview/content.tsx105 // NOTE: This is not a robust check for whether or not a transaction is a front endCOMMENT
LOW.github/workflows/development-environment.yml67 # technically we can just use --only-dev but more cache is niceCOMMENT
LOWsrc/sentry/monitors/utils.py123 # TODO(epurkhiser): We should probably just set this value as aCOMMENT
LOWsrc/sentry/monitors/clock_tasks/check_missed.py137 # If we simply set our mark_failed reference timestamp to the failingCOMMENT
LOWsrc/sentry/options/store.py170 # Key is within normal expiry window, so just return itCOMMENT
MEDIUMsrc/sentry/tasks/symbolication.py332# burdened by aforementioned legacy concerns.COMMENT
LOWsrc/sentry/tasks/assemble.py508 # In case there is not ArtifactBundle with a specific bundle_id, we just create it and return.COMMENT
LOWsrc/sentry/discover/arithmetic.py242 # if remaining is a node lhs contains a factor so just return thatSTRING
MEDIUMsrc/sentry/core/endpoints/scim/utils.py115 # The scim endpoints should only be used in conjunction with a SAML2 integrationCOMMENT
LOWsrc/sentry/tsdb/base.py254 # If nothing actually matches the requested range, just return theCOMMENT
LOWsrc/sentry/grouping/strategies/base.py204 # obsolete enhancements version, in which case we just use the default enhancements forCOMMENT
LOWsrc/sentry/grouping/fingerprinting/utils.py296 # can remove `use_legacy_unknown_variable_handling` and just return the string. (At thatCOMMENT
LOWsrc/sentry/grouping/fingerprinting/utils.py362 # can remove `use_legacy_unknown_variable_handling` and just return the value given byCOMMENT
LOWsrc/sentry/utils/marketo_client.py19 # just use the first errorCOMMENT
LOWsrc/sentry/utils/sdk.py197 # If there's already a sampling decision, just use thatCOMMENT
LOWsrc/sentry/utils/sdk.py221 # If there's already a sampling decision, just use thatCOMMENT
LOWsrc/sentry/utils/snuba.py225 # We should be able to delete origin.transaction and just use transactionCOMMENT
LOWsrc/sentry/utils/snuba.py1602 # At leaf level, just return the aggregations from the first data rowCOMMENT
LOWsrc/sentry/utils/snuba.py1604 # Special case, if there is only one aggregate, just return the raw valueCOMMENT
LOWsrc/sentry/utils/samples.py530 # not the best but just set the exclusive timeCOMMENT
LOWsrc/sentry/utils/samples.py600 # not the best but just set the exclusive timeCOMMENT
LOWsrc/sentry/utils/kvstore/bigtable.py175 # at all, so we just return the data and hope for the best. It isCOMMENT
MEDIUMsrc/sentry/preprod/tasks.py648 # preprod_artifact. This isn't yet robust to:COMMENT
MEDIUMsrc/sentry/preprod/tasks.py773 # preprod_artifact. This isn't yet robust to:COMMENT
MEDIUMsrc/sentry/models/statistical_detectors.py55 # be checked in conjunction with the issue group status to determineCOMMENT
LOWsrc/sentry/explore/translation/discover_translation.py69 # If it's not in the selected fields, just pass it down as isCOMMENT
MEDIUMsrc/sentry/objectstore/__init__.py219 # TODO(lcian): Find a more robust way to do this. Here we assume that the caller is Symbolicator,COMMENT
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_thrCOMMENT
LOWsrc/sentry/search/snuba/executors.py1223 # (ignored by score_fn) and just use the result to narrow candidates to thoseCOMMENT
MEDIUMsrc/sentry/search/snuba/executors.py202 """This class serves as a template for Query Executors.STRING
LOWsrc/sentry/search/events/filter.py687 # mypy complains if you just use the literal; int isn't an Any, somehow?COMMENT
LOWsrc/sentry/search/events/filter.py699 # together. Otherwise just return the raw condition, so that it can beCOMMENT
MEDIUMsrc/sentry/search/events/datasets/metrics.py91 """While the final functions in clickhouse must have their -Merge combinators in order to function, we don'tSTRING
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'tSTRING
LOWsrc/sentry/search/events/builder/utils.py67 # Its over 30d, just use the daily granularityCOMMENT
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 ofCOMMENT
LOWsrc/sentry/integrations/discord/webhooks/base.py100 # just return 200.COMMENT
LOWsrc/sentry/integrations/vercel/integration.py242 # once per user/team. Eventually we should be able to just useCOMMENT
LOWsrc/sentry/integrations/jira/integration.py448 # possible to query that with the API). So instead we just use the firstSTRING
LOWsrc/sentry/integrations/jira/integration.py750 # still no issue type? just use the first one.STRING
LOWsrc/sentry/integrations/github/webhook.py222 # subclasses can now just add their function to the WEBHOOK_EVENT_PROCESSORS tupleCOMMENT
MEDIUMsrc/sentry/integrations/slack/webhooks/action.py1049 # keep track of the response_url in the callback_id. Definitely hacky,COMMENT
LOWsrc/sentry/integrations/jira_server/integration.py540 # possible to query that with the API). So instead we just use the firstSTRING
LOWsrc/sentry/ratelimits/utils.py137 # otherwise we just use what's default for the groupCOMMENT
MEDIUMsrc/sentry/seer/agent/tools.py2768 # Query both error events and issue platform occurrences for a comprehensive baseline.COMMENT
LOWsrc/sentry/replays/usecases/summarize.py549 # If the replay is missing here just return an empty response.COMMENT
39 more matches not shown…
AI Structural Patterns188 hits · 158 pts
SeverityFileLineSnippetContext
LOWtests/snuba/search/test_backend.py56CODE
LOW…ba/api/endpoints/test_organization_trace_item_stats.py44CODE
LOWtests/sentry/middleware/test_access_log_middleware.py50CODE
LOWtests/sentry/auth/test_helper.py1144CODE
LOWtests/sentry/auth/test_superuser.py62CODE
LOW…sts/sentry/preprod/test_build_distribution_webhooks.py48CODE
LOWtests/sentry/preprod/vcs/pr_comments/test_tasks.py37CODE
LOWtests/sentry/preprod/size_analysis/test_webhooks.py65CODE
LOWtests/sentry/integrations/cursor/test_webhook.py54CODE
LOW…entry/integrations/msteams/test_action_state_change.py76CODE
LOWtests/sentry/integrations/slack/test_message_builder.py55CODE
LOW…sentry/integrations/slack/webhooks/actions/__init__.py120CODE
LOW…i/endpoints/test_organization_ai_conversations_base.py20CODE
LOWtests/sentry/api/endpoints/test_project_rules.py371CODE
LOWtests/sentry/api/endpoints/test_rpc.py46CODE
LOWtests/sentry/api/bases/test_organization.py833CODE
LOWtests/sentry/pr_metrics/test_webhooks.py787CODE
LOWtests/sentry/pr_metrics/test_webhooks.py1711CODE
LOWtests/sentry/pr_metrics/test_webhooks.py1742CODE
LOWtests/sentry/pr_metrics/test_attribution.py193CODE
LOW…ts/sentry/issues/endpoints/test_group_pull_requests.py40CODE
LOW…ry/notifications/platform/slack/renderers/test_seer.py31CODE
LOW…billing/platform/services/usage/test_outcomes_query.py32CODE
LOWsrc/bitfield/models.py122CODE
LOWsrc/sentry/http.py65CODE
LOWsrc/sentry/event_manager.py348CODE
LOWsrc/sentry/event_manager.py430CODE
LOWsrc/sentry/shared_integrations/client/base.py238CODE
LOWsrc/sentry/shared_integrations/client/base.py258CODE
LOWsrc/sentry/shared_integrations/client/base.py277CODE
LOW…c/sentry/organizations/services/organization/serial.py118CODE
LOWsrc/sentry/middleware/integrations/parsers/github.py148CODE
LOWsrc/sentry/eventstream/eap.py54CODE
LOWsrc/sentry/tasks/base.py34CODE
LOWsrc/sentry/tasks/summaries/utils.py649CODE
LOWsrc/sentry/tsdb/snuba.py254CODE
LOWsrc/sentry/tsdb/snuba.py326CODE
LOWsrc/sentry/tsdb/snuba.py490CODE
LOWsrc/sentry/tsdb/snuba.py727CODE
LOWsrc/sentry/tsdb/snuba.py785CODE
LOWsrc/sentry/tsdb/snuba.py859CODE
LOWsrc/sentry/tsdb/redis.py302CODE
LOWsrc/sentry/tsdb/redis.py522CODE
LOWsrc/sentry/tsdb/dummy.py28CODE
LOWsrc/sentry/tsdb/dummy.py67CODE
LOWsrc/sentry/tsdb/base.py413CODE
LOWsrc/sentry/tsdb/base.py442CODE
LOWsrc/sentry/tsdb/base.py475CODE
LOWsrc/sentry/tsdb/base.py493CODE
LOWsrc/sentry/tsdb/base.py597CODE
LOWsrc/sentry/web/frontend/pipeline_advancer.py176CODE
LOWsrc/sentry/quotas/base.py174CODE
LOWsrc/sentry/utils/query.py117CODE
LOWsrc/sentry/utils/imports.py30CODE
LOWsrc/sentry/utils/snuba.py1001CODE
LOWsrc/sentry/utils/snuba.py1529CODE
LOWsrc/sentry/utils/snuba.py1787CODE
LOWsrc/sentry/utils/snuba.py901CODE
LOWsrc/sentry/utils/samples.py108CODE
LOWsrc/sentry/utils/samples.py446CODE
128 more matches not shown…
Verbosity Indicators80 hits · 150 pts
SeverityFileLineSnippetContext
LOWtests/acceptance/test_scm_onboarding.py524 # Step 2: Org Selection — fresh install, shows "Install GitHub App".COMMENT
LOWtests/acceptance/test_scm_onboarding.py504 # Step 1: OAuth Login — the modal shows "Authorize GitHub".COMMENT
LOWtests/acceptance/test_organization_uptime.py31 # Step 1: Start from empty uptime overview pageCOMMENT
LOWtests/acceptance/test_organization_uptime.py38 # Step 2: Click "Add Uptime Monitor" button in empty stateCOMMENT
LOWtests/acceptance/test_organization_uptime.py44 # Step 3: Fill out the uptime monitor formCOMMENT
LOWtests/acceptance/test_organization_uptime.py56 # Step 4: Submit the form using the manual approach from debug testCOMMENT
LOWtests/acceptance/test_organization_uptime.py60 # Step 5: Should navigate to uptime monitor details pageCOMMENT
LOWtests/acceptance/test_organization_uptime.py67 # Step 6: Navigate back to uptime overviewCOMMENT
LOWtests/acceptance/test_organization_uptime.py70 # Step 7: Verify the monitor is now shown in the overview listCOMMENT
LOWtests/sentry/pipeline/test_pipeline.py405 # Step 1: choose a thingCOMMENT
LOWtests/sentry/pipeline/test_pipeline.py410 # Step 2: confirm — this is the last step, so pipeline finishesCOMMENT
LOWtests/sentry/pipeline/test_pipeline.py501 # Step 1: choose a thing — binds "thing" to stateCOMMENT
LOWtests/sentry/spans/test_buffer.py1981 # Step 2: Buffer flushes segment, captures score, acquires lockCOMMENT
LOWtests/sentry/spans/test_buffer.py1987 # Step 3: Simulate lock expiration by deleting itCOMMENT
LOWtests/sentry/spans/test_buffer.py1990 # Step 4: New spans arrive while "producing to Kafka"COMMENT
LOWtests/sentry/spans/test_buffer.py1953 # Step 1: Create initial segmentCOMMENT
LOWtests/sentry/spans/test_buffer.py2009 # Step 5: Buffer calls done_flush_segments with OLD captured scoreCOMMENT
LOWtests/sentry/integrations/slack/test_unfurl.py1458 # Step 1: URL matchingCOMMENT
LOWtests/sentry/integrations/slack/test_unfurl.py1468 # Step 2: Run handlerCOMMENT
LOWtests/sentry/integrations/slack/test_unfurl.py1472 # Step 3: Verify events-timeseries was called with correct argsCOMMENT
LOWtests/sentry/integrations/slack/test_unfurl.py1482 # Step 4: Verify chartcuterie received correct dataCOMMENT
LOWtests/sentry/integrations/slack/test_unfurl.py1500 # Step 5: Verify the unfurl resultCOMMENT
LOWtests/sentry/integrations/perforce/test_integration.py826 # Step 1: Simulate installation with build_integrationCOMMENT
LOWtests/sentry/integrations/perforce/test_integration.py870 # Step 2: Create integration (simulating ensure_integration)COMMENT
LOWtests/sentry/integrations/perforce/test_integration.py879 # Step 3: Get installation and verify configuration retrievalCOMMENT
LOWtests/sentry/integrations/perforce/test_integration.py924 # Step 4: Test partial update (only change password)COMMENT
LOWtests/sentry/integrations/perforce/test_integration.py941 # Step 5: Test multiple field updateCOMMENT
LOWtests/sentry/integrations/perforce/test_integration.py965 # Step 6: Verify empty optional fields don't break anythingCOMMENT
LOWtests/sentry/api/helpers/test_group_index.py638 # Step 2: Mark as unresolvedCOMMENT
LOWtests/sentry/api/helpers/test_group_index.py646 # Step 3: GroupLink is deletedCOMMENT
LOWtests/sentry/api/helpers/test_group_index.py651 # Step 4: Manually resolve againCOMMENT
LOWtests/sentry/api/helpers/test_group_index.py619 # Step 1: Simulate resolving via commit by creating GroupLinkCOMMENT
LOWstatic/app/utils/profiling/differentialFlamegraph.tsx182 // In case the current node has no children, we need to check if theCOMMENT
LOWstatic/app/utils/string/trimCommonAffixes.tsx164 // Step 1: character-level common prefix/suffix lengthsCOMMENT
LOWstatic/app/utils/string/trimCommonAffixes.tsx169 // Step 2: snap to separator boundaries (may reduce affix lengths)COMMENT
LOWstatic/app/utils/string/trimCommonAffixes.tsx176 // Step 3: drop affixes that are too short to justify an ellipsisCOMMENT
LOWstatic/app/utils/string/trimCommonAffixes.tsx184 // Step 4: strip affixes and insert ellipsesCOMMENT
LOW…app/components/pipeline/integrationAwsLambda/index.tsx29// Step 1: Project SelectCOMMENT
LOW…app/components/pipeline/integrationAwsLambda/index.tsx112// Step 2: CloudFormationCOMMENT
LOW…app/components/pipeline/integrationAwsLambda/index.tsx301// Step 3: Instrumentation (function select + setup)COMMENT
LOWstatic/app/views/projectInstall/createProject.spec.tsx315 // Step 1: Mount WITHOUT query params (simulates the browser POP navigation)COMMENT
LOWstatic/app/views/projectInstall/createProject.spec.tsx325 // Step 2: Navigate WITH query params (simulates router.replace)COMMENT
LOWstatic/app/views/projectInstall/createProject.spec.tsx333 // Step 3: Click a different platformCOMMENT
LOW…atic/app/views/seerExplorer/hooks/useAsciiSnapshot.tsx898 // Step 1: Strip trailing spaces from each row. The grid is initialized asCOMMENT
LOW…atic/app/views/seerExplorer/hooks/useAsciiSnapshot.tsx902 // Step 2: Remove the common leading whitespace shared by every non-emptyCOMMENT
LOW…atic/app/views/seerExplorer/hooks/useAsciiSnapshot.tsx912 // Step 3: Drop all blank rowsCOMMENT
LOWstatic/gsApp/utils/billing.tsx896 * has any sibling categories also tallied for billing. If so, we need to check if the data categoryCOMMENT
LOWsrc/sentry/reprocessing2.py228 # Step 1: Copy attachments into attachment cache. Note that we can onlyCOMMENT
LOWsrc/sentry/reprocessing2.py253 # Step 2: Fix up the event payload for reprocessing and put it in eventCOMMENT
LOW…try/core/endpoints/organization_member_team_details.py174 # When open membership is disabled, we need to check if the token has elevated permissionsCOMMENT
LOWsrc/sentry/seer/agent/client.py247 # Step 1: Generate root cause artifactSTRING
LOWsrc/sentry/seer/agent/client.py256 # Step 2: Continue to generate solution (preserves root_cause)STRING
LOWsrc/sentry/seer/agent/index_data.py152 # Step 1: Get a random trace ID for the transactionCOMMENT
LOWsrc/sentry/seer/agent/index_data.py182 # Step 2: Get all spans in the chosen traceCOMMENT
LOWsrc/sentry/seer/agent/index_data.py201 # Step 3: Build span objectsCOMMENT
LOWsrc/sentry/seer/agent/index_data.py458 # Step 1: Search for issues using transaction filterCOMMENT
LOWsrc/sentry/seer/agent/index_data.py484 # Step 2: For each issue, get the recommended event and serialize itCOMMENT
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. ThisCOMMENT
LOWsrc/sentry/api/endpoints/organization_events.py347 # Widget has not split the discover dataset yet, so we need to check if there are errors etc.COMMENT
LOWsrc/sentry/api/endpoints/organization_events_stats.py421 # Widget has not split the discover dataset yet, so we need to check if there are errors etc.COMMENT
20 more matches not shown…
Docstring Block Structure25 hits · 125 pts
SeverityFileLineSnippetContext
HIGHtools/api_urls_to_typescript.py42 Convert a regexp string to a route-style string. Handles: - Stripping ^ and $ from start/end - ConvertSTRING
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 randomSTRING
HIGHsrc/sentry/preprod/models.py369 Batch lookup base artifacts for a list of head artifacts. Finds base artifacts by matching (app_id, arSTRING
HIGHsrc/sentry/preprod/artifact_search.py205 Create a queryset filtered by the given query string. This parses the query string and applies all search filtSTRING
HIGHsrc/sentry/preprod/artifact_search.py247 Check if a given PreprodArtifact instance matches the query string. This combines queryset_for_query() and artSTRING
HIGHsrc/sentry/models/apitoken.py366Create an ApiToken from an ApiGrant with full OAuth2 validation. This method performs comprehensive validation STRING
HIGHsrc/sentry/models/apidevicecode.py185 Create a new device code with retry logic for user code collisions. Since user codes have ~34 bits of STRING
HIGHsrc/sentry/search/eap/trace_metrics/validator.py18 Extract trace metric information from an aggregate string using SearchResolver. Args: aggregate: The aSTRING
HIGHsrc/sentry/integrations/perforce/client.py425 Get user information from Perforce. Uses p4 user command to fetch user details including email and fulSTRING
HIGHsrc/sentry/integrations/perforce/client.py503 Get changelists for a depot path. Uses p4 changes command to list changelists. API docs: httpsSTRING
HIGHsrc/sentry/integrations/perforce/client.py674 Get file contents from Perforce depot using ``p4 print``. API docs: https://www.perforce.com/manuals/cSTRING
HIGHsrc/sentry/integrations/perforce/integration.py244 Check if a file exists in the Perforce depot and return the URL. Uses the client's check_file method tSTRING
HIGHsrc/sentry/integrations/perforce/integration.py658 Build integration data from installation state. Each organization gets its own private Perforce integrSTRING
HIGHsrc/sentry/integrations/perforce/repository.py35 Get Perforce client from repository. Args: repo: Repository instance Returns: STRING
HIGHsrc/sentry/seer/assisted_query/traces_tools.py111 Get attribute names for trace items by calling the public API endpoint. This ensures all queryable built-in fiSTRING
HIGHsrc/sentry/seer/agent/client.py445 Start a new Seer Agent session. Args: prompt: The initial task/query for the agent STRING
HIGHsrc/sentry/seer/agent/client.py697 Continue an existing Seer Agent session. This allows you to add follow-up queries to an ongoing conversation. STRING
HIGHsrc/sentry/seer/agent/client.py820 Get the status/result of a Seer Agent session. Args: run_id: The run ID returned from starSTRING
HIGHsrc/sentry/seer/agent/client.py892 Get a list of Seer Agent runs for the organization with optional filters. Args: category_kSTRING
HIGHsrc/sentry/seer/agent/client.py968 Push code changes to PR(s) and wait for completion. Creates new PRs or updates existing ones with currSTRING
HIGHsrc/sentry/seer/agent/tools.py2452 Make a request to the EAP GetTrace endpoint to get all attributes for a given trace and item type. Includes a sSTRING
HIGHsrc/sentry/seer/agent/coding_agent_handoff.py83 Launch coding agents for an agent run. Args: organization: The organization integration_id: ThSTRING
HIGHsrc/sentry/seer/code_review/utils.py100 Make a request to the Seer API and return the response data. Args: path: The path to the Seer API STRING
HIGHsrc/sentry/profiles/flamegraph.py659 Splits a datetime range into exponentially increasing chunks, yielded by a generator. The duration of each chuSTRING
HIGHsrc/sentry/uptime/endpoints/utils.py22 Authorize the detector ids and return their corresponding subscription ids. For uptime detectors, we need to mSTRING
Slop Phrases59 hits · 102 pts
SeverityFileLineSnippetContext
LOWpyproject.toml277# note: When updating the traceback format, make sure to update .github/pytest.jsonCOMMENT
LOW…ba/api/endpoints/test_organization_events_histogram.py936 # make sure to query a measurement that does not existCOMMENT
LOW…ba/api/endpoints/test_organization_events_histogram.py964 # make sure to query a measurement that does not existCOMMENT
LOWtests/snuba/api/endpoints/test_organization_events.py5021 # make sure to escape the asterisk so it's not treated as a wildcardCOMMENT
LOW…/snuba/api/endpoints/test_organization_events_stats.py1435 # make sure to query the project with 0 eventsCOMMENT
LOW…/snuba/api/endpoints/test_organization_events_stats.py1460 # make sure to query the project with 0 eventsCOMMENT
LOW…/snuba/api/endpoints/test_organization_events_stats.py1485 # make sure to query the project with 0 eventsCOMMENT
LOW…ndpoints/test_organization_events_spans_performance.py973 # make sure to return 1 extra result to indicate that there is a next pageCOMMENT
LOW…ndpoints/test_organization_events_spans_performance.py1005 # make sure to return 1 extra result to indicate that there is a next pageCOMMENT
LOW…ba/api/endpoints/test_organization_events_stats_mep.py716 # make sure to query the project with 0 eventsCOMMENT
LOW…ba/api/endpoints/test_organization_events_stats_mep.py748 # make sure to query the project with 0 eventsCOMMENT
LOW…ba/api/endpoints/test_organization_events_stats_mep.py777 # make sure to query the project with 0 eventsCOMMENT
LOWtests/sentry/snuba/test_transactions.py2820 # make sure to opt in to gain access to the functionCOMMENT
LOWtests/sentry/snuba/test_discover_query.py2988 # make sure to opt in to gain access to the functionCOMMENT
LOWstatic/app/utils/fields/index.ts10// Don't forget to update https://docs.sentry.io/product/sentry-basics/search/searchable-properties/ for any changes madCOMMENT
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!`;CODE
MEDIUMstatic/app/gettingStartedDocs/dotnet/onboarding.tsx47 // We enable it here for demonstration purposes when first trying Sentry.COMMENT
MEDIUMstatic/app/gettingStartedDocs/powershell/onboarding.tsx18# We enable it here for demonstration purposes when first trying Sentry.COMMENT
MEDIUM…SeriesWidget/timeSeriesWidgetVisualization.stories.tsx184 and <code>Bars</code> most of the time. Here's a simple example:CODE
LOWsrc/sentry/tasks/statistical_detectors.py123 # make sure to consume the generatorCOMMENT
LOWsrc/sentry/tasks/statistical_detectors.py153 # make sure to dispatch a task to handle the remaining projectsCOMMENT
LOWsrc/sentry/tasks/statistical_detectors.py193 # make sure to dispatch a task to handle the remaining projectsCOMMENT
LOWsrc/sentry/spans/grouping/strategy/base.py48 # make sure to get the group id for the transaction root spanCOMMENT
LOWsrc/sentry/runner/commands/exec.py5# If this changes, make sure to also update in the `__doc__`COMMENT
LOWsrc/sentry/ingest/consumer/processors.py396 # If you want to remove this make sure to have triaged all errors in SentryCOMMENT
LOWsrc/sentry/utils/samples.py121 # NOTE: Before editing this data, make sure you understand the contextCOMMENT
LOWsrc/sentry/utils/platform_categories.py4# When changing this file, make sure to keep sentry/static/app/data/platformCategories.tsx in sync.COMMENT
LOWsrc/sentry/utils/platform_categories.py29# When changing this file, make sure to keep sentry/static/app/data/platformCategories.tsx in sync.COMMENT
LOWsrc/sentry/utils/platform_categories.py53# When changing this file, make sure to keep sentry/static/app/data/platformCategories.tsx in sync.COMMENT
LOWsrc/sentry/utils/platform_categories.py124# When changing this file, make sure to keep sentry/static/app/data/platformCategories.tsx in sync.COMMENT
LOWsrc/sentry/utils/platform_categories.py140# When changing this file, make sure to keep sentry/static/app/data/platformCategories.tsx in sync.COMMENT
LOWsrc/sentry/utils/platform_categories.py188# When changing this file, make sure to keep sentry/static/app/data/platformCategories.tsx in sync.COMMENT
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.CODE
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 variaCODE
LOWsrc/sentry/search/eap/resolver.py1167 # make sure to remove surrounding quotes if it's a tagCOMMENT
LOWsrc/sentry/search/events/fields.py630 # to make sure to nest it so it doesn't get treatedCOMMENT
LOWsrc/sentry/search/events/fields.py1048 # make sure to map the allowed columns to their snuba namesCOMMENT
LOWsrc/sentry/search/events/fields.py1406 # make sure to validate the argument count first toCOMMENT
LOWsrc/sentry/search/events/fields.py2241 # make sure to map the allowed columns to their snuba namesCOMMENT
LOWsrc/sentry/search/events/datasets/profile_functions.py192 # When removing this, make sure to update the test helper toCOMMENT
LOWsrc/sentry/search/events/datasets/profile_functions.py263 # The worst may collide with one of the examples, so make sure to filter it out.COMMENT
LOWsrc/sentry/search/events/datasets/profile_functions.py314 # The worst may collide with one of the examples, so make sure to filter it out.COMMENT
LOWsrc/sentry/search/events/builder/discover.py519 # make sure to bound the bins to get the desired range of resultsCOMMENT
LOWsrc/sentry/search/events/builder/base.py1151 # make sure to alias the expression appropriately so we get backCOMMENT
LOWsrc/sentry/integrations/jira_server/urls.py6# If updating/adding URLs here, make sure to update the JiraServerRequestParser as wellCOMMENT
MEDIUMsrc/sentry/data_export/tasks.py332 # The API response to export the data contains the ID which you can useCOMMENT
LOWsrc/sentry/data_export/endpoints/data_export.py130 # make sure to fix the export start/end times to ensure consistent resultsCOMMENT
LOWsrc/sentry/data_export/processors/discover.py39 # make sure to only include environment if any are givenCOMMENT
MEDIUMsrc/sentry/api/utils.py285# If you can use the wider more correct type, please do.COMMENT
LOW…api/endpoints/organization_events_spans_performance.py745 # the transaction itself is a span as well, so make sure to check itCOMMENT
LOWsrc/sentry/api/endpoints/organization_traces.py460 # So make sure to handle both in case something changes.COMMENT
LOWsrc/sentry/api/endpoints/project_profiling_profile.py136 # make sure to remove the version from the metadataCOMMENT
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 CODE
LOWsrc/sentry/snuba/metrics_performance.py675 # make sure to adjust for the precision if necessaryCOMMENT
LOWsrc/sentry/snuba/discover.py1149 # make sure to adjust for the precision if necessaryCOMMENT
LOWsrc/sentry/snuba/rpc_dataset_common.py269 # if there are additional conditions to be added, make sure to merge them with theCOMMENT
LOWsrc/sentry/backup/services/import_export/impl.py322 # We wrote at least one model, so make sure to write an appropriate `ImportChunk`COMMENT
MEDIUMsrc/sentry/issues/derived/features.py13# Number of times this issue has been viewed. Not important, mostly here for demonstration purposes.COMMENT
MEDIUMsrc/sentry/issues/models/groupderiveddata.py42 # This is here just for demonstration purposes.COMMENT
Cross-Language Confusion (JS/TS)15 hits · 75 pts
SeverityFileLineSnippetContext
HIGHstatic/app/components/stackTrace/stackTrace.stories.tsx139 [461, ' return None'],CODE
HIGH…atic/app/gettingStartedDocs/python/agentMonitoring.tsx349print(result.final_output)CODE
HIGH…atic/app/gettingStartedDocs/python/agentMonitoring.tsx375print(response.choices[0].message.content)CODE
HIGH…atic/app/gettingStartedDocs/python/agentMonitoring.tsx404print(message.content)CODE
HIGH…atic/app/gettingStartedDocs/python/agentMonitoring.tsx439print(result)CODE
HIGH…atic/app/gettingStartedDocs/python/agentMonitoring.tsx474print(result)CODE
HIGH…atic/app/gettingStartedDocs/python/agentMonitoring.tsx499print(response.choices[0].message.content)CODE
HIGH…atic/app/gettingStartedDocs/python/agentMonitoring.tsx526print(response)CODE
HIGH…atic/app/gettingStartedDocs/python/agentMonitoring.tsx552print(result.output)CODE
HIGHstatic/app/gettingStartedDocs/godot/logs.tsx30print("This info message will be sent to Sentry")CODE
HIGH…ews/insights/crons/components/upsertPlatformGuides.tsx414 print('My scheduled task...')`;CODE
HIGH…iews/insights/crons/components/manualCheckInGuides.tsx40 print(msg)`;CODE
HIGH…iews/insights/crons/components/manualCheckInGuides.tsx76 print(msg)CODE
HIGH…dDetails/main/insights/minifyLocalizedStringsModal.tsx37 print(f"Minifying {path}")CODE
HIGH…/performance/newTraceDetails/traceModels/traceTree.tsx1508 print() {CODE
Modern AI Meta-Vocabulary14 hits · 46 pts
SeverityFileLineSnippetContext
MEDIUM…tions/gitlab/tasks/test_update_all_project_webhooks.py184 # Verify SLO metrics were recorded - orchestration task succeedsCOMMENT
MEDIUM…ry/api/endpoints/test_organization_events_trends_v2.py285 # checks that second transaction wasn't sent to the trends microserviceCOMMENT
MEDIUMsrc/sentry/options/defaults.py958# Enable sending the flag to the microservice to tell it to purposefully take longer than ourCOMMENT
MEDIUMsrc/sentry/options/defaults.py966# Enable sending the flag to the microservice to tell it to purposefully send back an error, to seeCOMMENT
MEDIUMsrc/sentry/preprod/snapshots/tasks.py827 # A PROCESSING row whose orchestration never set chunks_total is stuck; reclaimCOMMENT
MEDIUMsrc/sentry/preprod/snapshots/models.py95 # NULL means orchestration did not finish; also the poll's done-counting denominator.COMMENT
MEDIUM…feedback/endpoints/organization_feedback_categories.py231 # If the LLM hallucinates primary label(s), log it but still generate categoriesCOMMENT
MEDIUM…/sentry/api/endpoints/organization_events_trends_v2.py271 # list of requests to send to microservice asyncCOMMENT
MEDIUM…/sentry/api/endpoints/organization_events_trends_v2.py281 # send the data to microserviceCOMMENT
MEDIUMsrc/sentry/conf/server.py791# Shared secret used to sign cross-region RPC requests from the seer microservice.COMMENT
MEDIUMsrc/sentry/conf/server.py793# Shared secret used to sign cross-region RPC requests to the seer microservice.COMMENT
MEDIUMsrc/sentry/conf/server.py803# Shared secret used to sign cross-region RPC requests from the launchpad microservice.COMMENT
MEDIUMsrc/sentry/uptime/seer_assertions.py24# exceeding the model's context window.COMMENT
MEDIUM…sentry/statistical_detectors/issue_platform_adapter.py27 # TODO: fix this in the breakpoint microservice and in trends v2COMMENT
Synthetic Comment Markers3 hits · 18 pts
SeverityFileLineSnippetContext
HIGH…ules/uptime/assertionSuggestionsDrawerContent.spec.tsx172 'These suggestions are generated by AI based on the HTTP response. Review each suggestion before applying.'CODE
HIGH…rts/rules/uptime/assertionSuggestionsDrawerContent.tsx77 'These suggestions are generated by AI based on the HTTP response. Review each suggestion before applying.CODE
HIGHsrc/sentry/feedback/lib/label_query.py206 # Ensure that there is at least one AI-generated labelCOMMENT
Overly Generic Function Names14 hits · 13 pts
SeverityFileLineSnippetContext
LOWtests/sentry/seer/fetch_issues/test_utils.py308 def test_function() -> dict[str, bool]:CODE
LOWtests/sentry/seer/fetch_issues/test_utils.py316 def test_function() -> None:CODE
LOWstatic/app/components/stackTrace/stackTrace.stories.tsx1087 [99997, 'def handle_request(request):'],CODE
LOW…ents/events/interfaces/frame/useSourceContext.spec.tsx28 [8, 'def helper():'],CODE
LOW…pp/gettingStartedDocs/python-serverless/onboarding.tsx58def my_function(...): ...`;CODE
LOW…pp/gettingStartedDocs/python-serverless/onboarding.tsx66def my_function(...):CODE
LOW…atic/app/gettingStartedDocs/python-awslambda/utils.tsx55def my_function(event, context):CODE
LOW…orkflows/scripts/test_calculate_backend_test_shards.py33 def helper():STRING
LOW…orkflows/scripts/test_calculate_backend_test_shards.py50 def helper(self):STRING
LOW…orkflows/scripts/test_calculate_backend_test_shards.py265 def helper():STRING
LOWsrc/sentry/ratelimits/leaky_bucket.py166 def my_function():STRING
LOWsrc/sentry/ratelimits/leaky_bucket.py175 def my_function():STRING
LOWsrc/sentry/ratelimits/leaky_bucket.py183 def my_function():STRING
LOWsrc/sentry/ratelimits/leaky_bucket.py198 def my_function():STRING
TODO Padding5 hits · 6 pts
SeverityFileLineSnippetContext
LOW…sts/sentry/workflow_engine/processors/test_workflow.py647 ) # TODO: implement evaluating slow conditions for activity updatesCODE
LOWstatic/app/types/workflowEngine/detectors.tsx166 // TODO: Add error detector type fieldsCOMMENT
LOWstatic/app/components/arithmeticBuilder/token/grid.tsx86 const selectionKeyHandlerRef = useRef<HTMLInputElement>(null); // TODO: implementCODE
LOW…ic/app/components/arithmeticBuilder/token/function.tsx145 const selectionKeyHandlerRef = useRef<HTMLInputElement>(null); // TODO: implementCODE
LOWsrc/sentry/integrations/msteams/card_builder/issues.py96 # TODO: implement with event as wellCOMMENT
Dead Code2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMtests/sentry/tasks/test_digests.py87CODE
MEDIUMsrc/sentry/similarity/backends/dummy.py23CODE