Files
hermes-agent/contributors/emails/sasan1200@gmail.com
Sasan Sotoodehfar 51283072ad fix(lsp,gateway): give servers a grace period after exit and keep shutdown diagnostics off GNU-only tools (#72944)
- 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).
2026-09-19 01:31:49 -07:00

3 lines
30 B
Plaintext

sasan1200
# PR #72932 salvage