Skip to content

ref(plugins): remove dead tag derivation plugins#118046

Draft
Christinarlong wants to merge 2 commits into
masterfrom
Christinarlong/remove-legacy-webhooks-plugin-code
Draft

ref(plugins): remove dead tag derivation plugins#118046
Christinarlong wants to merge 2 commits into
masterfrom
Christinarlong/remove-legacy-webhooks-plugin-code

Conversation

@Christinarlong

Copy link
Copy Markdown
Contributor

Summary

  • Remove the sentry_urls, sentry_interface_types, and sentry_useragents tag plugins — they've been fully replaced by the TagDeriver protocol in event_manager_auto_tags.py
  • Remove the TagPlugin base class, INSTALLED_APPS entries, mypy exclusions, tests, and codeowners references

Test plan

  • prek run -q passes on changed files
  • pytest tests/sentry/event_manager/test_auto_tags.py confirms the new tag derivation still works
  • CI green

The `sentry_urls`, `sentry_interface_types`, and `sentry_useragents`
plugins have been fully replaced by the `TagDeriver` protocol in
`event_manager_auto_tags.py`. Remove the plugin directories, the
`TagPlugin` base class, INSTALLED_APPS entries, mypy exclusions,
tests, and codeowners references.
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 18, 2026
…entity

Move `sentry.integrations.*` imports in `sentry/identity/pipeline.py`
from module-level to inside the methods that use them. This breaks a
latent circular import cycle:

  sentry.integrations.base → sentry.identity (eagerly registers
  providers) → sentry.identity.pipeline → sentry.integrations.base

The cycle was previously masked by the tag-derivation plugins' position
in INSTALLED_APPS, which caused sentry.identity to be fully loaded
before the cycle could trigger.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant