Skip to content

The agent that grows with you

docs(gateway): name the SIGUSR2 consumer in the stderr wrapper's forwarding comment

kshitijk4poor3dae1f733537
diff --git a/hermes_cli/stderr_timestamp.py b/hermes_cli/stderr_timestamp.py
index 7b194cd5490..a4f24b6d153 100644
--- a/hermes_cli/stderr_timestamp.py
+++ b/hermes_cli/stderr_timestamp.py
@@ -52,7 +52,9 @@ def _install_signal_forwarders(proc: subprocess.Popen[bytes]) -> dict[int, objec
# SIGUSR1 is the gateway's drain-aware restart request. launchd owns THIS wrapper's PID,
# so `hermes update` signals us, not the gateway; an unforwarded SIGUSR1 kills the wrapper
# (Python's default action), launchd tears the group down with SIGTERM and applies its
- # ~60 s crash back-off per sibling profile (#101426).
+ # ~60 s crash back-off per sibling profile (#101426). SIGUSR2 is the gateway's
+ # faulthandler stack-dump request (gateway/run_startup.py); unforwarded it terminates
+ # the wrapper the same way instead of dumping stacks.
forwarded = (
signal.SIGTERM,
signal.SIGINT,