Tags: Tinder/bazel-diff
Tags
Fix #326: filter //external:* labels from impacted-targets output on … …bzlmod (#334) Synthetic //external:<apparent_name> targets created by `bazel mod show_repo` are needed during generate-hashes (so dep changes are detected) but are not buildable in bzlmod-only mode (Bazel 8.6.0+ with WORKSPACE disabled), causing downstream `bazel build` of the impacted-targets file to fail with "no such package 'external'". Adds --excludeExternalTargets to get-impacted-targets (negatable, auto-defaults to true when bzlmod is detected), filters those labels at the output stage, and adds unit + e2e coverage. Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
Fixes for external repo resolver and sorting in impatcted set These changes make sure we solve for bzlModRelativePath correctly and also improves output of the tool by sorting outputs
PreviousNext