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
I have a problem with HMR with the latest version 2.0.0-rc7, after I modify the code, when I navigate between pages I have an error "Server function call failed with status 405"
Root cause: the server-function dispatch registry was per-module-instance state, but the RPC seam the router's query() grants through is a first-write-wins globalThis slot. In vite dev an edit to any module without a hot boundary makes the SSR module runner re-evaluate the runtime into a fresh instance with empty maps; query() recorded its GET grant in the old instance, /_server dispatch consulted the new one, and every declared read answered 405. The registry now lives on globalThis like the seam, so one process has one registry across reloads. Not related to #3150.
Activity
fix(web): keep the server-function registry on globalThis across runt…
ryansolid commentedon Sep 10, 2026