)]}'
{
  "commit": "288b00458bfd2e388079fc8a015a70f1194c4442",
  "tree": "67209f68a30f9555ac5a84848ff6ae85b8c8c668",
  "parents": [
    "a7417603af935bced60a8d35926db081de80e49f"
  ],
  "author": {
    "name": "Chris McDonald",
    "email": "chris.mcdonald@doordash.com",
    "time": "Thu Nov 12 23:08:32 2026 +0000"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Nov 12 23:08:32 2026 +0000"
  },
  "message": "fix: transition --stamp only for the build data dependency (#4484)\n\nThe `stamp` attribute of `py_binary` and `py_test` transitions the\n`--stamp` flag for the whole target. `py_test` defaults to `stamp \u003d 0`,\nso under `--stamp` every test builds its entire dependency tree in a\nsecond configuration, apart from the binaries that share those\ndependencies.\n\nThe transition exists so that the `_uncachable_version_file` dependency\nis conditional on stamping. Move it onto that attribute edge. The edge\nsets `--stamp` only for `stamp \u003d 1`. With `stamp \u003d 0` the file is never\nread, and `stamp \u003d -1` follows the flag, so neither changes the\nconfiguration. `is_stamping_enabled()` already reads the attribute\ndirectly, so the build data contents are unchanged.\n\nCo-authored-by: Claude \u003cnoreply@anthropic.com\u003e",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "fd4a0638e46fc223360f994fe4fe642de787cc2d",
      "new_mode": 33188,
      "new_path": "news/stamp-transition-build-data.fixed.md"
    },
    {
      "type": "modify",
      "old_id": "7fc87ed81eed7c2481e0e77d8044590b09ea4094",
      "old_mode": 33188,
      "old_path": "python/private/attributes.bzl",
      "new_id": "0fd627f0dedc3f9dcfd0d2ffaf8f0b48a6de4dce",
      "new_mode": 33188,
      "new_path": "python/private/attributes.bzl"
    },
    {
      "type": "modify",
      "old_id": "e57562b43b0a6fd05ef81c934f15a3f8c2daae64",
      "old_mode": 33188,
      "old_path": "python/private/py_executable.bzl",
      "new_id": "c1fb7588f82058f33d024240bf6326b23431a3c1",
      "new_mode": 33188,
      "new_path": "python/private/py_executable.bzl"
    },
    {
      "type": "modify",
      "old_id": "0caa7ff1125482022537cb886fd2af0de36e7959",
      "old_mode": 33188,
      "old_path": "tests/base_rules/py_executable_base_tests.bzl",
      "new_id": "d1be72deb11dc06eaca07d979ac932755e050945",
      "new_mode": 33188,
      "new_path": "tests/base_rules/py_executable_base_tests.bzl"
    }
  ]
}
