Skip to content

ref(node): Remove unusued sql-common helper and @opentelemetry/core dep#21688

Merged
andreiborza merged 1 commit into
developfrom
ab/remove-dead-sql-common
Jun 22, 2026
Merged

ref(node): Remove unusued sql-common helper and @opentelemetry/core dep#21688
andreiborza merged 1 commit into
developfrom
ab/remove-dead-sql-common

Conversation

@andreiborza

Copy link
Copy Markdown
Member

The vendored addSqlCommenterComment helper (from @opentelemetry/sql-common) was never wired into any instrumentation. The pg integration explicitly dropped the addSqlCommenterCommentToQueries option in #21583, leaving it dead code whose only consumer is its own unit test.

It was also the sole user of W3CTraceContextPropagator, so we can drop the direct @opentelemetry/core dependency.

… dep

The vendored `addSqlCommenterComment` helper (from `@opentelemetry/sql-common`)
was never wired into any instrumentation. The `pg` integration explicitly
dropped the `addSqlCommenterCommentToQueries` option in #21583, leaving it dead
code whose only consumer is its own unit test.

It was also the sole user of `W3CTraceContextPropagator`, so we can drop the
direct `@opentelemetry/core` dependency.
@andreiborza andreiborza changed the title ref(node): Remove unusued sql-common helper and @opentelemetry/coredep ref(node): Remove unusued sql-common helper and @opentelemetry/core dep Jun 22, 2026
@andreiborza andreiborza marked this pull request as ready for review June 22, 2026 12:45
@andreiborza andreiborza requested a review from a team as a code owner June 22, 2026 12:45
@andreiborza andreiborza requested review from JPeer264, mydea and nicohrubec and removed request for a team June 22, 2026 12:45
@andreiborza andreiborza merged commit c5e245f into develop Jun 22, 2026
352 of 355 checks passed
@andreiborza andreiborza deleted the ab/remove-dead-sql-common branch June 22, 2026 12:50
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