Skip to content

fix: pin Bazel 8.4.0 to unblock CI for all dependabot PRs#82

Merged
avrabe merged 2 commits intomainfrom
fix/bazel-version-pin
Mar 1, 2026
Merged

fix: pin Bazel 8.4.0 to unblock CI for all dependabot PRs#82
avrabe merged 2 commits intomainfrom
fix/bazel-version-pin

Conversation

@avrabe
Copy link
Copy Markdown
Contributor

@avrabe avrabe commented Mar 1, 2026

Summary

  • Root cause: Bazelisk reads USE_BAZEL_VERSION, not BAZEL_VERSION. Without a .bazelversion file and with the wrong env var, Bazelisk downloaded Bazel 9.0.0 — which is incompatible with rules_go@0.57.0 and aspect_bazel_lib
  • Creates .bazelversion with 8.4.0 as the primary version pin
  • Renames BAZEL_VERSIONUSE_BAZEL_VERSION in ci.yml and performance.yml
  • Updates stale version pins: rules_cc 0.2.4→0.2.14, bazel_skylib 1.8.1→1.8.2

Test plan

  • All 5 previously-failing CI jobs pass (TinyGo Build, Performance Benchmark, Quality Gate, Resource Profiling, Regression Detection)
  • After merge, @dependabot rebase the 7 blocked PRs to retrigger CI

🤖 Generated with Claude Code

avrabe and others added 2 commits March 1, 2026 20:07
Bazelisk reads USE_BAZEL_VERSION, not BAZEL_VERSION. Without a
.bazelversion file and with the wrong env var name, Bazelisk was
downloading Bazel 9.0.0, which is incompatible with rules_go@0.57.0
(Facts.clear() not supported) and aspect_bazel_lib (@local_config_platform
resolution failure). This caused 5 CI jobs to fail on every PR.

- Create .bazelversion file with 8.4.0 (primary fix)
- Rename BAZEL_VERSION to USE_BAZEL_VERSION in ci.yml and performance.yml
- Update stale version pins: rules_cc 0.2.4→0.2.14, bazel_skylib 1.8.1→1.8.2

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The performance-benchmark and regression-detection jobs use
github-script to post comments on PRs, which requires
pull-requests: write permission. Without it, the step fails
with 403 "Resource not accessible by integration".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 1, 2026

🚀 Performance Benchmark Results

TinyGo Performance Benchmarks

Operation Time (ms) Memory (MB) Notes
✅ TinyGo component benchmarks completed

TinyGo AOT Performance Benchmarks

Operation Time (ms) Memory (MB) Notes

AOT vs Regular Comparison

  • Regular WASM: 0.02080155261851853s
  • AOT WASM: 0.007469291691771115s
  • Speedup: 2.78x faster with AOT

✅ TinyGo AOT component benchmarks completed

📊 Performance Comparison (ubuntu-latest)

Results from ubuntu-latest

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 1, 2026

📈 Performance Regression Analysis

Metric Baseline PR Change
Execution Time 0.019104274850188677s 0.01929700828025316s 1.00%

No Significant Change: Performance within acceptable range

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 1, 2026

🚀 Performance Benchmark Results

TinyGo Performance Benchmarks

Operation Time (ms) Memory (MB) Notes
✅ TinyGo component benchmarks completed

TinyGo AOT Performance Benchmarks

Operation Time (ms) Memory (MB) Notes

AOT vs Regular Comparison

  • Regular WASM: 0.019074299826478874s
  • AOT WASM: 0.002160189458108108s
  • Speedup: 8.82x faster with AOT

✅ TinyGo AOT component benchmarks completed

📊 Performance Comparison (macos-latest)

Results from macos-latest

Copy link
Copy Markdown

@temper-pulseengine temper-pulseengine Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI Code Review for PR #82

This Bazel build file defines a module named bazel-file-ops-component that provides a set of universal file operations for Bazel build systems using WebAssembly components. The module includes dependencies on various Bazel rules and toolchains, including:

  1. Platform Support: Ensures compatibility across different platforms.
  2. C++ Toolchain Auto-Configuration: Automatically configures the C++ toolchain for cross-platform support.
  3. WebAssembly and Component Support: Provides tools for building WebAssembly components using TinyGo and Rust.
  4. Development Dependencies: Includes buildifier for linting and other development utilities.
  5. Documentation Site Dependencies: Simplifies setting up a documentation site with Node.js.

The module also includes Git repository overrides to use specific versions of the rules_wasm_component and rules_rust modules, ensuring compatibility and security. Additionally, it registers toolchains for C++, WASI SDK, Wasmtime runtime, and Rust toolchains to facilitate building and testing WebAssembly components.

This setup is designed to be flexible and reusable across different Bazel rule sets while maintaining security through WebAssembly sandboxing.


Reviewed by qwen2.5-coder:3b (local Ollama). Advisory only — may miss issues or report false positives.

Commands
Command Description
/ask <question> Discuss this review — ask questions or disagree with findings
/review-pr Re-run the review from scratch
/review-pr <focus> Re-run with specific instructions (e.g. /review-pr focus on error handling)

@avrabe avrabe merged commit 0ec6620 into main Mar 1, 2026
17 checks passed
@avrabe avrabe deleted the fix/bazel-version-pin branch March 1, 2026 19:25
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