• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

grpc / grpc-java / #20162
89%
master: 89%

Build:
Build:
LAST BUILD BRANCH: v1.79.x
DEFAULT BRANCH: master
Ran 30 Jan 2026 03:30PM UTC
Jobs 1
Files 627
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Jan 2026 03:13PM UTC coverage: 88.67% (-0.002%) from 88.672%
#20162

push

github

ejona86
xds: Normalize weights before combining endpoint and locality weights

Previously, the number of endpoints in a locality would skew how much
traffic was sent to that locality. Also, if endpoints in localities had
wildly different weights, that would impact cross-locality weighting.

For example, consider:
  LocalityA weight=1 endpointWeights=[100, 100, 100, 100]
  LocalityB weight=1 endpointWeights=[1]

The endpoint in LocalityB should have an endpoint weight that is half
the total sum of endpoint weights, in order to receive half the traffic.
But the multiple endpoints in LocalityA would cause it to get 4x the
traffic and the endpoint weights in LocalityA causes them to get 100x
the traffic.

See gRFC A113

35381 of 39902 relevant lines covered (88.67%)

0.89 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
47.62
-4.76% ../core/src/main/java/io/grpc/internal/PickSubchannelArgsImpl.java
1
94.12
-1.18% ../netty/src/main/java/io/grpc/netty/WriteBufferingAndExceptionHandler.java
2
87.75
-0.79% ../core/src/main/java/io/grpc/internal/DelayedClientCall.java
4
91.9
-1.9% ../xds/src/main/java/io/grpc/xds/client/ControlPlaneClient.java
5
69.83
-4.31% ../servlet/src/main/java/io/grpc/servlet/ServletServerStream.java
22
92.88
0.52% ../xds/src/main/java/io/grpc/xds/CdsLoadBalancer2.java
Jobs
ID Job ID Ran Files Coverage
1 #20162.1 30 Jan 2026 03:30PM UTC 627
88.67
Source Files on build #20162
  • Tree
  • List 627
  • Changed 12
  • Source Changed 0
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20162
  • f6d140f8 on github
  • Prev Build on master
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc