Skip to content

ref(react-router): Decouple ServerBuild capture from the OTel patch#22492

Merged
chargome merged 1 commit into
developfrom
ref/rr-decouple-serverbuild-capture
Jul 22, 2026
Merged

ref(react-router): Decouple ServerBuild capture from the OTel patch#22492
chargome merged 1 commit into
developfrom
ref/rr-decouple-serverbuild-capture

Conversation

@chargome

@chargome chargome commented Jul 22, 2026

Copy link
Copy Markdown
Member

Moves registerServerBuildGlobal() out of the OTel instrumentation setup and registers the Vite-plugin ServerBuild capture independently in the integration's setupOnce(). This keeps the capture path working once the OTel instrumentation is removed in a follow-up.

No behavior change — both ServerBuild capture paths (OTel proxy and Vite plugin) remain active.

Fixes #22411
Ref #22290

Move `registerServerBuildGlobal()` out of the OTel instrumentation setup so the
Vite-plugin ServerBuild capture is registered independently in the integration's
`setupOnce()`. This keeps the capture path working once the OTel instrumentation
is removed. No behavior change - both capture paths remain active.

Ref #22290

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@chargome chargome self-assigned this Jul 22, 2026
@chargome
chargome marked this pull request as ready for review July 22, 2026 12:52
@chargome
chargome requested a review from a team as a code owner July 22, 2026 12:52
@chargome
chargome requested review from andreiborza, mydea and nicohrubec and removed request for a team July 22, 2026 12:52
@chargome
chargome merged commit 532ac86 into develop Jul 22, 2026
54 checks passed
@chargome
chargome deleted the ref/rr-decouple-serverbuild-capture branch July 22, 2026 13:07
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.

Decouple ServerBuild capture from the OTel patch

2 participants