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

grpc / grpc-java / #20432
89%

Build:
DEFAULT BRANCH: master
Ran 01 Sep 2026 02:14PM UTC
Jobs 1
Files 687
Run time 2min
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

01 Sep 2026 01:58PM UTC coverage: 89.218% (+0.008%) from 89.21%
#20432

push

github

web-flow
fix(pick_first): ignore state updates from shut down or replaced subchannels (#12968)

In legacy PickFirstLoadBalancer, when handleNameResolutionError() or
shutdown() is called, subchannel.shutdown() is invoked. Because
ManagedChannelImpl delays subchannel shutdown by 5 seconds
(SUBCHANNEL_SHUTDOWN_DELAY_SECONDS), the old subchannel may complete a
connection attempt during this window and fire READY state updates.
Without a check verifying if the calling subchannel is still the current
active subchannel, PickFirstLoadBalancer publishes a READY picker for
the obsolete subchannel right before its 5-second delayed shutdown task
fires and kills the transport. This leaves the channel permanently stuck
in READY with a dead subchannel picker.

Partially addresses #12958

38642 of 43312 relevant lines covered (89.22%)

0.89 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
74.14
-2.59% ../servlet/src/main/java/io/grpc/servlet/ServletServerStream.java
1
98.82
0.04% ../core/src/main/java/io/grpc/internal/PickFirstLoadBalancer.java
1
87.88
-3.03% ../netty/src/main/java/io/grpc/netty/ClientTransportLifecycleManager.java
1
84.36
-0.41% ../netty/src/main/java/io/grpc/netty/Utils.java
Jobs
ID Job ID Ran Files Coverage
1 #20432.1 01 Sep 2026 02:14PM UTC 687
89.22
Source Files on build #20432
  • Tree
  • List 687
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20432
  • fb298a0e on github
  • Prev Build on master
  • Next Build on master
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc