Skip to content

ref(nestjs): Use @sentry/conventions#21492

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

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

Conversation

@mydea

@mydea mydea commented Jun 12, 2026

Copy link
Copy Markdown
Member

Summary

Switches @sentry/nestjs 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

@mydea mydea marked this pull request as ready for review June 12, 2026 10:58
@mydea mydea requested a review from a team as a code owner June 12, 2026 10:58
@mydea mydea requested review from nicohrubec and s1gr1d and removed request for a team June 12, 2026 10:58
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-nestjs branch from ee7f39d to 5ea2368 Compare June 12, 2026 11:24
@mydea mydea changed the base branch from develop to feat/use-sentry-conventions-build-infra June 12, 2026 11:25
@mydea mydea marked this pull request as draft 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