Files
411162cb1b [OPEND-4256] fix(sidecar): report a target's signal death as a real signal, not 128+N (#8995)
* fix(sidecar): re-raise a target's terminating signal instead of encoding it as 128+N

A supervised target that calls process.exit(137) was reported as SIGKILL
because the supervisor folded signals into the numeric exit-code space and
the packaged observer reversed 128+N back into a signal. The supervisor now
terminates itself with the target's unforwarded signal (POSIX), so owners see
a real signal; numeric exits pass through untouched and are classified as
crashes.

* fix(sidecar): restore default disposition before re-raising the target's signal

Node handles SIGUSR1 (inspector) and ignores SIGPIPE, so a plain self-signal
did not terminate the supervisor and the owner saw exit code 1 instead of the
target's signal. Reset the disposition first; cover SIGUSR1/SIGPIPE with the
real-supervisor fixture.

---------

Co-authored-by: heggria <bshengtao@gmail.com>
2026-10-26 02:57:04 +00:00
..