Uh oh!
There was an error while loading. Please reload this page.
fix(cloudflare): Route DO teardown through original waitUntil - #22339
Conversation
Avoid a flush-lock deadlock that prevents WebSocket hibernation. fix: #22328 fix: JS-3067
JPeer264
left a comment
There was a problem hiding this comment.
Amazing thank you.
By any chance did you find a way to reproduce this in the deployed version? I wonder if there is a reliable way for us to replicate that in wrangler tests or in a prod instance.
isaacs
commented
Jul 17, 2026
No, but to be fair, I didn't try very hard. It was clear from reading the code and the synthetic test that it could happen this way, and the report in #22328 makes it clear it is happening for at least some users. It sounds like it only occurs under load, so I figured it might be tricky to reproduce organically. |
Avoid a flush-lock deadlock that prevents WebSocket hibernation.
fix: #22328
fix: JS-3067
fix: #21153
fix: JS-2607