- LSPClient.shutdown: after the protocol `exit` notification wait up to SHUTDOWN_GRACE for the server to leave on its own before SIGTERM. Every well-behaved server was being SIGTERMed on top of a clean exit (returncode -15 on Linux); on Darwin the reaped PID can already belong to another process. - gateway shutdown diagnostic: run without GNU `timeout` when the host has neither `timeout` nor `gtimeout` (stock macOS) instead of skipping the diagnostic entirely; sort the `ps` listing with `sort` rather than the GNU `--sort` flag; fall back to `sysctl vm.loadavg` when `/proc/loadavg` is absent. - s6 skeleton: chmod after chown so the setgid bit on event/ survives. Salvages the still-open atoms of #72932 by @sasan1200 (LSP grace, portable diagnostics, chown ordering); the BASHPID and /private/var/folders atoms had already landed (911d380296,d4cec15b47).
3 lines
30 B
Plaintext
3 lines
30 B
Plaintext
sasan1200
|
|
# PR #72932 salvage
|