Add kache as an optional compiler cache next to sccache #474
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.35) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.35 · 171 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.308
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #474"
general
weight: 0.35
messense
This adds kache as an optional
RUSTC_WRAPPERcompiler cache, alongside the existing sccache support.ccalready treats kache as a known wrapper (rust-lang/cc-rs#1770, released incc1.2.66), so PyO3 build scripts that compile C/C++ throughccpick it up fromRUSTC_WRAPPERwithout extra env.Usage
Existing
sccache: trueis unchanged.kache: trueis equivalent tocache: kache.cacheacceptsnone,sccache, orkache. Enabling both caches is an error.Behaviour
.sha256sidecar) on the host, and bind-mounts it into manylinux containers.RUSTC_WRAPPER=kacheandCC_KNOWN_WRAPPER_CUSTOM=kache.$RUNNER_TEMP/kache-storewith@actions/cacheon the host (the store is mounted into Docker so manylinux builds share it).kache statsafter the build, same assccache --show-stats.A CI step
maturin build with kacheis added next to the existing sccache step.Happy to drop the
kache:boolean and keep onlycache:if you would rather have a single input.