fix(deps): disable bazelisk cache to fix stale Bazel version#6150
Merged
fix(deps): disable bazelisk cache to fix stale Bazel version#6150
Conversation
The setup-bazel bazelisk cache is serving Bazel 8.1.0 despite .bazelversion specifying 9.0.1. The cache was poisoned — the cached binary doesn't match the version file hash. Disabling the cache lets bazelisk download the correct version each time. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
longlho
added a commit
that referenced
this pull request
Mar 17, 2026
Reverts the bazelisk-cache: false change from #6150 — the root cause was .bazeliskrc pinning USE_BAZEL_VERSION=8.1.0, not a stale cache. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Problem
CI is running Bazel 8.1.0 despite
.bazelversionspecifying 9.0.1. Thesetup-bazelbazelisk cache was poisoned — it cached the Bazel 8.1.0 binary under the hash for.bazelversioncontent9.0.1, and every subsequent run restores the wrong binary.This causes
aspect_rules_jsv3 upgrade (#6135) to fail because Bazel 8.1.0 doesn't supportrepo_name = Noneinbazel_dep().Fix
Disable
bazelisk-cachein all 6 workflows. Bazelisk download is ~2-3 seconds, so the cache savings are negligible compared to the risk of version mismatch.Affected workflows
.github/workflows/test.yml(2 jobs).github/workflows/verify-hooks.yml.github/workflows/release.yml.github/workflows/rust-cli-release.yml.github/workflows/website.yml.github/workflows/typesense-index.yml🤖 Generated with Claude Code