Skip to content

ci: disable rust-cache target/ caching (sccache covers compile reuse)#250

Merged
thejefflarson merged 1 commit into
mainfrom
ci/rust-cache-no-targets
Jul 19, 2026
Merged

ci: disable rust-cache target/ caching (sccache covers compile reuse)#250
thejefflarson merged 1 commit into
mainfrom
ci/rust-cache-no-targets

Conversation

@thejefflarson

Copy link
Copy Markdown
Owner

Self-hosted homelab runners restore rust-cache (incl. target/) over the home uplink every job — slow. The job already uses sccache → in-cluster Redis (RUSTC_WRAPPER: sccache) for compile reuse, so caching target/ is redundant + the slow part. cache-targets: false shrinks the cache to ~/.cargo; sccache still covers compile reuse.

🤖 Generated with Claude Code

Self-hosted homelab runners restore rust-cache (incl. target/) over the
home uplink every job, which is slow. The job already uses sccache backed
by in-cluster Redis (RUSTC_WRAPPER: sccache) for compile reuse, so caching
target/ is both redundant and the slow part. cache-targets: false shrinks
the cache to ~/.cargo; sccache still covers compile reuse.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013cYVqzH7Xfwea7fAozdQK7
@thejefflarson
thejefflarson enabled auto-merge (squash) July 19, 2026 15:10
@thejefflarson
thejefflarson merged commit c65ec52 into main Jul 19, 2026
5 checks passed
@thejefflarson
thejefflarson deleted the ci/rust-cache-no-targets branch July 19, 2026 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant