Supervisor: Reconnect to kernel websocket if disconnected #5788
Labels
area:kallichore
Issues related to the new kernel supervisor
area: kernels
Issues related to Jupyter kernels and LSP servers
We do not have a reproducible case for this, but at least one user has reported that after a long idle period, the kernel supervisor and Positron lose their Websocket connection, with the result that the kernel can no longer service requests and appears hung.
#5753
Here are some relevant log bits. On the Positron side, it's clear that the kernel was idle, and then the next day we found the websocket closed.
On the supervisor side:
In the case where the websocket connection is broken but the supervisor is still running, we should attempt to reconnect the websocket. Right now if we verify that the server is still running, we don't do anything.
positron/extensions/positron-supervisor/src/KallichoreAdapterApi.ts
Lines 537 to 540 in 74611ab
The text was updated successfully, but these errors were encountered: