Skip to content

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

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

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

Conversation

@chargome

Copy link
Copy Markdown
Member

Adds processSegmentSpan to the nodeContextIntegration for span streaming support.

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

@chargomechargome self-assigned this May 5, 2026
@linear-code

Copy link
Copy Markdown

@github-actions

github-actionsBot commented May 5, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize% ChangeChange
@sentry/browser26.3 kB--
@sentry/browser - with treeshaking flags24.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 flags73.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/react28.04 kB--
@sentry/react (incl. Tracing)46.4 kB--
@sentry/vue31.18 kB--
@sentry/vue (incl. Tracing)46.02 kB--
@sentry/svelte26.32 kB--
CDN Bundle28.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 - uncompressed84.88 kB--
CDN Bundle (incl. Tracing) - uncompressed140.44 kB--
CDN Bundle (incl. Logs, Metrics) - uncompressed89.08 kB--
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed143.9 kB--
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed213.29 kB--
CDN Bundle (incl. Tracing, Replay) - uncompressed258.54 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed261.99 kB--
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed272.24 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed275.68 kB--
@sentry/nextjs (client)48.9 kB--
@sentry/sveltekit (client)44.64 kB--
@sentry/node-core60.48 kB+0.68%+405 B 🔺
@sentry/node165.51 kB+0.25%+401 B 🔺
@sentry/node - without tracing73.49 kB+0.58%+422 B 🔺
@sentry/aws-serverless107.64 kB+0.38%+403 B 🔺
@sentry/cloudflare (withSentry) - minified169.35 kB--
@sentry/cloudflare (withSentry)427.5 kB--

View base workflow run

chargomeand 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 ownerMay 6, 2026 07:20
@chargome
chargome requested a review from nicohrubecMay 6, 2026 07:58
Comment threadpackages/node-core/src/integrations/context.ts
Comment threadpackages/node-core/src/integrations/context.ts Outdated
Comment threadpackages/node-core/src/integrations/context.ts

@cursorcursorBot left a comment

Copy link
Copy Markdown

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

@chargome@nicohrubec