What's the chance "IoContext timed out due to inactivity" is caused by script upgrade?
Hoping someone with a better understanding of Durable Object RPC internals can help here. I'm seeing these two logs:
and in the same EventTimestampMs
I'm sending a ReadableStream over RPC from an AI workflow which is long running. Obviously when scripts upgrade (deployment or Workers platform decision) it terminates the RPC streams. My theories
- ReadableStream terminates due to script upgrade -> IoContext times out
- in other RPC calls (not long-running) we're also seeing this. It feels like stubs are kept open? My
dispose hygeine is... not great at this time; but I thought it was not a hard requirement. Is it?0 Replies