Skip to content

feat(browser): Extract linked traces into linkedTracesIntegration - #26262

Draft
logaretm wants to merge 1 commit into
awad/xhr-tracing-integrationfrom
awad/linked-traces-integration
Draft

logaretm wants to merge 1 commit into
awad/xhr-tracing-integrationfrom
awad/linked-traces-integration

Conversation

@logaretm

@logaretm logaretm commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

Linked traces were always bundled with browser tracing, fixed by moving them into linkedTracesIntegration, which browserTracingIntegration registers by default.

I added a test that it's registered unless linkPreviousTrace is off.

@logaretm
logaretm added this pull request to stack #26263 November 10, 2026 16:44
@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

size-limit report 📦

Compared: ca338dd (PR test merge using develop at 2319534)

Against: 9face8a (develop) · base run #65594

⚠️ Baseline mismatch: 6 develop commit(s) in the PR build are missing from the baseline. Their size changes also affect this comparison. Compare commits. Re-run once develop's baseline build for 2319534 finishes.

Path Size % Change Change
@sentry/browser 29.92 kB - -
@sentry/browser - with treeshaking flags 28.08 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 27.97 kB - -
@sentry/browser (incl. Tracing) 52.52 kB +0.44% +225 B 🔺
@sentry/browser (incl. Tracing + Span Streaming) 52.52 kB +0.42% +218 B 🔺
@sentry/browser (incl. Tracing, Profiling) 55.44 kB +0.3% +162 B 🔺
@sentry/browser (incl. Tracing, Replay) 92.46 kB -0.26% -241 B 🔽
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 81.15 kB -0.27% -218 B 🔽
@sentry/browser (incl. Tracing, Replay with Canvas) 97.17 kB -0.28% -265 B 🔽
@sentry/browser (incl. Tracing, Replay, Feedback) 110 kB -0.39% -425 B 🔽
@sentry/browser (incl. Feedback) 47.52 kB - -
@sentry/browser (incl. sendFeedback) 35.02 kB - -
@sentry/browser (incl. FeedbackAsync) 40.13 kB - -
@sentry/browser (incl. Metrics) 31.48 kB - -
@sentry/browser (incl. Logs) 31.77 kB - -
@sentry/browser (incl. Metrics & Logs) 32.45 kB - -
@sentry/react 31.78 kB - -
@sentry/react (incl. Tracing) 54.93 kB +0.31% +166 B 🔺
@sentry/vue 38.33 kB - -
@sentry/vue (incl. Tracing) 55.57 kB +0.43% +233 B 🔺
@sentry/svelte 29.95 kB - -
@sentry/remix (Remix 3 client bundle) 58.01 kB +0.16% +87 B 🔺
CDN Bundle 31.72 kB - -
CDN Bundle (incl. Tracing) 53.03 kB +0.28% +144 B 🔺
CDN Bundle (incl. Logs, Metrics) 34.52 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 55.6 kB +0.39% +212 B 🔺
CDN Bundle (incl. Replay, Logs, Metrics) 76 kB - -
CDN Bundle (incl. Tracing, Replay) 91.31 kB +0.15% +135 B 🔺
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 93.94 kB +0.24% +222 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) 97.51 kB +0.23% +217 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 100.06 kB +0.17% +168 B 🔺
CDN Bundle - uncompressed 92.76 kB - -
CDN Bundle (incl. Tracing) - uncompressed 156.91 kB +0.58% +896 B 🔺
CDN Bundle (incl. Logs, Metrics) - uncompressed 101.29 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 164.69 kB +0.55% +896 B 🔺
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 233.18 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 278.94 kB +0.33% +896 B 🔺
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 286.7 kB +0.32% +896 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 292.64 kB +0.31% +896 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 300.39 kB +0.3% +896 B 🔺
@sentry/nextjs (client) 57.95 kB +0.38% +217 B 🔺
@sentry/sveltekit (client) 53.03 kB +0.41% +214 B 🔺
@sentry/core/server 44.39 kB - -
@sentry/core/browser 14.02 kB - -
@sentry/node 157.65 kB +0.01% +15 B 🔺
@sentry/node/import (ESM hook with diagnostics-channel injection) 82.31 kB - -
@sentry/node - without tracing 97.23 kB +0.02% +18 B 🔺
@sentry/node - without channel injection 137.97 kB +0.02% +20 B 🔺
@sentry/aws-serverless 106.08 kB +0.03% +23 B 🔺
@sentry/cloudflare (withSentry) - minified 203.81 kB - -
@sentry/cloudflare (withSentry) 506.45 kB - -
@sentry/nextjs/cloudflare (withSentry) - minified 225.49 kB - -
@sentry/browser (incl. Tracing Core) 43.91 kB added added

View base workflow run

`browserTracingIntegration` registers it by default, so nothing changes for its users. `browserTracingCoreIntegration` users only bundle it when they add it.
@logaretm
logaretm force-pushed the awad/linked-traces-integration branch from 9190a9a to 4fef45f Compare November 10, 2026 21:39
@github-actions

Copy link
Copy Markdown
Contributor

Optional E2E tests

Some optional checks were not successful. They do not block the merge. 2 not successful, 24 successful. See the run.

Check Status
❌ CI: Optional E2E Tests / E2E solidstart-2 Test (optional) Failing after 52s Details
❌ CI: Optional E2E Tests / E2E nextjs-16-cacheComponents (cloudflare) Test (optional) Failing after 10m Details
Successful checks
Check Status
✅ CI: Optional E2E Tests / E2E nextjs-16 (deno) Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E nuxt-5-sourcemaps (client source maps kept) Test (optional) Successful in 42s Details
✅ CI: Optional E2E Tests / E2E nextjs-14 (latest) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nuxt-5 (tunnel-dev) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E astro-7 Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nextjs-orpc Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nextjs-16-tunnel (cloudflare) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E react-send-to-sentry Test (optional) Successful in 3m Details
✅ CI: Optional E2E Tests / E2E astro-7-static Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E supabase-nextjs Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E nextjs-15 (latest) Test (optional) Successful in 3m Details
✅ CI: Optional E2E Tests / E2E nextjs-16 (vinext) Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E nuxt-5 Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E vue-3 (no Options API) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nextjs-15 (turbo) Test (optional) Successful in 3m Details
✅ CI: Optional E2E Tests / E2E nuxt-5-sourcemaps (static / nuxt generate) Test (optional) Successful in 36s Details
✅ CI: Optional E2E Tests / E2E tanstackstart-react (latest) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nextjs-16 (cloudflare, latest) Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E nextjs-16 (vinext, bun) Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E nuxt-5-sourcemaps Test (optional) Successful in 39s Details
✅ CI: Optional E2E Tests / E2E tanstackstart-react-sourcemaps Test (optional) Successful in 33s Details
✅ CI: Optional E2E Tests / E2E tanstackstart-react-cloudflare Test (optional) Successful in 41s Details
✅ CI: Optional E2E Tests / E2E react-router-7-framework-instrumentation Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E nuxt-5-cloudflare Test (optional) Successful in 37s Details

This branch has not been deployed

No deployments
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