Broom adds Bazel artifact cleaning, requiring a workspace marker before deleting output directories

A pull request to Kolgrim33's broom, a Rust CLI for sweeping stale build artifacts, adds Bazel support and was merged on 24 November 2026. The change addresses a risk where a cleaner matching directory names alone could delete a user's own folder named bazel-bin or bazel-out. The new rules only match when the parent directory contains WORKSPACE, WORKSPACE.bazel, or MODULE.bazel, covering both legacy and Bzlmod layouts. The implementation adds no dependencies and is verified by a test confirming marked outputs are detected while unmarked folders are skipped. The change is described as one slice of an issue that remains open, and macOS and Windows CI results were not run locally.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in