Skip to content

Conversation

@mydea
Copy link
Member

@mydea mydea commented Apr 8, 2024

To ensure we can use this in an isomorphic way.

This means we do not rely on this being a mutable object anymore, but we need to ensure to update it (in http integration) on both the span and for the current context.

To ensure we can use this in an isomorphic way.
@mydea mydea requested review from lforst and s1gr1d April 8, 2024 12:16
@mydea mydea self-assigned this Apr 8, 2024
@github-actions
Copy link
Contributor

github-actions bot commented Apr 8, 2024

size-limit report 📦

Path Size
@sentry/browser (incl. Tracing, Replay, Feedback) 75.65 KB (0%)
@sentry/browser (incl. Tracing, Replay) 66.87 KB (0%)
@sentry/browser (incl. Tracing, Replay with Canvas) 70.73 KB (0%)
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 60.44 KB (0%)
@sentry/browser (incl. Tracing) 31.75 KB (0%)
@sentry/browser (incl. browserTracingIntegration) 31.75 KB (0%)
@sentry/browser (incl. feedbackIntegration) 30.88 KB (0%)
@sentry/browser (incl. feedbackModalIntegration) 30.9 KB (0%)
@sentry/browser (incl. feedbackScreenshotIntegration) 30.9 KB (0%)
@sentry/browser (incl. sendFeedback) 26.89 KB (0%)
@sentry/browser 22.1 KB (0%)
CDN Bundle (incl. Tracing, Replay, Feedback) 71.62 KB (-0.02% 🔽)
CDN Bundle (incl. Tracing, Replay) 66.37 KB (-0.01% 🔽)
CDN Bundle (incl. Tracing) 32.7 KB (-0.02% 🔽)
CDN Bundle 24.13 KB (0%)
CDN Bundle (incl. Tracing, Replay) - uncompressed 206.99 KB (0%)
CDN Bundle (incl. Tracing) - uncompressed 97.59 KB (0%)
CDN Bundle - uncompressed 71.37 KB (0%)
@sentry/react (incl. Tracing, Replay) 66.99 KB (0%)
@sentry/react 22.12 KB (0%)

@mydea mydea merged commit a1e4efe into develop Apr 8, 2024
@mydea mydea deleted the fn/use-core-span-scopes branch April 8, 2024 13:00
cadesalaberry pushed a commit to cadesalaberry/sentry-javascript that referenced this pull request Apr 19, 2024
To ensure we can use this in an isomorphic way.

This means we do not rely on this being a mutable object anymore, but we
need to ensure to update it (in http integration) on both the span _and_
for the current context.
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.

3 participants