mirror of
https://github.com/astral-sh/uv
synced 2026-01-22 14:00:11 -05:00
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 <noreply@anthropic.com>
This commit is contained in:
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user