Skip to content

fix(deps): update .bazeliskrc to Bazel 9.0.1#6151

Merged
longlho merged 3 commits intomainfrom
fix/bazeliskrc-version
Mar 17, 2026
Merged

fix(deps): update .bazeliskrc to Bazel 9.0.1#6151
longlho merged 3 commits intomainfrom
fix/bazeliskrc-version

Conversation

@longlho
Copy link
Member

@longlho longlho commented Mar 17, 2026

Problem

.bazeliskrc has USE_BAZEL_VERSION=8.1.0 which overrides .bazelversion (priority: .bazeliskrc > .bazelversion). This means all CI and local builds have been running Bazel 8.1.0 despite .bazelversion being bumped to 9.0.1 in #6077.

This is the root cause of #6135 failing — aspect_rules_js@3.0.3 uses repo_name = None which requires Bazel >=7.6 but works differently on 8.x vs 9.x.

Fix

Update USE_BAZEL_VERSION in .bazeliskrc to 9.0.1 to match .bazelversion.

🤖 Generated with Claude Code

.bazeliskrc had USE_BAZEL_VERSION=8.1.0 which overrides .bazelversion
(9.0.1), causing all CI and local builds to use Bazel 8.1.0.

Remove .bazeliskrc entirely — .bazelversion is the standard single
source of truth for the Bazel version.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@longlho longlho force-pushed the fix/bazeliskrc-version branch from d149ca8 to 55192b5 Compare March 17, 2026 18:46
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>
@longlho longlho enabled auto-merge (squash) March 17, 2026 18:48
Bazel 9 changed canonical repo name format:
- http_archive repos: +_repo_rules+ → +http_archive+
- http_file repos: +_repo_rules2+ → +http_file+

Update hardcoded paths in test262 BUILD args and intl-segmenter
runfiles resolution.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@longlho longlho merged commit 92f9803 into main Mar 17, 2026
6 checks passed
@longlho longlho deleted the fix/bazeliskrc-version branch March 17, 2026 19:24
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