Files
hermes-agent/tests-js
Teknium ef3347de3b test(build): slow pnpm shim exits on the Ctrl-C the job gets
The SIGINT case of "... during the install leaves no lock" sometimes
outlived its signal for the shim's full sleep and hit the 30 s test timeout.
The shim writes its started marker and then runs `sleep N` in the
foreground. sh forks a child to exec sleep, and the forked child still runs
sh's SIGINT handler until the exec. A Ctrl-C landing in that window is
caught there. sleep then starts with a default disposition and the signal
already consumed, so it runs its full 30 s. Meanwhile the parent sh waits on
it and the whole job (run, relay, shim) stays alive. SIGHUP has no such
handler, which is why only the SIGINT case flakes.

Run the sleep in the background and wait on it under an INT trap, as the
"pnpm gets the signal" shim in the same file already does.
2026-11-10 16:55:31 -08:00
..
…