Repository navigation
CI: kache compile cache, cargo-chef layer for the server image - #78
Merged
Merged
Conversation
VisualCIdocspring/visualci · build #407 · 333 unchanged · no changes This PR vs base: 22 changed, 2 added since #273, across 5 builds Updated as builds change. Agents can review with VisualCI's MCP tools. |
ndbroadbent
force-pushed
the
ci-kache
branch
3 times, most recently
from
December 2, 2026 16:48
5b1077a to
99ccb65
Compare
…es it; the R2 bucket once KACHE_BUCKET is set, else the GitHub cache); the server image builds dependencies in a cargo-chef layer; the app job's Postgres user is visualci
…, which only main may use; kache-action pinned to a commit
…ith:, which stopped the workflow from starting)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Build caching, as the coordinator asked (sc-8900 follow-up).
Swatinem/rust-cachein lint, app, test, visual and clients, throughkunobi-ninja/kache-action@v1with kache 2.4.0 (docspring-dev runs the same version).KACHE_BUCKETandKACHE_ENDPOINTset, the cache is the shared R2 bucket. Main usesKACHE_RW_*and pull requests use the read-onlyKACHE_RO_*keys, so a pull request can't write artifacts into main's builds.docker/server.Dockerfile, cargo-chef 0.1.78). A commit that changes only our own crates reuses that layer from the GHA layer cache.visualci, renamed fromloco. The Loco server's jobs keeplocountil cutover removes them.release.ymlkeeps rust-cache for now: its cross-compiled targets would each need their own kache setup.Times
Before, from recent green main runs: test 2–3 min, app 0–2 min, lint under 1 min, visual 5–8 min, images 6–9 min. This PR's own run gives the cold kache numbers, and the next PR's run the warm ones. The image change shows only on main, where the images job runs: I'll report it after the merge.