diff --git a/.github/actions/compilers/entrypoint.sh b/.github/actions/compilers/entrypoint.sh index c76c59da96..be10ed9c61 100755 --- a/.github/actions/compilers/entrypoint.sh +++ b/.github/actions/compilers/entrypoint.sh @@ -77,6 +77,8 @@ spec_opts='' # Launchable setup_launchable() { pushd ${srcdir} + # To prevent a slowdown in CI, disable request retries when the Launchable server is unstable. + export LAUNCHABLE_SKIP_TIMEOUT_RETRY=1 # Launchable creates .launchable file in the current directory, but cannot a file to ${srcdir} directory. # As a workaround, we set LAUNCHABLE_SESSION_DIR to ${builddir}. export LAUNCHABLE_SESSION_DIR=${builddir} diff --git a/.github/actions/launchable/setup/action.yml b/.github/actions/launchable/setup/action.yml index 41a46ccc91..8ea8f61414 100644 --- a/.github/actions/launchable/setup/action.yml +++ b/.github/actions/launchable/setup/action.yml @@ -121,6 +121,8 @@ runs: : # https://github.com/launchableinc/cli/blob/v1.80.1/launchable/utils/authentication.py#L71 echo "GITHUB_PR_HEAD_SHA=${{ github.event.pull_request.head.sha || github.sha }}" >> $GITHUB_ENV echo "LAUNCHABLE_TOKEN=${{ inputs.launchable-token }}" >> $GITHUB_ENV + : # To prevent a slowdown in CI, disable request retries when the Launchable server is unstable. + echo "LAUNCHABLE_SKIP_TIMEOUT_RETRY=1" >> $GITHUB_ENV if: steps.enable-launchable.outputs.enable-launchable - name: Set up path