Skip to content

ci: Fix Windows cache key collision in rust CI#487

Merged
JeanMertz merged 1 commit intomainfrom
prr58
Mar 27, 2026
Merged

ci: Fix Windows cache key collision in rust CI#487
JeanMertz merged 1 commit intomainfrom
prr58

Conversation

@JeanMertz
Copy link
Copy Markdown
Collaborator

The Windows test matrix entry was missing a cache_suffix, causing it to share the same toolchain and rust-cache keys as Linux/macOS builds. Since caches can only be accessed by one runner at a time, this would cause one of the two test jobs to ignore the cache.

Added cache_suffix: "-windows" to the Windows matrix entry and threaded ${{ matrix.name_suffix }} into both the toolchain and rust-cache keys so each OS gets its own isolated cache.

Also added .github/ and justfile to .ignore so that file- search tools respecting this whitelist (e.g. ripgrep) can include CI workflows and the justfile in project-wide searches.

The Windows test matrix entry was missing a `cache_suffix`, causing it
to share the same toolchain and `rust-cache` keys as Linux/macOS builds.
Since caches can only be accessed by one runner at a time, this would
cause one of the two test jobs to ignore the cache.

Added `cache_suffix: "-windows"` to the Windows matrix entry and
threaded `${{ matrix.name_suffix }}` into both the toolchain and
`rust-cache` keys so each OS gets its own isolated cache.

Also added `.github/` and `justfile` to `.ignore` so that file- search
tools respecting this whitelist (e.g. ripgrep) can include CI workflows
and the justfile in project-wide searches.

Signed-off-by: Jean Mertz <git@jeanmertz.com>
@JeanMertz JeanMertz merged commit 7b51ad3 into main Mar 27, 2026
11 checks passed
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