From 27b41cbf2b869730efc15c7db18739461234bf3b Mon Sep 17 00:00:00 2001 From: StreamKit Devin Date: Sat, 25 Apr 2026 14:23:33 +0000 Subject: [PATCH] ci: remove SCCACHE_GHA_ENABLED to stop cache entry explosion The sccache GHA backend stores one cache entry per compiled artifact, creating ~1000 tiny entries that evict the much more valuable Swatinem/rust-cache entries (full target/ snapshots) via LRU. Remove SCCACHE_GHA_ENABLED from all workflows. On hosted runners sccache falls back to local disk (harmless no-op on ephemeral VMs). On the self-hosted GPU runner it continues to work via persistent local disk cache. The other optimizations from #372 (shared-key, save-if, cache-on-failure, RUSTC_WRAPPER) remain in place. Signed-off-by: StreamKit Devin Co-Authored-By: Claudio Costa --- .github/workflows/e2e.yml | 1 - .github/workflows/marketplace-build.yml | 1 - .github/workflows/plugins.yml | 1 - .github/workflows/release.yml | 1 - .github/workflows/skit.yml | 1 - 5 files changed, 5 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 2f0eed72..0987785d 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -10,7 +10,6 @@ on: env: CARGO_TERM_COLOR: always RUSTC_WRAPPER: sccache - SCCACHE_GHA_ENABLED: "true" jobs: pipeline-validation: diff --git a/.github/workflows/marketplace-build.yml b/.github/workflows/marketplace-build.yml index ebbf91ec..f1fd74c4 100644 --- a/.github/workflows/marketplace-build.yml +++ b/.github/workflows/marketplace-build.yml @@ -27,7 +27,6 @@ env: CARGO_TERM_COLOR: always RUST_BACKTRACE: 1 RUSTC_WRAPPER: sccache - SCCACHE_GHA_ENABLED: "true" SHERPA_ONNX_VERSION: "1.12.17" MINISIGN_DEB_URL: "http://launchpadlibrarian.net/780165111/minisign_0.12-1_amd64.deb" REGISTRY_BASE_URL: ${{ inputs.registry_base_url || 'https://streamkit.dev/registry' }} diff --git a/.github/workflows/plugins.yml b/.github/workflows/plugins.yml index 619de6b4..b5310699 100644 --- a/.github/workflows/plugins.yml +++ b/.github/workflows/plugins.yml @@ -13,7 +13,6 @@ env: CARGO_TERM_COLOR: always RUST_BACKTRACE: 1 RUSTC_WRAPPER: sccache - SCCACHE_GHA_ENABLED: "true" SHERPA_ONNX_VERSION: "1.12.17" ONNXRUNTIME_VERSION: "1.22.0" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e9da1dbf..1e8e9a5e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,6 @@ env: CARGO_TERM_COLOR: always RUST_BACKTRACE: 1 RUSTC_WRAPPER: sccache - SCCACHE_GHA_ENABLED: "true" jobs: build-linux-x64: diff --git a/.github/workflows/skit.yml b/.github/workflows/skit.yml index 767b0388..2deaddae 100644 --- a/.github/workflows/skit.yml +++ b/.github/workflows/skit.yml @@ -7,7 +7,6 @@ env: CARGO_TERM_COLOR: always RUST_BACKTRACE: 1 RUSTC_WRAPPER: sccache - SCCACHE_GHA_ENABLED: "true" jobs: lint: