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

grpc / grpc-java
89%

Build:
DEFAULT BRANCH: master
Repo Added 08 Aug 2015 12:58AM UTC
Files 653
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

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • LoadStatsData
  • android
  • creamsoup-patch-1
  • creamsoup-patch-2
  • dapengzhang0-patch-1
  • dapengzhang0-patch-2
  • dependabot/maven/examples/example-gauth/junit-junit-4.13.1
  • dependabot/maven/examples/example-hostname/junit-junit-4.13.1
  • dependabot/maven/examples/example-jwt-auth/junit-junit-4.13.1
  • expose-census-interceptors
  • fault-inject-interop-test
  • fix-server-builder-javadoc
  • java_qps_take_two
  • jcenter-shutdown
  • jtattermusch-patch-1
  • kannanjgithub-patch-1
  • prevents-exception-allocation-on-channel-shutdown
  • ran-su-patch-1
  • releasing-internal-steps
  • remove-netty-min-buffer-size
  • revert-12063-server_feature_resource_timer
  • revert-12099-backport-1.71-xds_http_connect
  • revert-4813-mvn-google-mirror
  • revert-6233-v1.24.x
  • revert-7720-delayed-stream
  • revert-7799-interop-test
  • tweaking_java_qpsworker
  • typo
  • updates-retry-behavior-for-redefinition-in-A6
  • v0.12.x
  • v0.13.0
  • v0.13.1
  • v0.13.2
  • v0.13.x
  • v0.14.0
  • v0.14.1
  • v0.14.x
  • v0.15.0
  • v0.15.x
  • v0.8.x
  • v0.9.x
  • v1.0.0
  • v1.0.0-pre1
  • v1.0.0-pre2
  • v1.0.2
  • v1.0.3
  • v1.0.x
  • v1.1.0
  • v1.1.1
  • v1.1.2
  • v1.1.x
  • v1.10.0
  • v1.10.1
  • v1.10.x
  • v1.11.0
  • v1.11.x
  • v1.15.0
  • v1.15.1
  • v1.15.x
  • v1.16.0
  • v1.16.1
  • v1.16.x
  • v1.17.0
  • v1.17.1
  • v1.17.2
  • v1.17.x
  • v1.18.0
  • v1.18.x
  • v1.19.0
  • v1.19.x
  • v1.2.0
  • v1.2.x
  • v1.20.0
  • v1.20.x
  • v1.21.0
  • v1.21.x
  • v1.22.0
  • v1.22.1
  • v1.22.3
  • v1.22.x
  • v1.23.1
  • v1.23.x
  • v1.24.0
  • v1.24.1
  • v1.24.2
  • v1.24.x
  • v1.25.0
  • v1.25.x
  • v1.26.0
  • v1.26.1
  • v1.26.x
  • v1.27.0
  • v1.27.1
  • v1.27.2
  • v1.27.x
  • v1.28.0
  • v1.28.1
  • v1.28.x
  • v1.29.0
  • v1.29.x
  • v1.3.x
  • v1.30.0
  • v1.30.1
  • v1.30.2
  • v1.30.x
  • v1.31.0
  • v1.31.1
  • v1.31.2
  • v1.31.x
  • v1.32.0
  • v1.32.1
  • v1.32.2
  • v1.32.3
  • v1.32.x
  • v1.33.0
  • v1.33.1
  • v1.33.x
  • v1.34.0
  • v1.34.1
  • v1.34.x
  • v1.35.0
  • v1.35.1
  • v1.35.x
  • v1.36.0
  • v1.36.1
  • v1.36.2
  • v1.36.x
  • v1.37.0
  • v1.37.1
  • v1.37.x
  • v1.38.0
  • v1.38.x
  • v1.4.0
  • v1.4.x
  • v1.5.0
  • v1.5.x
  • v1.55.x
  • v1.56.x
  • v1.57.x
  • v1.58.x
  • v1.59.x
  • v1.6.1
  • v1.6.x
  • v1.60.x
  • v1.61.x
  • v1.62.x
  • v1.63.x
  • v1.64.x
  • v1.65.x
  • v1.66.x
  • v1.67.x
  • v1.68.x
  • v1.69.x
  • v1.7.1
  • v1.7.x
  • v1.70.x
  • v1.71.x
  • v1.72.x
  • v1.73.x
  • v1.74.x
  • v1.75.x
  • v1.76.x
  • v1.77.x
  • v1.78.x
  • v1.79.x
  • v1.8.0
  • v1.8.x
  • v1.80.x
  • v1.81.x
  • v1.9.0
  • v1.9.1
  • v1.9.x
  • xds-demo
  • xds-interop-test
  • xds-k8s-cluster-override
  • xds-k8s-public-preview-ready-cluster
  • xds-k8s-switch-cluster
  • xds-k8s-timeout
  • xds-resolver-routing-config
  • xds-server-channelz
  • xds-staging
  • zhangkun83-patch-1
  • zpencer/proxy_auth_rebase

07 May 2026 12:34PM UTC coverage: 88.836% (+0.008%) from 88.828%
#20272

push

github

web-flow
core,opentelemetry: Fix server metric labels on early close (#12774)

This addresses the server-side OpenTelemetry metric labeling bug from
#12117 where a generated method can be recorded as `grpc.method="other"`
if `streamClosed()` happens before `serverCallStarted()`.

### What changed

- add an internal `StatsTraceContext.ServerCallMethodListener` hook so
tracers can consume an already-resolved primary-registry
`MethodDescriptor`
- resolve the immutable internal primary registry on the transport path
and seed method classification before the async `MethodLookup` path runs
- keep fallback registry lookup on the existing async path
- update the OpenTelemetry server tracer to use the early-resolved
method classification for close metrics

### Why this shape

- avoids tracer-side `HandlerRegistry` lookup
- uses only the immutable internal primary registry for early
transport-path lookup
- keeps fallback registry lookup on the existing async path

### Tests

- primary generated method: early close preserves the generated method
name
- primary non-generated method: early close still records `other`
- fallback generated method: fallback lookup remains on the existing
async path and does not introduce early transport-path classification
- tracer-level regression: `serverCallMethodResolved()` +
`streamClosed()` records the generated method name without waiting for
`serverCallStarted()`

### Notes

- `ServerCallMethodListener` is an internal hook that carries the
resolved `MethodDescriptor`; tracers consume the resolved result instead
of performing registry lookup themselves
- `ServerImpl` uses `InternalHandlerRegistry` explicitly for the primary
registry to make it clear that the early transport- path lookup is
limited to the immutable internal primary registry
- this PR intentionally does not widen transport-path lookup to the
fallback registry

Ref #12117

36260 of 40817 relevant lines covered (88.84%)

0.89 hits per line

Relevant lines Covered
Build:
Build:
40817 RELEVANT LINES 36260 COVERED LINES
0.89 HITS PER LINE
Source Files on master
  • Tree
  • List 653
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
#20272 master core,opentelemetry: Fix server metric labels on early close (#12774) This addresses the server-side OpenTelemetry metric labeling bug from #12117 where a generated method can be recorded as `grpc.method="other"` if `streamClosed()` happens before... push 07 May 2026 12:46PM UTC web-flow github
88.84
#20271 master xds: pre-parse custom metric names in WRR load balancer (#12773) Introduce ParsedMetricName in MetricReportUtils to pre-parse configured custom metric names into Enums and key Strings on config initialization in WeightedRoundRobinLoadBalancerConf... push 07 May 2026 09:38AM UTC web-flow github
88.83
#20270 master api: Add a parser/editor for URL encoded query params push 07 May 2026 01:35AM UTC jdcormie github
88.82
#20269 master okhttp: Optimize HPACK to index :path Allow the :path pseudo-header to be added to the HPACK dynamic table in the gRPC-Java OkHttp transport. In gRPC, the :path header typically represents the service and method name (e.g., /package.Service/Meth... push 07 May 2026 01:21AM UTC ejona86 github
88.84
#20268 master compiler: Avoid compile error on weird proto file names This only matters when `@generated=javax` is used, so it shouldn't matter much. It isn't guaranteed that javac will interpret the file as UTF-8, but it is exceedingly common, and it doesn't... push 06 May 2026 09:09PM UTC web-flow github
88.82
#20267 master binder: Remove redundant ServerInbound.serverTransport field (#12734) push 06 May 2026 07:00AM UTC web-flow github
88.84
#20266 master xds: skip DiscoveryRequest for unsubscribed types on stream ready (#12782) ## TL;DR When the bootstrap declares more than one xDS server (e.g. a default server for LDS/CDS plus an authority-specific EDS-only server), grpc-java was sending CDS/LD... push 06 May 2026 05:47AM UTC web-flow github
88.83
#20265 master core: Clarify missing content-type on HTTP error responses (#12720) ## Summary In this case, grpc-java preserves the HTTP status-based context, but may later append `invalid content-type: null`. That seems misleading when the response is missin... push 06 May 2026 03:25AM UTC web-flow github
88.84
#20264 master binder: Give clear error when message is larger than parcel Yes, it is lacking a test, but it seems we don't yet have good testing tools to help for tests like this. b/507253841 push 05 May 2026 10:54PM UTC ejona86 github
88.81
#20263 master core: Make NameResolverFactoryToProviderFacade transparent w.r.t io.grpc.Uri push 05 May 2026 06:34PM UTC jdcormie github
88.82
See All Builds (17291)
  • Repo on GitHub
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