DF8205: Terminal Session Is Not Restartable
Terminal session "{id}" is not restartable
Message
Terminal session "{id}" is not restartableCause
hub:terminals:restart was called for a session registered with restartable: false, a flag for sessions whose lifecycle is owned elsewhere (a one-shot build, or a server like code-server restarted through its own controls).
Fix
It was registered with restartable: false; restart it through its owner's controls, or spawn it with restartable: true (the default) to allow in-place restarts.
Source
packages/hub/src/node/rpc-builtins.ts: thehub:terminals:restarthandler throws this when the resolved session hasrestartable: false.