diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-20 15:13:48 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-20 15:18:43 -0300 |
| commit | 0957cd7ad097c83a591e315f2e261996e72ea856 (patch) | |
| tree | 1e13f10ab4b1fc809ec764217d53fb583946e4aa /runtime | |
| parent | e3d0daa9f89f41b41b7d05d510db553cbd8816d9 (diff) | |
| download | pardes-0957cd7ad097c83a591e315f2e261996e72ea856.tar.gz pardes-0957cd7ad097c83a591e315f2e261996e72ea856.zip | |
tui: a pardes whose terminal hangs up (no daemon) or that is sent SIGTERM kills its language servers' groups as an exit does: Killed.handle dies by raise, so the language client's atexit group kill (lsp_client.zig killAllAtExit) never ran and a server busy in a build (zls at a cold start, its children) lived on after the editor; the handler calls it now (kill(2) only, async-signal-safe); test "tty editing: lsp-hangup" (the mock, LSPMOCK_MODE=busy, leaves a child in its group at the handshake and says its pid; the case hangs up the pty and wants the child gone in 5 s): ServerChildLivesOn on the base, passes now; a user could hit it: closing the terminal of a daemon-less pardes, or kill (TERM) of any pardes, with a language server busy; tui process-test 1 of 145 failed once in the whole run (the SIGTERM flags case, "the terminal left raw", load 8-15; 3 of 3 alone)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'runtime')
0 files changed, 0 insertions, 0 deletions
