summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaoto Ono <[email protected]>2025-06-16 14:18:57 +0900
committerGitHub <[email protected]>2025-06-16 14:18:57 +0900
commit311aa0dfa7cdc1343cccc00e358dc871865a409d (patch)
tree2a717352a384b0e2ea6f4586e5e0deb6cb5ac669
parentddb412f6804484db165fdbbd34e144a7b2bed5b0 (diff)
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 <[email protected]>
Notes
Notes: Merged-By: ono-max <[email protected]>
-rwxr-xr-x.github/actions/compilers/entrypoint.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/actions/compilers/entrypoint.sh b/.github/actions/compilers/entrypoint.sh
index ad9fa87a11..f39a8a066e 100755
--- a/.github/actions/compilers/entrypoint.sh
+++ b/.github/actions/compilers/entrypoint.sh
@@ -143,7 +143,7 @@ if [ "$LAUNCHABLE_ENABLED" = "true" ]; then
btest_session_file='launchable_btest_session.txt'
test_spec_session_file='launchable_test_spec_session.txt'
setup_pid=$$
- (sleep 180; echo "setup_launchable timed out; killing"; kill -INT "$setup_pid" 2> /dev/null) & sleep_pid=$!
+ (sleep 180; echo "setup_launchable timed out; killing"; kill -INT "-$setup_pid" 2> /dev/null) & sleep_pid=$!
launchable_failed=false
trap "launchable_failed=true" INT
setup_launchable