Skip to content

Include matrix config in CI cache key to fix checked build caching#47

Merged
agocke merged 1 commit intobazelfrom
fix-bazel-cache
Mar 8, 2026
Merged

Include matrix config in CI cache key to fix checked build caching#47
agocke merged 1 commit intobazelfrom
fix-bazel-cache

Conversation

@agocke
Copy link
Owner

@agocke agocke commented Mar 8, 2026

The cache key did not include the build config (clr_release vs clr_checked), so both Linux jobs shared the same cache slot. Since release finishes first, only its artifacts were saved. Checked always got cache misses on restore.

The cache key did not include the build config (clr_release vs clr_checked),
so both Linux jobs shared the same cache slot. Since release finishes first,
only its artifacts were saved. Checked always got cache misses on restore.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@agocke agocke enabled auto-merge (squash) March 8, 2026 04:17
@agocke agocke merged commit 695a59d into bazel Mar 8, 2026
3 checks passed
@agocke agocke deleted the fix-bazel-cache branch March 8, 2026 05:44
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