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

grpc / grpc-java / #20160
89%

Build:
DEFAULT BRANCH: master
Ran 28 Jan 2026 12:38AM UTC
Jobs 1
Files 628
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

28 Jan 2026 12:21AM UTC coverage: 88.71% (+0.04%) from 88.666%
#20160

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

35415 of 39922 relevant lines covered (88.71%)

0.89 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
98.73
-0.02% ../core/src/main/java/io/grpc/internal/PickFirstLoadBalancer.java
2
94.29
0.35% ../api/src/main/java/io/grpc/EquivalentAddressGroup.java
3
92.94
-0.42% ../okhttp/src/main/java/io/grpc/okhttp/OkHttpClientTransport.java
4
80.41
2.06% ../servlet/src/main/java/io/grpc/servlet/AsyncServletOutputStreamWriter.java
8
98.07
0.11% ../core/src/main/java/io/grpc/internal/PickFirstLeafLoadBalancer.java
22
92.88
0.52% ../xds/src/main/java/io/grpc/xds/CdsLoadBalancer2.java
Jobs
ID Job ID Ran Files Coverage
1 #20160.1 28 Jan 2026 12:38AM UTC 628
88.71
Source Files on build #20160
  • Tree
  • List 628
  • Changed 14
  • Source Changed 0
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20160
  • 02cb1deb on github
  • Prev Build on master
  • Next 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