GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(v10/cloudflare): Capture telemetry from untraced Durable Object RPC calls by JPeer264 · Pull Request #24512 · getsentry/sentry-javascript

Conversation

@JPeer264

@JPeer264 JPeer264 commented Sep 18, 2026

Copy link
Copy Markdown
Member

Backport of: #24447

Differences to the original PR

  • packages/cloudflare/src/wrapMethodWithSentry.ts: added the spanName resolver (string | (rpcMeta) => string | undefined) from feat(cloudflare)!: Replace enableRpcTracePropagation with rpcTracePropagationBindings #23486. The fix depends on it to skip the span for untraced calls, and v10 only accepts a string.
  • packages/cloudflare/src/durableobject.ts: kept the v10 alwaysTrace path for the deprecated instrumentPrototypeMethods option unchanged (every call, internal ones included, gets an rpc span). The new capture-only path applies only with enableRpcTracePropagation. Uses 'rpc' instead of RPC from @sentry/conventions, which v10 does not depend on. The JSDoc keeps the v10 note that RPC methods are instrumented only with enableRpcTracePropagation.
  • packages/cloudflare/test/durableobject.test.ts, suites/durableobject/rpc-without-trace/index.ts: set enableRpcTracePropagation: true, because v10 does not instrument RPC methods by default.
  • suites/tracing/propagation/worker-do-rpc-overlapping/vite.config.mts: set _experimental: { autoInstrumentation: true }, because Vite auto-instrumentation is opt-in on v10.

On v10 the fix therefore covers Durable Objects with enableRpcTracePropagation: true (the setup from #24443). Without that option, v10 does not instrument RPC methods at all, same as before.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

sentry[bot] reacted with hooray emoji
All reactions
  • 🎉 1 reaction
@msnelling @JPeer264
fix(v10/cloudflare): Capture telemetry from untraced Durable Object R…
3c3e213
…PC calls

Backport of: #24447
@JPeer264 JPeer264 self-assigned this Sep 18, 2026
@JPeer264
JPeer264 marked this pull request as ready for review September 18, 2026 17:33
@JPeer264
JPeer264 requested a review from a team as a code owner September 18, 2026 17:33
@JPeer264
JPeer264 requested review from andreiborza, isaacs and mydea and removed request for a team and mydea September 18, 2026 17:33
@github-actions

github-actions Bot commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 27.84 kB added added
@sentry/browser - with treeshaking flags 26.27 kB added added
@sentry/browser (incl. Tracing) 46.7 kB added added
@sentry/browser (incl. Tracing + Span Streaming) 48.48 kB added added
@sentry/browser (incl. Tracing, Profiling) 51.45 kB added added
@sentry/browser (incl. Tracing, Replay) 86 kB added added
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 75.61 kB added added
@sentry/browser (incl. Tracing, Replay with Canvas) 90.73 kB added added
@sentry/browser (incl. Tracing, Replay, Feedback) 103.37 kB added added
@sentry/browser (incl. Feedback) 44.99 kB added added
@sentry/browser (incl. sendFeedback) 32.63 kB added added
@sentry/browser (incl. FeedbackAsync) 37.77 kB added added
@sentry/browser (incl. Metrics) 28.93 kB added added
@sentry/browser (incl. Logs) 29.16 kB added added
@sentry/browser (incl. Metrics & Logs) 29.85 kB added added
@sentry/react 29.63 kB added added
@sentry/react (incl. Tracing) 48.96 kB added added
@sentry/vue 33.25 kB added added
@sentry/vue (incl. Tracing) 48.69 kB added added
@sentry/svelte 27.86 kB added added
CDN Bundle 30.23 kB added added
CDN Bundle (incl. Tracing) 48.66 kB added added
CDN Bundle (incl. Logs, Metrics) 31.81 kB added added
CDN Bundle (incl. Tracing, Logs, Metrics) 49.98 kB added added
CDN Bundle (incl. Replay, Logs, Metrics) 71.16 kB added added
CDN Bundle (incl. Tracing, Replay) 86.24 kB added added
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 87.55 kB added added
CDN Bundle (incl. Tracing, Replay, Feedback) 92.03 kB added added
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 93.33 kB added added
CDN Bundle - uncompressed 90.04 kB added added
CDN Bundle (incl. Tracing) - uncompressed 146.85 kB added added
CDN Bundle (incl. Logs, Metrics) - uncompressed 94.75 kB added added
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 150.83 kB added added
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 219.71 kB added added
CDN Bundle (incl. Tracing, Replay) - uncompressed 266.28 kB added added
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 270.25 kB added added
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 279.98 kB added added
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 283.94 kB added added
@sentry/nextjs (client) 51.52 kB added added
@sentry/sveltekit (client) 47.13 kB added added
@sentry/core/server 80.85 kB added added
@sentry/core/browser 67.02 kB added added
@sentry/node-core 63.53 kB added added
@sentry/node 126.22 kB added added
@sentry/node (incl. diagnostics channel injection) 170.36 kB added added
@sentry/node/import (ESM hook with diagnostics-channel injection) 166 B added added
@sentry/node/light 51.68 kB added added
@sentry/node - without tracing 75.26 kB added added
@sentry/aws-serverless 84.48 kB added added
@sentry/cloudflare (withSentry) - minified 203.21 kB added added
@sentry/cloudflare (withSentry) 500.56 kB added added
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chargome
chargome approved these changes Sep 21, 2026
View reviewed changes
@JPeer264
JPeer264 merged commit c8f750f into v10 Sep 21, 2026
83 of 84 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@JPeer264
JPeer264 deleted the backport-v10-cloudflare-do-untraced-rpc branch September 21, 2026 13:31
@sentry-release-bot sentry-release-bot Bot mentioned this pull request Sep 21, 2026
publish: getsentry/[email protected] getsentry/publish#9594
Closed
47 tasks
@msnelling msnelling mentioned this pull request Sep 25, 2026
@sentry/cloudflare: Durable Object methods called from the constructor's blockConcurrencyWhile callback are captured as untraced RPC entries #24735
Closed
@brandhaug brandhaug mentioned this pull request Sep 25, 2026
chore(deps): bump all-patch-updates dependencies brandhaug/b2b-saas-starter#488
Closed
@Lms24 Lms24 mentioned this pull request Oct 8, 2026
meta(changelog): Update changelog for 10.76.2 #25181
Merged
@Lms24 Lms24 mentioned this pull request Oct 28, 2026
meta(changelog): Update changelog for 10.78.0 #25831
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chargome chargome chargome approved these changes
@isaacs isaacs Awaiting requested review from isaacs isaacs is a code owner automatically assigned from getsentry/team-javascript-sdks-server
@andreiborza andreiborza Awaiting requested review from andreiborza

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@JPeer264 JPeer264

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@JPeer264 @chargome @msnelling
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.