Skip to content

feat(sccache): Per-compile basedirs - #3065

Merged
sylvestre merged 3 commits into
mozilla:mainfrom
Felixoid:per-compile-basedirs
Nov 27, 2026
Merged

sylvestre merged 3 commits into
mozilla:mainfrom
Felixoid:per-compile-basedirs

Conversation

@Felixoid

Copy link
Copy Markdown
Contributor

Make SCCACHE_BASEDIRS work per compile command like SCCACHE_DIRECT and SCCACHE_BASEDIRS_VERBATIM_ENV_DEPS.

@codecov-commenter

codecov-commenter commented Nov 24, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.70130% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.07%. Comparing base (0e8f184) to head (e0dc86a).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
tests/sccache_cargo.rs 94.28% 2 Missing ⚠️
tests/system.rs 98.43% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3065      +/-   ##
==========================================
+ Coverage   79.99%   80.07%   +0.08%     
==========================================
  Files          76       76              
  Lines       47373    47574     +201     
==========================================
+ Hits        37894    38096     +202     
+ Misses       9479     9478       -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Felixoid Felixoid changed the title Per-compile basedirs feat(sccache): Per-compile basedirs Nov 24, 2026
Comment thread tests/sccache_cargo.rs Resolved
Comment thread src/compiler/rust.rs Resolved
Comment thread src/config.rs Resolved
@Felixoid
Felixoid force-pushed the per-compile-basedirs branch from be5ccd8 to e0dc86a Compare November 25, 2026 09:01
obra added a commit to prime-radiant-inc/sccache that referenced this pull request Nov 25, 2026
mozilla#3065 made basedirs a Cow from the compile's environment; mozilla#3021 was
written against the server's slice.

Claude-Session: https://claude.ai/code/session_01LxWKLQwo8hQv5emM5dWmFy
obra added a commit to prime-radiant-inc/sccache that referenced this pull request Nov 25, 2026
…and why

Carries mozilla#3065 (per-compile SCCACHE_BASEDIRS) so parallel
worktrees share cached workspace crates. PRIME-RADIANT.md records why,
the measurements, and why mozilla#3021 isn't carried (chao's rustc wrapper
remaps every rustc call instead). primeradiant-release.yml publishes
Linux x86_64 and Apple Silicon binaries for tags.

Claude-Session: https://claude.ai/code/session_01LxWKLQwo8hQv5emM5dWmFy
@sylvestre
sylvestre merged commit 576f733 into mozilla:main Nov 27, 2026
51 checks passed
@sylvestre

Copy link
Copy Markdown
Collaborator

Thanks for your PR

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.

3 participants