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
{{ message }}
Repository navigation
Commit c0b2abc
Browse filesBrowse the repository at this point in the historyBrowse files
Nightly 0.0.32 added two keybinding commands and 0.0.31 clients rejected
the whole serverGetConfig payload during connect, so they never reached
the connected state. The root cause is that clients validate
server-owned, growing literal unions (keybinding commands, config issue
kinds, editor ids) as closed sets, and one unknown member fails the
entire config decode and takes down the connection.
Introduce ForwardCompatibleArray: a wire codec that drops array elements
the current build cannot decode instead of failing the payload, and use
it for resolved keybindings, server config issues, and available
editors. Encoding is unchanged, authoring/upsert inputs stay strict, and
all client dispatch is by string equality so dropped rules are inert.
Servers can now grow these sets without per-client-version projections
on the wire (the approach previously attempted in #5018).
Co-Authored-By: Claude Fable 5 <[email protected]>
0 commit comments