Johannes Schickling
Johannes Schickling
Thanks a lot @rhashimoto for this helpful comment! I suspect this being related to the handle "handover" during leader (re-)election. I would still need a minimal reproduction of this problem...
Funnily enough, I also just saw this error locally in a situation where there were a bunch of hot reloads.
Would appreciate a minimal reproduction for this!
Thanks a lot for looking into this @petebacondarwin @lrapoport-cf - is there any update on this by any chance?
The "Embrace Effect schema for sqlite state column definitions" bullet point has been expanded into a dedicated issue: #470 This focuses specifically on implementing a schema-first approach for table definitions,...
> The staging should affect the UI, but not actually commit until instructed to do so. I think this also helps with a certain type of UI interaction I call...
Note to self: Probably due to lazy loading related code / possibly also related to workers. Possible solution might be using [`optimizeDeps.entries`](https://vite.dev/config/dep-optimization-options.html#optimizedeps-entries)
This should be fixed in the next dev release.
Linking a possibly related upstream bug: https://github.com/cloudflare/workers-sdk/issues/11071. Our large-batch pagination timeouts in wrangler dev (hibernated DO WebSocket) show clean closes/stalls without app errors; the Cloudflare issue reports wrangler proxying WebSockets...
Thanks a lot for creating this issue. Just to clarify, LiveStore is working for you during development, but you're seeing this problem when you're trying to create a production build?