)]}'
{
  "commit": "12cf8fe3068269dc3aa9671b3b390257fda6e4b9",
  "tree": "eaa43d887e0915240da15177b1455097f0fc3100",
  "parents": [
    "34999531d8a7c7249331600252f1f9291114e665"
  ],
  "author": {
    "name": "hvd",
    "email": "hvd@google.com",
    "time": "Thu Oct 15 03:21:56 2026 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Thu Oct 15 03:23:36 2026 -0700"
  },
  "message": "Allowlist subrule usage in Starlark aspects.\n\nPreviously, Starlark rules could use subrules when `--experimental_rule_extension_api` was disabled if their defining `.bzl` file was included in `//tools/allowlists/subrules_allowlist`, whereas Starlark aspects still enforced the hardcoded load-time `BuiltinRestriction` allowlist.\n\nReplace the load-time `BuiltinRestriction` check in `StarlarkRuleClassFunctions.aspect()` with an implicit `$allowlist_subrules` attribute when `--experimental_rule_extension_api` is disabled and the defining `.bzl` file is outside `@_builtins`. Validate the aspect\u0027s defining `.bzl` label against the `subrules` allowlist during aspect analysis in `StarlarkAspectFactory`, and remove the now-unused `ALLOWLIST_RULE_EXTENSION_API` allowlist.\n\nPiperOrigin-RevId: 1000014706\nChange-Id: I3d33b6f08a2b83f9f96931a3145ea423f2c687d8\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "822ccbbd1d9b90ff0436f0eb6dd1c490728f5d20",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/analysis/starlark/StarlarkRuleClassFunctions.java",
      "new_id": "46590e5aeb65da3abbb8f044469197f2e8971987",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/analysis/starlark/StarlarkRuleClassFunctions.java"
    },
    {
      "type": "modify",
      "old_id": "851694afec608e74ed652371d2c96d169b82c3fe",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/skyframe/StarlarkAspectFactory.java",
      "new_id": "288152f20a9d3186587cb38396a60fe1457241ee",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/skyframe/StarlarkAspectFactory.java"
    },
    {
      "type": "modify",
      "old_id": "fbaec1199f114d926909f29eac7906d471fad483",
      "old_mode": 33188,
      "old_path": "src/test/java/com/google/devtools/build/lib/analysis/starlark/StarlarkSubruleTest.java",
      "new_id": "c74bac523aac73c13c2347f8feb3d8a83ac0ef98",
      "new_mode": 33188,
      "new_path": "src/test/java/com/google/devtools/build/lib/analysis/starlark/StarlarkSubruleTest.java"
    }
  ]
}
