)]}'
{
  "commit": "1a90add1c7cfe5182daf1b89e2297e1dbb59151e",
  "tree": "498a695dfa644b516cb51284e621a8725c53678f",
  "parents": [
    "19553db9b2ffd3f4bbd68696f3615832583eec42"
  ],
  "author": {
    "name": "twerth CA",
    "email": "twerth@google.com",
    "time": "Thu Aug 27 00:05:56 2026 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Thu Aug 27 00:10:02 2026 -0700"
  },
  "message": "Add config() query function support to aquery (resolving #10872)\n\nThis change enables the `config(expr, word)` function in `aquery` by:\n1. Moving `ConfigFunction` from `cquery` package to `query2` package and generalizing its `eval()` method to work with any `PostAnalysisQueryEnvironment`.\n2. Lifting `getConfiguredTargetsForConfigFunction` into `PostAnalysisQueryEnvironment\u003cT\u003e` so that both `cquery` and `aquery` share identical configuration resolution and error reporting.\n3. Implementing `getConfiguredTarget(Label, BuildConfigurationValue)` and `getQueryName()` in both `ActionGraphQueryEnvironment` and `ConfiguredTargetQueryEnvironment`.\n4. Registering `ConfigFunction` in `ActionGraphQueryEnvironment.AQUERY_FUNCTIONS`.\n5. Adding unit tests for `config()` in `ActionGraphQueryTest`.\n6. Adding integration tests for `config()` in `aquery_test.sh`.\n7. Documenting `config()` in `devtools/blaze/docs_src/aquery.html`.\n\nRELNOTES: Aquery now supports the `config(expr, word)` function.\nPiperOrigin-RevId: 971764077\nChange-Id: I7ead2ed2da603a228891493d800d8d12921ff3e0\n",
  "tree_diff": [
    {
      "type": "rename",
      "old_id": "a31868af7a2d4020ce287993d646030f67227b35",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/query2/cquery/ConfigFunction.java",
      "new_id": "2ef4b36c56301cd60931915647249148c7dcc7ac",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/query2/ConfigFunction.java",
      "score": 84
    },
    {
      "type": "modify",
      "old_id": "f363d96eab98523f4a8f68206725e877a1d4f383",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/query2/PostAnalysisQueryEnvironment.java",
      "new_id": "419759ae6ddc67d13d0b05d363b77929b0140f39",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/query2/PostAnalysisQueryEnvironment.java"
    },
    {
      "type": "modify",
      "old_id": "b63ec944a426ba796af452d73c9f8f3a8747ba15",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/query2/aquery/ActionGraphQueryEnvironment.java",
      "new_id": "32aca878ff0c86cf3320e270d72b364576b0cf8b",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/query2/aquery/ActionGraphQueryEnvironment.java"
    },
    {
      "type": "modify",
      "old_id": "df01e24a926566df5c3fc9d625bb98f0423fd5fd",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/query2/cquery/ConfiguredTargetQueryEnvironment.java",
      "new_id": "67660bd40bab1b0904248097ef761affb51d8417",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/query2/cquery/ConfiguredTargetQueryEnvironment.java"
    },
    {
      "type": "modify",
      "old_id": "cbcbf58d10c0f8033eb91d6e3a80ffbfbd16a5e2",
      "old_mode": 33188,
      "old_path": "src/test/java/com/google/devtools/build/lib/query2/aquery/ActionGraphQueryTest.java",
      "new_id": "a45230dff3191df90f9390dcb83dcdfba87f6447",
      "new_mode": 33188,
      "new_path": "src/test/java/com/google/devtools/build/lib/query2/aquery/ActionGraphQueryTest.java"
    },
    {
      "type": "modify",
      "old_id": "d77213830b895d4d47774f9fe45cbeb0e6dbda64",
      "old_mode": 33261,
      "old_path": "src/test/shell/integration/aquery_test.sh",
      "new_id": "cc447226ccbd155517c5737804788f4bb1dba6b9",
      "new_mode": 33261,
      "new_path": "src/test/shell/integration/aquery_test.sh"
    }
  ]
}
