The GitHub Actions job "Validate and test" on 
pekko-grpc.git/feat/service-info-in-status-exception has failed.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
32ef6af25c6ec12475499efd8b81559ee288a04c / 虎鸣 <[email protected]>
feat: include called service URI in StatusRuntimeException descriptions

Motivation:
When a gRPC call fails, the StatusRuntimeException description does not
indicate which service/method was being called, making debugging harder
in environments with multiple services.

Modification:
Add requestUri parameter to responseToSource, parseResponseStatus, and
mapToStatusException. Use augmentDescription to append the request URI
to all error descriptions. Update existing tests and add a dedicated
test for URI inclusion.

Result:
StatusRuntimeException messages now include the full request URI
(e.g. "When calling rpc service: https://host/Service/Method";),
improving debuggability of gRPC failures.

Tests:
sbt "runtime / Test / testOnly 
org.apache.pekko.grpc.internal.PekkoHttpClientUtilsSpec" — 4/4 passed

References:
Refs akka/akka-grpc#1748

Report URL: https://github.com/apache/pekko-grpc/actions/runs/28618199091

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to