pkg.soopen package index

brew / rank 3779

Install bazel-diff with Homebrew

Performs Bazel Target Diffing between two revisions in Git. Version 39.0.0 via Homebrew; verified 2026-08-03.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install bazel-diff

local Homebrew formula metadata

overview

Package summary

Performs Bazel Target Diffing between two revisions in Git

Commands and aliases

  • bazel-diff

history

Project history and usage

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.

Project history

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 history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2020-09: Upstream git history starts with the initial v1.0-era bazel-diff code.
  • 2020s: Homebrew packages bazel-diff as a standalone CLI for macOS and Linux users.
  • 2020s: README-documented features expand to build graph distance metrics and an experimental long-running query service.

Related projects

  • Bazel supplies the query and build graph model that bazel-diff analyzes.
  • Aspect's impacted command is documented by bazel-diff as a Starlark/Aspect CLI way to expose a similar impacted-target workflow.
  • Bazelisk is commonly paired with bazel-diff in CI so the Bazel binary used for graph hashing matches the workspace's pinned version.

security posture

No protected-tool coverage found yet

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.

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
bazel-diffexecutableindexed executableDiscovered from the local executable index.

freshness

Version and 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.

page generated2026-08-03
manager version39.0.0
manager updated2026-08-03
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:bazel-diff
Version39.0.0
Package managerHomebrew
Homepagehttps://github.com/Tinder/bazel-diff/
Repositoryhttps://github.com/Tinder/bazel-diff
Last updated2026-08-03T03:10:13Z
Pulseupdated
Bottlenot recorded
Servicenone declared

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • pkg.so package database
  • pkgdb category and tag curation