You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace synchronous ctx.storage.kv usage with the async ctx.storage.get/put for persisting Server.name. Add a #hydrateNameFromStorage() helper and call it from entry points (#ensureInitialized and fetch path) so the name is loaded on cold starts; await storage.put when setting the name. Update tests to await ctx.storage.put. Add a changeset documenting the migration and remove the previous changeset that required SQLite-backed Durable Objects.
`Attempting to read .name on ${this.#ParentClass.name} before it was set. The name can be set by explicitly calling .setName(name) on the stub, or by using routePartyKitRequest(). This is a known issue and will be fixed soon. Follow https://github.com/cloudflare/workerd/issues/2240 for more updates.`
@@ -631,7 +628,7 @@ Did you try connecting directly to this Durable Object? Try using getServerByNam
0 commit comments