feat(cloudflare): Enable RPC trace propagation with enableRpcTracePropagation#20345
Merged
feat(cloudflare): Enable RPC trace propagation with enableRpcTracePropagation#20345
Conversation
79e6052 to
a11d4ae
Compare
Contributor
size-limit report 📦
|
Lms24
approved these changes
Apr 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
follow up to #19991
It is better to release it first with an option to be enabled, that would then also be in line with #20343, otherwise
.fetch()RPC calls would work without any option and the actual Cap'n'Proto RPC calls wouldn't work without. That would be an odd experience.New option:
enableRpcTracePropagationReplaces the deprecated
instrumentPrototypeMethodsoption with a clearer name that describes what it actually does. This option must be enabled on both the caller (Worker) and receiver (Durable Object) sides for trace propagation to work.It is also worth to mention that the implementation of "instrumenting prototype methods" has changed to a Proxy.