From 6efa51134d35c4e4f714dd527be70d113481ac3a Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Wed, 14 Jan 2026 07:35:25 -0600 Subject: [PATCH] Reduce cache contention due to `RUST_BACKTRACE` environment variable (#17451) This is included in the Rust cache key hash because it is prefixed with `RUST_` but has no affect on compilation. This invalidates caches that could be shared across jobs. --------- Co-authored-by: Claude Opus 4.5 --- .github/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 11caaa860..4f5f4c695 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,6 @@ env: CARGO_TERM_COLOR: always PYTHON_VERSION: "3.12" RUSTUP_MAX_RETRIES: 10 - RUST_BACKTRACE: 1 jobs: # We use the large GitHub actions runners @@ -59,6 +58,7 @@ jobs: env: # Retry more than default to reduce flakes in CI UV_HTTP_RETRIES: 5 + RUST_BACKTRACE: 1 run: | cargo nextest run \ --cargo-profile fast-build \ @@ -100,6 +100,7 @@ jobs: env: # Retry more than default to reduce flakes in CI UV_HTTP_RETRIES: 5 + RUST_BACKTRACE: 1 run: | cargo nextest run \ --cargo-profile fast-build \ @@ -159,6 +160,7 @@ jobs: # Avoid permission errors during concurrent tests # See https://github.com/astral-sh/uv/issues/6940 UV_LINK_MODE: copy + RUST_BACKTRACE: 1 shell: bash run: | cargo nextest run \