8000 Launchable: Terminate Launchable CLI process quickly by sending singa… · ruby/ruby@311aa0d · GitHub
[go: up one dir, main page]

Skip to content

Commit 311aa0d

Browse files
ono-maxznz
andauthored
Launchable: Terminate Launchable CLI process quickly by sending singa… (#13622)
Launchable: Terminate Launchable CLI process quickly by sending singals to a process group Sometimes, the timeout errors occurred in Compilations workflow, this is because Launchable CLI process was not terminated correctly. To address this issue, we'll send signals to a process group. https://github.com/ruby/ruby/actions/runs/15614867686 https://github.com/ruby/ruby/actions/runs/15662906947 Co-authored-by: Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
1 parent ddb412f commit 311aa0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/compilers/entrypoint.sh

Lines changed: 1 addition & 1 deletion
46A7
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ if [ "$LAUNCHABLE_ENABLED" = "true" ]; then
143143
btest_session_file='launchable_btest_session.txt'
144144
test_spec_session_file='launchable_test_spec_session.txt'
145145
setup_pid=$$
146-
(sleep 180; echo "setup_launchable timed out; killing"; kill -INT "$setup_pid" 2> /dev/null) & sleep_pid=$!
146+
(sleep 180; echo "setup_launchable timed out; killing"; kill -INT "-$setup_pid" 2> /dev/null) & sleep_pid=$!
147147
launchable_failed=false
148148
trap "launchable_failed=true" INT
149149
setup_launchable

0 commit comments

Comments
 (0)
0