Known issues
Is there a way to gracefully roll out a new version of a Durable Object class? It states here that objects are reset when the code is updated: https://developers.cloudflare.com/durable-objects/platform/known-issues/#global-uniqueness.
In my situation, Durable Objects are pseudo-stateful, streaming an LLM call to a user. If the object resets, this LLM provider call is interrupted, and there isn't really a way to gracefully retry (apart from reperforming the LLM request itself).
Cloudflare Docs
Known issues
Durable Objects is generally available. However, there are some known issues.
4 Replies
Ping to anyone on the Cloudflare team from this! Curious if there's any way around it.
I would be interested in this as well
Hey @Vy, any chance you can help @kyle with this? They're trying to roll out (and demo with us soon) something using DOs+Containers so want to make sure it's in a good state.
currently there's no way around this. Product wants to add a
ctx.blockCodeUpdates
API in the future to help workloads manage disruptions from code updates. But currently behind some other higher priorities