Skip to content

fix(post): record build-cache + cargo-registry saves in ALL outcomes (#287 follow-up) - #291

Merged
zackees merged 1 commit into
mainfrom
feat/post-record-build-registry-saves
May 31, 2026
Merged

zackees merged 1 commit into
mainfrom
feat/post-record-build-registry-saves

Conversation

@zackees

@zackees zackees commented May 31, 2026

Copy link
Copy Markdown
Collaborator

v0.9.28 cascade showed only cook-cache-delta in the table even though build-cache + cargo-registry also ran. Root cause: #287 patched 4 save sites but missed the 2 site at build-cache + cargo-registry which use a DIFFERENT code path (only recorded saved/oversize-skip, filtering out tiny-delta and exact-hit).

Both sites patched to record-always. 14/14 post tests still pass. Pure-formatting reshape; no behavior change beyond the additional rows in the table.

…287 follow-up)

#287 patched 4 save sites (solo-toolchain, cook-cache layered/legacy,
soldr-mini) to record into the post-step save table regardless of
outcome. But build-cache and cargo-registry use DIFFERENT code paths
that were missed — they only recorded "saved" / "oversize-skip",
filtering out "tiny-delta-skip" / "exact-hit-skip" / etc.

Observed on the v0.9.28 cascade run: build-cache exact-restore +
tiny-delta-skip → invisible in table. cargo-registry restore-key
hit + fallback save → also invisible. Final table showed only
cook-cache-delta even though build + registry layers also ran.

Both sites patched to record-always. archive/inflated/file fields
stay null for non-saved statuses so totals only count actual
uploads. Status string carries the disposition.

Now operators see:
  build-cache           saved                   1.03GB  1319  19.7s
  build-cache           tiny-delta-skip            -      -   0.1s
  build-cache           exact-hit-skip             -      -   0.0s
  cargo-registry        saved                   56.1MB 14339   5.4s
  cargo-registry        missing-dir-skip           -      -   0.0s
  ...

— in addition to the cook-cache-* rows already covered.

Tests: all 14 post tests still pass; pure-formatting reshape.

dist/post.js rebuilt via Linux/node:24.

Refs: #283 (one-liner), #285 (table view), #287 (skipped-row
records for solo/cook/mini), this PR closes the gap for build +
registry.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
@zackees
zackees merged commit b1f9ffd into main May 31, 2026
5 of 6 checks passed
@zackees
zackees deleted the feat/post-record-build-registry-saves branch May 31, 2026 05:34
zackees added a commit that referenced this pull request May 31, 2026
Picks up #291 — post-step save table includes build-cache +
cargo-registry rows in ALL outcomes (not just saved/oversize-skip).
Closes the gap #287 left.

Co-authored-by: Claude Opus 4.7 <[email protected]>
zackees added a commit to forge-ci/zccache that referenced this pull request May 31, 2026
setup-soldr v0.9.29 lands forge-ci/setup-soldr#291 — the post-step
save table now includes build-cache + cargo-registry rows in all
outcomes (not just saved/oversize-skip).

19 pins bumped across 9 files.

Co-authored-by: Claude Opus 4.7 <[email protected]>
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