)]}'
{
  "commit": "077536e5ab44449edc400a22516543a14c783b2b",
  "tree": "abf3b6e7fda79ceefd1268cf941c94ec386cb169",
  "parents": [
    "d8aea8e0a308b86374e2a559f30e822ced0be091"
  ],
  "author": {
    "name": "Googler",
    "email": "noreply@google.com",
    "time": "Mon Nov 23 15:04:25 2026 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Mon Nov 23 15:08:06 2026 -0800"
  },
  "message": "Deduplicate --override_platform_cpu_name in CoreOptions.\n\n`CoreOptions.getNormalized()` previously omitted `overridePlatformCpuName` (`--override_platform_cpu_name`), unlike `ParsedFlagsValue.updateOptionValue()` which deduplicates `override_platform_cpu_name` entries by platform `Label` using a `LinkedHashMap` (preserving first-seen key order and keeping the last value per key).\n\nWhen multiple rc files or flags specify duplicate `--override_platform_cpu_name` mappings for the same platform, the top-level `CoreOptions` retained duplicate entries while platform-mapped transitions deduplicated them via `ParsedFlagsValue.updateOptionValue()`. When a Starlark transition transitioned back to the baseline platform, the resulting `CoreOptions` had 1 entry vs. 2 in the baseline configuration, causing an `-ST-` hash suffix to be appended to output paths.\n\nGeneralize `FragmentOptions.normalizeEntries()` to `\u003cK, V\u003e` and call `normalizeEntries(getOverridePlatformCpuName())` in `CoreOptions.getNormalized()`.\n\nPiperOrigin-RevId: 1028495725\nChange-Id: I3f452ee350bdd01bb6f99b7b20c6e3d8df723583\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d39c5f950f8bc7e0160ac24540afbe7faa7d63fa",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/analysis/config/CoreOptions.java",
      "new_id": "3e5aec51010667ed002b6e961249b36014aaf555",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/analysis/config/CoreOptions.java"
    },
    {
      "type": "modify",
      "old_id": "91ad33f17abf239f841c4941d8c8286184e5621c",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/analysis/config/FragmentOptions.java",
      "new_id": "e78fe1a68c862d879e75c8d091b07dedb0d1c44e",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/analysis/config/FragmentOptions.java"
    },
    {
      "type": "modify",
      "old_id": "70d57e38c69ce3af61651ed4d14da17d45d5076a",
      "old_mode": 33188,
      "old_path": "src/test/java/com/google/devtools/build/lib/analysis/config/CoreOptionsTest.java",
      "new_id": "e5c3d5d2e190d92f03c1fa264bf27a389b4382a3",
      "new_mode": 33188,
      "new_path": "src/test/java/com/google/devtools/build/lib/analysis/config/CoreOptionsTest.java"
    }
  ]
}
