Skip to content

ref(remix): Use @sentry/conventions#21497

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

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

Conversation

@mydea

@mydea mydea commented Jun 12, 2026

Copy link
Copy Markdown
Member

Summary

Switches @sentry/remix 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:59
@mydea mydea requested a review from a team as a code owner June 12, 2026 10:59
@mydea mydea requested review from chargome and nicohrubec and removed request for a team June 12, 2026 10:59

@chargome chargome left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this generally the way how we should consume @sentry/conventions? Seems a bit cumbersome to set it up this way for all packages?

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-remix branch from 9582eec to 92a1d8f 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:26
@mydea mydea marked this pull request as draft June 12, 2026 11:26
@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.

2 participants