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

grpc / grpc-java / #20034
89%

Build:
DEFAULT BRANCH: master
Ran 29 Oct 2025 05:16PM UTC
Jobs 1
Files 621
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

29 Oct 2025 05:05PM UTC coverage: 88.514% (-0.02%) from 88.533%
#20034

push

github

ejona86
Include causal status details in higher-level statuses

When an operation fails and we want to produce a new status at a higher
level, we commonly are turning the first status into an exception to
attach to the new exception. We should instead prefer to keep as much
information in the status description itself, as cause is not as
reliable to be logged/propagated.

I do expect long-term we'll want to expose an API in grpc-api for this,
but for the moment let's keep it internal. In particular, we'd have to
figure out its name. I could also believe we might want different
formatting, which becomes a clearer discussion when we can see the
usages.

I'm pretty certain there are some other places that could benefit from
this utility, as I remember really wishing I had these functions a month
or two ago. But these are the places I could immediately find.

OutlierDetectionLoadBalancerConfig had its status code changed from
INTERNAL to UNAVAILABLE because the value comes externally, and so isn't
a gRPC bug or such. I didn't change the xds policies in the same way
because it's murkier as the configuration for those is largely generated
within xds itself.

34957 of 39493 relevant lines covered (88.51%)

0.89 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
90.32
1.43% ../util/src/main/java/io/grpc/util/OutlierDetectionLoadBalancerProvider.java
3
93.22
-1.69% ../core/src/main/java/io/grpc/internal/AbstractClientStream.java
3
64.29
4.29% ../xds/src/main/java/io/grpc/xds/WrrLocalityLoadBalancerProvider.java
5
83.02
-9.43% ../core/src/main/java/io/grpc/internal/Http2Ping.java
7
93.07
0.14% ../core/src/main/java/io/grpc/internal/GrpcUtil.java
7
93.18
-0.11% ../opentelemetry/src/main/java/io/grpc/opentelemetry/OpenTelemetryTracingModule.java
15
95.05
-0.45% ../core/src/main/java/io/grpc/internal/RetriableStream.java
16
65.0
1.07% ../xds/src/main/java/io/grpc/xds/WeightedTargetLoadBalancerProvider.java
Jobs
ID Job ID Ran Files Coverage
1 #20034.1 29 Oct 2025 05:16PM UTC 621
88.51
Source Files on build #20034
  • Tree
  • List 621
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20034
  • 86e8b561 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