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

grpc / grpc-java / #20393
89%

Build:
DEFAULT BRANCH: master
Ran 05 Aug 2026 10:29AM UTC
Jobs 1
Files 686
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

05 Aug 2026 10:15AM UTC coverage: 89.152% (-0.004%) from 89.156%
#20393

push

github

web-flow
xds: fix race condition in ext_proc client interceptor halfClose (#12948)

Fixes a race condition in
`ExternalProcessorClientInterceptor$DataPlaneClientCall.halfClose()`
that can cause the call to hang when the external processor stream
completes concurrently.

If the external processor stream completes (marking state as COMPLETED
and setting passThroughMode to true) after `halfClose()` has already
checked `passThroughMode` (seeing false), halfClose() would subsequently
see the state as COMPLETED and return early without invoking
`proceedWithHalfClose()`.

This commit fixes the race by re-checking passThroughMode inside the
`isCompleted()` block in `halfClose()`, ensuring we proceed with
half-close if pass-through mode was enabled late.

38323 of 42986 relevant lines covered (89.15%)

0.89 hits per line

Coverage Regressions

Lines Coverage ∆ File
12
96.12
-0.26% ../xds/src/main/java/io/grpc/xds/ExternalProcessorClientInterceptor.java
3
93.22
-1.69% ../core/src/main/java/io/grpc/internal/AbstractClientStream.java
2
88.89
-11.11% ../netty/src/main/java/io/grpc/netty/UdsNameResolver.java
1
87.88
-3.03% ../netty/src/main/java/io/grpc/netty/ClientTransportLifecycleManager.java
1
91.03
-0.19% ../netty/src/main/java/io/grpc/netty/NettyServerHandler.java
1
93.21
-0.14% ../okhttp/src/main/java/io/grpc/okhttp/OkHttpClientTransport.java
1
73.27
-0.99% ../servlet/src/main/java/io/grpc/servlet/AsyncServletOutputStreamWriter.java
Jobs
ID Job ID Ran Files Coverage
1 #20393.1 05 Aug 2026 10:29AM UTC 686
89.15
Source Files on build #20393
  • Tree
  • List 686
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20393
  • adf01bfc on github
  • Prev 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