Skip to content

CI trial: rust-cache ahead of kache on the app job - #92

Merged
ndbroadbent merged 1 commit into
mainfrom
ci-cache-trial
Dec 3, 2026
Merged

ndbroadbent merged 1 commit into
mainfrom
ci-cache-trial

Conversation

@ndbroadbent

Copy link
Copy Markdown
Member

The coordinator's option (c), trialled on the app job only. That job regressed most when kache replaced rust-cache (#78): about 300 s warm, against 0–2 min before.

Change: Swatinem/rust-cache@v2 restores app/target/ (incremental state and our own crates), and kache runs behind it for dependency misses.

  • The rust-cache key covers Cargo.lock and the toolchain (its default).
  • Only main saves, like kache.
  • cargo-chef in the image build stays as it is.

Measuring: this PR's run, then two warm main runs, compared with today's kache-only numbers.

app job time
rust-cache only (before #78), warm 0–2 min
kache only, cold main (33c7261) 480 s
kache only, warm main (7b1cb02) 300 s
(c), this PR (main's rust-cache not filled yet) to measure
(c), warm main ×2 to measure

Then:

  • If (c) beats both, roll it out to lint, test and clients.
  • If it only matches rust-cache, go with (b): rust-cache in CI, and kache on docspring-dev and the pool.

… main) ahead of kache, to measure against kache alone
@ndbroadbent
ndbroadbent merged commit 293ceca into main Dec 3, 2026
11 checks passed
@ndbroadbent
ndbroadbent deleted the ci-cache-trial branch December 3, 2026 00:02
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