Remove srs cache diagnostic

This commit is contained in:
Zanie Blue
2026-06-09 16:59:06 -05:00
parent a195af952c
commit 74e9709fbb
2 changed files with 2 additions and 20 deletions
+2
View File
@@ -57,4 +57,6 @@ toolchain_bin="$(dirname "$cargo_wrapper")"
echo "RUSTUP_TOOLCHAIN=${toolchain}"
echo "SRS_CARGO_ARTIFACT_CACHE_MAX_SIZE=4GiB"
} >> "$GITHUB_ENV"
# Rustup injects the toolchain library tree into LD_LIBRARY_PATH on Linux,
# which disables srs artifact-cache admission due to its nested shared objects.
echo "$toolchain_bin" >> "$GITHUB_PATH"
@@ -37,26 +37,6 @@ jobs:
uses: ./.github/actions/setup-srs
with:
artifact-cache-scope: github-linux-dev
- name: "Diagnose srs artifact cache"
env:
CARGO_LOG: cargo::core::compiler=debug
CARGO_TARGET_DIR: ${{ runner.temp }}/srs-artifact-cache-probe
run: |
echo "Cargo: $(command -v cargo)"
test "$(command -v cargo)" = "$CARGO"
echo "Loader environment:"
env | grep -E '^(GLIBC_TUNABLES|LD_|DYLD_)=' || true
echo "Restored srs cache:"
du -sh ~/.cargo/srs-artifact-cache-v2 || true
find ~/.cargo/srs-artifact-cache-v2 -type f | wc -l
cargo build --package uv-static --lib \
> "$RUNNER_TEMP/srs-artifact-cache-probe.log" 2>&1
grep -E 'artifact cache|Compiling|Finished' \
"$RUNNER_TEMP/srs-artifact-cache-probe.log"
grep -q 'stored artifact cache entry' \
"$RUNNER_TEMP/srs-artifact-cache-probe.log"
test -d ~/.cargo/srs-artifact-cache-v2
test "$(find ~/.cargo/srs-artifact-cache-v2 -type f | wc -l)" -gt 0
- name: "Generate all"
run: cargo dev generate-all --mode dry-run
- name: "Check sysconfig mappings"