Files
vectorcraft/xtask
dotCooCoo 346af4b349 CI: cargo xtask ci warm records its build units for the cache trim
In the gate leg that saves the dependency cache, craft-common-actions'
rust-cache action names a file in CRAFT_CACHE_UNITS, and its cache-trim
action keeps only the build units that file names. xtask wrote nothing
to it, so every warm leg logged "cache-trim: no unit record, so the
target directory stays as it is" and the saved entry kept the old
builds of every dependency still in Cargo.lock.

With CRAFT_CACHE_UNITS set, each cargo build of `cargo xtask ci warm`
runs with --message-format json-render-diagnostics. Cargo's JSON
messages go to the record, and diagnostics stay readable on stderr.
xtask records its own build first (cargo build -p xtask), since
`cargo xtask` builds it before xtask can record anything. Without the
variable the commands run as before.
2026-11-27 17:34:23 -08:00
..