macOS
brew install bazel-difflocal Homebrew formula metadata
brew
Performs Bazel Target Diffing between two revisions in Git. Version 31.3.2 via Homebrew; verified 2026-07-08.
install
brew install bazel-difflocal Homebrew formula metadata
overview
Performs Bazel Target Diffing between two revisions in Git
history
bazel-diff is Tinder's command-line utility for computing the Bazel targets affected between two Git revisions, letting CI systems build or test the precise changed target set instead of rerunning an entire monorepo.
The upstream repository begins in September 2020 with a v1.0-era implementation of Bazel target diffing. Its README frames the project as an answer to a gap in Bazel itself, pointing to the long-running Bazel feature request for native target diffing and to a BazelCon talk as design inspiration.
The tool's implementation history is tied to very large Bazel graphs: the README calls out streamed protobuf query output, avoidance of long command-line query lists, support for renamed/deleted/modified files, and testing against projects with tens of thousands of targets.
Adoption is strongest among Bazel monorepo users who need deterministic affected-target selection for pull-request CI. The Homebrew formula packages it as a standalone CLI, making it accessible outside the original Tinder repository.
Later README additions describe an experimental HTTP query service and cached hash generation, showing a shift from one-shot local comparison toward always-on CI infrastructure for large repositories.
A typical workflow checks out a base revision, generates Bazel graph hashes, checks out a final revision, generates hashes again, and runs get-impacted-targets to emit the changed target labels as JSON.
The tool is used when correctness matters more than approximate file globs: its docs explicitly warn that incorrect affected-test selection erodes trust in green-to-red CI transitions.
For package-history nerds, bazel-diff is a good example of the post-Bazel ecosystem filling operational gaps around monorepo CI rather than replacing Bazel itself.
It also illustrates why Bazel-adjacent packages often matter more as automation primitives than as developer-facing build tools: the interesting artifact is the affected-target JSON consumed by CI.
security posture
No matching local secret-handling manifest was found for bazel-diff. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
bazel-diff | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/Tinder/bazel-diff
install metadata
| Package key | brew:bazel-diff |
|---|---|
| Version | 31.3.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/bazel-diff |
| Homepage | https://github.com/Tinder/bazel-diff/ |
| Repository | https://github.com/Tinder/bazel-diff |
| Upstream docs | https://github.com/Tinder/bazel-diff#readme |
| License | BSD-3-Clause |
| Source archive | https://github.com/Tinder/bazel-diff/archive/refs/tags/v31.3.2.tar.gz |
| Last updated | 2026-07-08T03:19:16Z |
| Pulse | updated |
| Dependencies | openjdk |
| Build dependencies | bazel |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | bazel-diff |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.