Skip to content

feat(node-core): Add processSegmentSpan to node context integration#20678

Merged
nicohrubec merged 8 commits intodevelopfrom
cg-node-context-streaming
May 7, 2026
Merged

feat(node-core): Add processSegmentSpan to node context integration#20678
nicohrubec merged 8 commits intodevelopfrom
cg-node-context-streaming

Conversation

@chargome
Copy link
Copy Markdown
Member

@chargome chargome commented May 5, 2026

Adds processSegmentSpan to the nodeContextIntegration for span streaming support.

Node equivalent to #20613
closes https://linear.app/getsentry/issue/JS-2219

@chargome chargome self-assigned this May 5, 2026
@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 5, 2026

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 5, 2026

size-limit report 📦

Path Size % Change Change
@sentry/browser 26.3 kB - -
@sentry/browser - with treeshaking flags 24.78 kB - -
@sentry/browser (incl. Tracing) 44.17 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 46.39 kB - -
@sentry/browser (incl. Tracing, Profiling) 49.14 kB - -
@sentry/browser (incl. Tracing, Replay) 83.63 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 73.08 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 88.32 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 100.93 kB - -
@sentry/browser (incl. Feedback) 43.44 kB - -
@sentry/browser (incl. sendFeedback) 31.11 kB - -
@sentry/browser (incl. FeedbackAsync) 36.19 kB - -
@sentry/browser (incl. Metrics) 27.6 kB - -
@sentry/browser (incl. Logs) 27.73 kB - -
@sentry/browser (incl. Metrics & Logs) 28.43 kB - -
@sentry/react 28.04 kB - -
@sentry/react (incl. Tracing) 46.4 kB - -
@sentry/vue 31.18 kB - -
@sentry/vue (incl. Tracing) 46.02 kB - -
@sentry/svelte 26.32 kB - -
CDN Bundle 28.91 kB - -
CDN Bundle (incl. Tracing) 46.94 kB - -
CDN Bundle (incl. Logs, Metrics) 30.34 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 48.04 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 69.46 kB - -
CDN Bundle (incl. Tracing, Replay) 84.13 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 85.2 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 89.94 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 91.02 kB - -
CDN Bundle - uncompressed 84.88 kB - -
CDN Bundle (incl. Tracing) - uncompressed 140.44 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 89.08 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 143.9 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 213.29 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 258.54 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 261.99 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 272.24 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 275.68 kB - -
@sentry/nextjs (client) 48.9 kB - -
@sentry/sveltekit (client) 44.64 kB - -
@sentry/node-core 60.48 kB +0.68% +405 B 🔺
@sentry/node 165.51 kB +0.25% +401 B 🔺
@sentry/node - without tracing 73.49 kB +0.58% +422 B 🔺
@sentry/aws-serverless 107.64 kB +0.38% +403 B 🔺
@sentry/cloudflare (withSentry) - minified 169.35 kB - -
@sentry/cloudflare (withSentry) 427.5 kB - -

View base workflow run

chargome and others added 3 commits May 5, 2026 15:45
…ributes

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@chargome chargome marked this pull request as ready for review May 6, 2026 07:20
@chargome chargome requested a review from a team as a code owner May 6, 2026 07:20
@chargome chargome requested a review from nicohrubec May 6, 2026 07:58
Comment thread packages/node-core/src/integrations/context.ts
Comment thread packages/node-core/src/integrations/context.ts Outdated
Comment thread packages/node-core/src/integrations/context.ts
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 10bf715. Configure here.

Comment thread packages/node-core/src/integrations/context.ts
@chargome chargome requested a review from nicohrubec May 6, 2026 15:53
@nicohrubec nicohrubec merged commit e185818 into develop May 7, 2026
261 checks passed
@nicohrubec nicohrubec deleted the cg-node-context-streaming branch May 7, 2026 07:09
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