Skip to content

ref(server-utils): Use @sentry/conventions#21490

Draft
mydea wants to merge 1 commit into
feat/use-sentry-conventions-build-infrafrom
feat/use-sentry-conventions-server-utils
Draft

ref(server-utils): Use @sentry/conventions#21490
mydea wants to merge 1 commit into
feat/use-sentry-conventions-build-infrafrom
feat/use-sentry-conventions-server-utils

Conversation

@mydea

@mydea mydea commented Jun 12, 2026

Copy link
Copy Markdown
Member

Summary

Switches @sentry/server-utils to source span/attribute keys from @sentry/conventions. No functional change — the attribute values are identical. @sentry/conventions is a build-time devDependency whose constants are vendored into the published bundles, so this adds no runtime dependency.

Important

Depends on #21503 (build infra). That PR relocates vendored deps out of node_modules in the build output and must merge first — otherwise the vendored @sentry/conventions is loaded as CommonJS at runtime (named imports fail) and breaks Vitest on Node 18.

Part of splitting the larger @sentry/conventions migration into per-package PRs.

Ref: #20982

Source span/attribute keys from `@sentry/conventions` instead of the previous
OpenTelemetry / vendored convention constants. No functional change.

Depends on #21503 (relocates vendored deps out of `node_modules` in the build).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mydea mydea force-pushed the feat/use-sentry-conventions-server-utils branch from 41e33a2 to 0a1311c Compare June 12, 2026 11:23
@mydea mydea changed the base branch from develop to feat/use-sentry-conventions-build-infra June 12, 2026 11:25
@mydea mydea force-pushed the feat/use-sentry-conventions-build-infra branch from 625467a to 2a83a9f Compare June 12, 2026 11:33
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.

1 participant