Skip to content
Commit Detail

Commit 1a21d9d

Author
Kenton Varda <kenton@cloudflare.com> 2026-04-18 20:17:33 -0500
Parents
9dc2670
Tree
0ded465
Fix `ExternalPusherImpl` so it doesn't care about ordering.

Previously, `ExternalPusherImpl` _assumed_ that the `push` RPC would always be received before the corresponding `unwrap` method was called during deserialization.

We seem to have cases in production where this assumption isn't holding.

It turns out, though, we don't have to make the assumption. We can actually deal with the push coming after the unwrap just fine, if we are clever.

Honestly, I had a feeling I'd burn myself trying to create `tryGetLocalServerSync()`...

Files changed