Skip to content

Commit 8df59ad

Browse files
committed
Implementation for kernel reconnection + tests
Signed-off-by: Geoff Wilson <[email protected]>
1 parent 259f623 commit 8df59ad

14 files changed

+3395
-375
lines changed

package.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1911,6 +1911,27 @@
19111911
]
19121912
}
19131913
]
1914+
},
1915+
"jupyter.enablePersistentSessions": {
1916+
"type": "boolean",
1917+
"default": true,
1918+
"description": "Enable kernel session persistence across VS Code restarts"
1919+
},
1920+
"jupyter.persistentSessionTimeout": {
1921+
"type": "number",
1922+
"default": 24,
1923+
"description": "Hours after which to abandon reconnection attempts for persisted kernel sessions"
1924+
},
1925+
"jupyter.persistentSessionReviveProcess": {
1926+
"type": "boolean",
1927+
"default": false,
1928+
"description": "Attempt to restart kernel processes if not found during reconnection"
1929+
},
1930+
"jupyter.kernels.killOnDisconnect": {
1931+
"type": "boolean",
1932+
"default": false,
1933+
"description": "Whether to terminate kernels when VS Code disconnects or restarts. When false, kernels are preserved for reconnection.",
1934+
"scope": "application"
19141935
}
19151936
}
19161937
},

0 commit comments

Comments
 (0)