)]}'
{
  "commit": "7dd77976f9ca7968f2c6289b6b715b0a4078d6bc",
  "tree": "50fbfa4a30110c26e86aef4238eb59fa05995fd7",
  "parents": [
    "e421e42bf0c56e3d69222c202bdafea70b64c981"
  ],
  "author": {
    "name": "Richard Levasseur",
    "email": "richardlev@gmail.com",
    "time": "Sun Nov 15 04:59:28 2026 +0000"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Sun Nov 15 04:59:28 2026 +0000"
  },
  "message": "refactor(wheel): port wheelmaker to Rust and add it to shrubbery (#4504)\n\nPort `wheelmaker` to Rust under `shrubbery` so `py_wheel` builds avoid\nspawning a Python interpreter when `shrubbery` is enabled.\n\nThe Rust `wheelmaker` subcommand supports the `tools/wheelmaker.py`\nflags used by `py_wheel`, `@flagfile` parsing, PEP 427/440\nnormalization, workspace status stamping, and deterministic zip and\n`RECORD` generation. `py_wheel` selects it through `get_shrubbery_tool`\nand falls back to `tools/wheelmaker.py` when `shrubbery` is disabled or\nunavailable.\n\nIn `-c opt` benchmarks against `tools/wheelmaker.py`:\n- Small wheels: 37x-43x faster (~4.4-5.7 ms vs ~167-203 ms), ~4x lower\n  peak RSS (~5.2 MiB vs ~21-24 MiB)\n- Many files (1,000-10,000): 1.6x-3.8x faster\n- Uncompressed (`--no_compress`): 1.3x-43.2x faster up to 256 MiB\n- Compressed (DEFLATE via `zlib-rs`): 1.6x-36.9x faster up to 256 MiB\n  at default level 6 (1.71 s vs 2.79 s at 256 MiB), and faster across\n  all levels 0-9\n\nWork towards #4250",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b7301c7291e9bc41ddab58f4199741d71ff81915",
      "old_mode": 33188,
      "old_path": "MODULE.bazel",
      "new_id": "b30a9f5a4fd1e860d2fc076269348a51b84e53f8",
      "new_mode": 33188,
      "new_path": "MODULE.bazel"
    },
    {
      "type": "modify",
      "old_id": "4a1b392b40ad18fff6900718710e84c51984233f",
      "old_mode": 33188,
      "old_path": "crates/Cargo.Bazel.lock",
      "new_id": "f713074acc9f5d44baa77a517ae06df4d1b9d6b1",
      "new_mode": 33188,
      "new_path": "crates/Cargo.Bazel.lock"
    },
    {
      "type": "modify",
      "old_id": "22e69799b16a10de055b53f99c06469eb1a199a9",
      "old_mode": 33188,
      "old_path": "crates/Cargo.lock",
      "new_id": "1b43554c29d1b360ae7a5f82ea1a890d0dde6020",
      "new_mode": 33188,
      "new_path": "crates/Cargo.lock"
    },
    {
      "type": "modify",
      "old_id": "b7390645125a22725e4e7a2a6f6aecdbf694e536",
      "old_mode": 33188,
      "old_path": "crates/Cargo.toml",
      "new_id": "d11365a4916df9f1e79ca6a656698b3e86ff2d19",
      "new_mode": 33188,
      "new_path": "crates/Cargo.toml"
    },
    {
      "type": "modify",
      "old_id": "4c7930f16f2c3aead60ee2406e9764e0e1cc08cf",
      "old_mode": 33188,
      "old_path": "crates/shrubbery/BUILD.bazel",
      "new_id": "314c595d86ef5efb159f870f9cdd1bb7ca576c1f",
      "new_mode": 33188,
      "new_path": "crates/shrubbery/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "b8ef34a96c236a857801e36ad28338bcfbc44ae7",
      "old_mode": 33188,
      "old_path": "crates/shrubbery/src/lib.rs",
      "new_id": "cd17e358eec7a4d327388e5eda321203edeb5769",
      "new_mode": 33188,
      "new_path": "crates/shrubbery/src/lib.rs"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "f918a1af3d3a5edd09d88aafbb8c65c987820100",
      "new_mode": 33188,
      "new_path": "crates/wheelmaker/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "a3a397c3c1ba1f0625dbb300adb664c98d348617",
      "new_mode": 33188,
      "new_path": "crates/wheelmaker/src/lib.rs"
    },
    {
      "type": "modify",
      "old_id": "94ad86f885803b1f11b01d7e185d5d7628cfe01e",
      "old_mode": 33188,
      "old_path": "examples/wheel/BUILD.bazel",
      "new_id": "c28b61a6bea99e7cd47eb8cd0eec9c5478f72b82",
      "new_mode": 33188,
      "new_path": "examples/wheel/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "4bc657c52eb80216c12f6cca316701e2699d8d7a",
      "old_mode": 33188,
      "old_path": "examples/wheel/test_publish.py",
      "new_id": "43f368eb83937d77a116237c74fd5538efd9c114",
      "new_mode": 33188,
      "new_path": "examples/wheel/test_publish.py"
    },
    {
      "type": "modify",
      "old_id": "8bfd87c01e4417ec8da3e55c66647093a2782525",
      "old_mode": 33188,
      "old_path": "examples/wheel/wheel_test.py",
      "new_id": "76917319dee3145fd4e861499257336bda31cdd7",
      "new_mode": 33188,
      "new_path": "examples/wheel/wheel_test.py"
    },
    {
      "type": "modify",
      "old_id": "f3ebdfb8a5df66204ed4e9944e3605fbfcc357ba",
      "old_mode": 33188,
      "old_path": "python/private/BUILD.bazel",
      "new_id": "45ae9831eb3c406e1a8ca3a2b5338b806a70194c",
      "new_mode": 33188,
      "new_path": "python/private/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "cfbbd597cbf2c019dafb185d97da24e55455ad7b",
      "old_mode": 33188,
      "old_path": "python/private/py_wheel.bzl",
      "new_id": "3a6a297ecf94c4cbfaa846658768be13be78fa6f",
      "new_mode": 33188,
      "new_path": "python/private/py_wheel.bzl"
    },
    {
      "type": "modify",
      "old_id": "a6dbabe0d3612cf57cb6308b94674279720cb1e2",
      "old_mode": 33188,
      "old_path": "python/private/toolchains/BUILD.bazel",
      "new_id": "e107026e3e0da8a0cf57d6e11484561e2fe19996",
      "new_mode": 33188,
      "new_path": "python/private/toolchains/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "18c2f0da1a364d661293932160023414eedca13d",
      "old_mode": 33188,
      "old_path": "tests/integration/prebuilt_toolchain/BUILD.bazel",
      "new_id": "9ed14551685783bd5c73afac56814efdd99a615c",
      "new_mode": 33188,
      "new_path": "tests/integration/prebuilt_toolchain/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "b847bdb60228d312c7cf182a6244a6125fbc05e3",
      "old_mode": 33188,
      "old_path": "tests/integration/prebuilt_toolchain_test.py",
      "new_id": "4eea05e40264693ceaecc5a9a1974f4dd0827ed3",
      "new_mode": 33188,
      "new_path": "tests/integration/prebuilt_toolchain_test.py"
    },
    {
      "type": "modify",
      "old_id": "97496e2ac98f4976f6275d919e5553f99a4037ea",
      "old_mode": 33188,
      "old_path": "tests/shrubbery/shrubbery_test.rs",
      "new_id": "372fa3484273345916993b3598e28a23c7855829",
      "new_mode": 33188,
      "new_path": "tests/shrubbery/shrubbery_test.rs"
    },
    {
      "type": "modify",
      "old_id": "da79d2df7aed339db36445e9b6f3432cc5af281e",
      "old_mode": 33188,
      "old_path": "tests/shrubbery_toolchain/shrubbery_toolchain_tests.bzl",
      "new_id": "a97bacf7d61f9157b82c480c60cd10d55cd8578a",
      "new_mode": 33188,
      "new_path": "tests/shrubbery_toolchain/shrubbery_toolchain_tests.bzl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b58b22831a34b41ccf2fdb60b09951ed53b94234",
      "new_mode": 33188,
      "new_path": "tests/wheelmaker/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "218a61bdc492423cdf42f28b18fa1bbbe2937301",
      "new_mode": 33188,
      "new_path": "tests/wheelmaker/wheelmaker_test.rs"
    }
  ]
}
