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
We recently implemented being able to restore the contents of the interactive window from backup between VS Code reloads. However, there are a number of issues that need to be resolved in order for this experience to work smoothly.
The current behavior:
Reload
Interactive window is still open with all the cells from the previous session
Mapping between Python file and interactive window is lost
Kernel is initially dead (killed on reload). After waiting a bit, the previously connected kernel gets restarted, and a new connection sys info cell is appended to the interactive window (weird behavior for users--user expectation here is that it's the same kernel connection)
Discussion topic: What is the meaning of hot exit, and why does it exist?
- Is it just about persisting the history in the interactive window, or is it also about having a persistent kernel connection?
- Currently the implementation supports the former, i.e. we keep the cells around but the kernel session is lost
- One perspective: if I reload VS Code, I don't want to lose my interactive window session--that means the mapping between the Python file and interactive window should still be there, and the kernel connection should still be live and I should not lose my kernel state #6420
We recently implemented being able to restore the contents of the interactive window from backup between VS Code reloads. However, there are a number of issues that need to be resolved in order for this experience to work smoothly.
The current behavior:
Discussion topic: What is the meaning of hot exit, and why does it exist?
- Is it just about persisting the history in the interactive window, or is it also about having a persistent kernel connection?
- Currently the implementation supports the former, i.e. we keep the cells around but the kernel session is lost
- One perspective: if I reload VS Code, I don't want to lose my interactive window session--that means the mapping between the Python file and interactive window should still be there, and the kernel connection should still be live and I should not lose my kernel state #6420
Work items
The text was updated successfully, but these errors were encountered: