You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Native Agent/facet/DO RPC invokes the method with the underlying Durable Object instance as its receiver.
Actual
Sentry returns a proxy from finalizeWithRpcInstrumentation, and native RPC invokes the prototype method with that proxy as this. Any native private field access then fails. PartyServer's setName() exposes this concretely through its #_name field:
TypeError: Cannot read private member #_name from an object whose class did not declare it
Setting enableRpcTracePropagation: false avoids the error.
I'm on it. It is just odd as this scenario should have tests as it came up before already. I'll investigate why the tests were not good enough or if anything was missing
Activity
linear-code commentedon Aug 5, 2026
JS-3283
JPeer264 commentedon Aug 5, 2026
I'm on it. It is just odd as this scenario should have tests as it came up before already. I'll investigate why the tests were not good enough or if anything was missing
fix(cloudflare): Instrument DO RPC methods on the prototype, not a Proxy
fix(cloudflare): Instrument DO RPC methods on the prototype, not a Pr…
fix(cloudflare): Capture telemetry from untraced Durable Object RPC c…