Skip to content

ref: remove unused addOriginToSpan copies#22153

Merged
logaretm merged 1 commit into
developfrom
feat/consolidate-add-origin-to-span
Jul 9, 2026
Merged

ref: remove unused addOriginToSpan copies#22153
logaretm merged 1 commit into
developfrom
feat/consolidate-add-origin-to-span

Conversation

@logaretm

@logaretm logaretm commented Jul 9, 2026

Copy link
Copy Markdown
Member

Removes the addOriginToSpan copies in @sentry/cloudflare and @sentry/opentelemetry, which are dead code: neither is exported or imported anywhere. The only live copy is in @sentry/node-core (consumed by node's postgresjs instrumentation), and it stays put.

This started as a plan to consolidate the three identical copies into core, but core has no @opentelemetry/api dependency and the helper takes an OTEL Span.

@logaretm logaretm marked this pull request as ready for review July 9, 2026 16:56
@logaretm logaretm requested a review from a team as a code owner July 9, 2026 16:56
@logaretm logaretm requested review from JPeer264, andreiborza and mydea and removed request for a team July 9, 2026 16:56
@logaretm logaretm merged commit 47f8ce2 into develop Jul 9, 2026
483 of 485 checks passed
@logaretm logaretm deleted the feat/consolidate-add-origin-to-span branch July 9, 2026 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants