Skip to content

build: Bump Sentry JS SDK to 10.61.0 and enable span streaming#1120

Open
cleptric wants to merge 2 commits into
mainfrom
mh/bump-sentry-sdk-span-streaming
Open

build: Bump Sentry JS SDK to 10.61.0 and enable span streaming#1120
cleptric wants to merge 2 commits into
mainfrom
mh/bump-sentry-sdk-span-streaming

Conversation

@cleptric

@cleptric cleptric commented Jun 22, 2026

Copy link
Copy Markdown
Member

We're dropping a small number of transactions/spans due to size limits. Migrating to span streaming to improve this.


Upgrade @sentry/cloudflare, @sentry/core, @sentry/node, and @sentry/react
from 10.54.0 to 10.61.0 and enable the span streaming trace lifecycle so spans
are sent in batches as they complete instead of being emitted when the transaction finishes.

Server-side configs (mcp-server, mcp-test-client, cloudflare worker) get
traceLifecycle: 'stream'. The browser client (mcp-cloudflare) gets
spanStreamingIntegration() added to the integrations array, which enables
streaming automatically.

Upgrade @sentry/cloudflare, @sentry/core, @sentry/node, and @sentry/react
from 10.54.0 to 10.59.0. Enable the span streaming trace lifecycle across
all environments so spans are sent individually as they complete instead of
being batched into transactions.

Server-side (mcp-server, mcp-test-client, cloudflare worker): traceLifecycle: 'stream'
Browser-side (cloudflare client): spanStreamingIntegration()

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cleptric
cleptric requested a review from Lms24 June 22, 2026 23:44
@cleptric cleptric self-assigned this Jun 23, 2026
@cleptric
cleptric marked this pull request as ready for review June 23, 2026 09:53
Comment thread packages/mcp-cloudflare/src/server/sentry.config.ts
Comment thread pnpm-workspace.yaml Outdated
Bump from 10.59.0 to 10.61.0 for Sentry.setAttribute support. Mirror
initialScope.tags to initialScope.attributes across all Sentry configs
(cloudflare, stdio server, test client) for span attribute propagation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cleptric cleptric changed the title build: Bump Sentry JS SDK to 10.59.0 and enable span streaming build: Bump Sentry JS SDK to 10.61.0 and enable span streaming Jun 26, 2026

@Lms24 Lms24 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It seems like we call setTag a bunch of times. we likely want to convert these calls to attributes. The skill was already updated to make this migration but since our release to agent plugin marketplaces is broken, you might need to run the skill manually.

Besides the setAttribute calls, LGTM, so ✅ing.

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