From eca57c7be77721f451ef2bd5993a5c962f890f97 Mon Sep 17 00:00:00 2001 From: Erik Burton Date: Fri, 6 Mar 2026 14:25:55 -0800 Subject: [PATCH] fix: run-e2e-tests quarantine behaviour --- .github/workflows/run-e2e-tests.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-e2e-tests.yml b/.github/workflows/run-e2e-tests.yml index cd8b39249..236760531 100644 --- a/.github/workflows/run-e2e-tests.yml +++ b/.github/workflows/run-e2e-tests.yml @@ -714,6 +714,7 @@ jobs: TEST_CONFIG_OVERRIDE_PATH: ${{ matrix.tests.test_config_override_path || inputs.test_config_override_path }} TEST_ID: ${{ matrix.tests.id_sanitized || matrix.tests.id }} + QUARANTINE: ${{ inputs.quarantine }} steps: - name: Enable S3 Cache for Self-Hosted Runners # these env vars are set (and exposed) when it is a self-hosted runner with extras=s3-cache @@ -840,7 +841,8 @@ jobs: id: run_tests timeout-minutes: ${{ matrix.tests.timeout_minutes || inputs.test-timeout-minutes }} uses: smartcontractkit/.github/actions/ctf-run-tests@ctf-run-tests/0.11.0 - continue-on-error: ${{ inputs.quarantine == 'true' }} # auto-quarantine will handle result + # jankiness because: github.com/actions/runner/issues/1492 + github.com/actions/runner/issues/2418 + continue-on-error: ${{ fromJSON(env.QUARANTINE) }} env: DETACH_RUNNER: true RUN_QUARANTINED_TESTS: "true" # always run quarantined tests in CI @@ -1074,6 +1076,7 @@ jobs: TEST_CONFIG_OVERRIDE_PATH: ${{ matrix.tests.test_config_override_path || inputs.test_config_override_path }} TEST_ID: ${{ matrix.tests.id_sanitized || matrix.tests.id }} + QUARANTINE: ${{ inputs.quarantine }} steps: - name: Enable S3 Cache for Self-Hosted Runners # these env vars are set (and exposed) when it is a self-hosted runner with extras=s3-cache @@ -1151,7 +1154,8 @@ jobs: id: run_tests timeout-minutes: ${{ matrix.tests.timeout_minutes || inputs.test-timeout-minutes }} uses: smartcontractkit/.github/actions/ctf-run-tests@ctf-run-tests/0.11.0 - continue-on-error: ${{ inputs.quarantine == 'true' }} # auto-quarantine will handle result + # jankiness because: github.com/actions/runner/issues/1492 + github.com/actions/runner/issues/2418 + continue-on-error: ${{ fromJSON(env.QUARANTINE) }} env: DETACH_RUNNER: true RUN_QUARANTINED_TESTS: "true" # always run quarantined tests in CI