Skip to content

v0.1.0 — Per-crate binary size attribution on every PR

Latest

Choose a tag to compare

@github-actions github-actions released this 18 Aug 15:16
· 2 commits to main since this release

First release of BloatBot 🎉

BloatBot tells you why your Rust binary changed size on a pull request —
attributing the byte delta to specific crates and to your own code — not just that it changed.

What it does

  • Builds base and head refs and diffs the binary per crate, ranked by impact.
  • Flags newly pulled-in dependencies and explains how they got dragged in
    (myapp → config-loader → serde_json) via a Cargo.lock diff + cargo tree --invert.
  • Splits "your code" from third-party dependencies.
  • Posts one sticky PR comment, updated in place on every push.
  • Optional threshold-percent gate fails the check if the binary grows too much.

Usage

- uses: actions/checkout@v4
  with:
    fetch-depth: 0
- uses: Asuddle/BloatBot@v1
  with:
    bin: myapp