Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repro of issue with RPC & promise pipelining #3706

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

penalosa
Copy link
Contributor

@penalosa penalosa commented Mar 12, 2025

Reproduces what we think is a bug in the runtime, that is related to promise pipelining.

The sample sets up three Workers that service bind in the following way: worker-a -> proxy-worker -> user-worker. The proxy Worker acts as a "proxy", by forwarding the foo() RPC calls to the user-worker

foo(emoji) {
    return this.env.USER.foo(emoji);
}

Running this sample will result in worker-a throwing an error: RPC stub used after being disposed..

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.

1 participant