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 622dfcd
Browse filesBrowse the repository at this point in the historyBrowse files
The repeatable `src/test/examples/runtime-lifecycle.cjs` fixture launched a session from the actual VS Code 1.110.0 extension host with no standalone Node on PATH, exited the full application, and verified that R remained reachable. VS Code 1.140.0 then reconnected to the same R PID and retained object, and launched a second session using its own extension-host executable. Both sessions survived application exit, and R did not inherit `ELECTRON_RUN_AS_NODE`.
166
166
167
167
This checks quit/reopen and switching editor versions on macOS. It does not exercise the editor's updater or establish that every OS/update mechanism preserves running agents. New launches resolve the current host each time; a removed runtime reports a reload/repair instruction, and reconnection to a live agent does not need to relaunch its executable. Linux supervisor coverage remains in CI; the local supervisor fixtures verify propagation of the Electron flag through both command forms.
168
+
169
+
The first CI run passed build, lint, Windows, and Linux (including real tmux persistence), but macOS exposed a test-only platform override. Simulating Linux by changing `process.platform` made bundled Node call a Linux-only crashdump binding on macOS. The process tests now retain the real platform and verify automatic detached supervision on each OS; Linux-only fallback notices are asserted only on Linux. Supervisor command tests also avoid changing Node's global platform. All 13 affected checks passed inside the actual macOS VS Code 1.140.0 runtime after this correction.
Copy file name to clipboardExpand all lines: src/test/suite/interactiveRuntime.test.ts
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -784,7 +784,8 @@ ggplot(diamonds, aes(x = carat, y = price, color = cut)) +
784
784
});
785
785
786
786
for(constsupervisionof['detached','auto']){
787
-
test(`${supervision==='auto' ? 'Linux auto without tmux' : 'Detached'} session leaves the editor process tree and retains objects after its termination`,async()=>{
787
+
constlabel=supervision==='auto' ? `${process.platform==='linux' ? 'Linux' : 'Desktop'} auto without tmux` : 'Detached';
788
+
test(`${label} session leaves the editor process tree and retains objects after its termination`,async()=>{
0 commit comments