Commit Detail
Commit 1563042
Don't allow transferring of SubrequestChannels for dynamic entrypoints. In production, when we transfer a Fetcher binding to another worker, the second worker might run on an entirely different machine, maybe on the other side of the world. It's important that any bindings passed to it can be loaded from scratch locally, without calling back to the original Worker that made the introduction. But we can't possibly support this for dynamically-loaded workers because we don't know how to reload them without the app's help. So, let's enforce that entrypoint stubs to dynamically-loaded workers cannot be transferred. We'll take the opportunity to enforce no transfers on DO stubs for now as well, though this is temporary.
Files changed
3 files changed~3 modified
Showing a partial diff list due to runtime limits (time_budget).