)]}'
{
  "commit": "1bb47327a04a684c4845db6d5e613386d351f6f4",
  "tree": "8b8cd5739f73be215f9dc6b4d7930c736e520968",
  "parents": [
    "d2beeeaa497c3e105cea3010a5d5d171dd625e74"
  ],
  "author": {
    "name": "MV Shiva",
    "email": "speakupshiva@gmail.com",
    "time": "Fri Nov 06 23:59:07 2026 +0530"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri Nov 06 23:59:07 2026 +0530"
  },
  "message": "xds: Fix build break between LEDS and EDS duplicate address check (#13174)\n\n#13127 added a check in `XdsEndpointResource` that rejects a\n`ClusterLoadAssignment` with duplicate endpoint addresses. It iterates\n`LocalityLbEndpoints.endpoints()`, which #13055 (gRFC A95) replaced with\na nullable `endpointCollection()`, because localities that use LEDS have\nno inlined endpoints.\n\n#13055 was open for about a month with passing CI, and #13127 and #13142\nwere opened and merged in the meantime. #13055 got no new commits after\nthat, so its old CI run still counted when it was approved and merged.\nIt was never tested on top of #13127 and #13142, and master is now\nbroken.\n\n**Fix**\nRun the duplicate address check only for localities with inlined\nendpoints. Endpoints of LEDS-backed localities arrive later in separate\n`LbEndpointCollection` resources and are not visible while parsing EDS.\nBehavior is unchanged when A95 support is disabled, since every locality\nthen has inlined endpoints. Duplicate detection for endpoints delivered\nvia LEDS is not addressed here.\n\nAlso fix a `CdsLoadBalancer2Test` case added in #13055,\n`edsCluster_ledsCollectionAbsentFromConfig_localityUnreachable`. #13142\nchanged `CdsLoadBalancer2` to report \"No usable endpoint\" through\n`fail()`, which installs a `TRANSIENT_FAILURE` picker and returns `OK`,\nbut the test\nstill expected `acceptResolvedAddresses()` to return `UNAVAILABLE`. It\nnow checks the `TRANSIENT_FAILURE` picker, as the neighboring\n`edsCluster_ledsCollectionNotFound_localityUnreachable` test does.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f5afd2c73f0e2a5e10ee76e69d4a6ef6fd784fd6",
      "old_mode": 33188,
      "old_path": "xds/src/main/java/io/grpc/xds/XdsEndpointResource.java",
      "new_id": "fca20f5947135aa5d66b10490ae569ae84ed9292",
      "new_mode": 33188,
      "new_path": "xds/src/main/java/io/grpc/xds/XdsEndpointResource.java"
    },
    {
      "type": "modify",
      "old_id": "4ca96ff5e077acec196e97410d098450c8cad59b",
      "old_mode": 33188,
      "old_path": "xds/src/test/java/io/grpc/xds/CdsLoadBalancer2Test.java",
      "new_id": "1bdb8097d5586b4412aba87b2f33143089ef0fbb",
      "new_mode": 33188,
      "new_path": "xds/src/test/java/io/grpc/xds/CdsLoadBalancer2Test.java"
    }
  ]
}
