The GitHub Actions job "Unit Tests" on pekko-projection.git/port-akka-980-grpc-reconnect-noise has failed. Run started by GitHub user pjfanning (triggered by pjfanning).
Head commit for run: 36d58e278d398ad7326d159d1984b6eaba92ae48 / PJ Fanning <[email protected]> grpc: less log noise on GrpcReadJournal connection failure Motivation: When the gRPC producer is unreachable, the GrpcReadJournal eventsBySlices stream fails with a RuntimeException wrapping the gRPC UNAVAILABLE error, including a full stack trace. The projection restarts and retries, so this common situation produces a lot of log noise. Modification: Port akka/akka-projection#980: add internal ConnectionException (with NoStackTrace) and map GrpcServiceException with status UNAVAILABLE to it in the eventsBySlices recover. Other failures are still wrapped in the existing RuntimeException. Result: A failed or lost connection surfaces as a short "Connection to host:port for stream id ... failed or lost" error without a stack trace. Failure and retry semantics are unchanged. Tests: - sbt "grpc-test/Test/testOnly org.apache.pekko.projection.grpc.consumer.scaladsl.GrpcReadJournalConnectionSpec": passes; fails without the GrpcReadJournal change (RuntimeException "Failure to consume gRPC event stream ..." is not a ConnectionException) - scalafmt on changed files, sbt headerCreateAll/headerCheckAll for grpc and grpc-test, git diff --check - MiMa not run: MimaPlugin is disabled for the grpc module (new in 2.0.0) References: Refs akka/akka-projection#980 (https://github.com/akka/akka-projection/pull/980) - source of the ported code Report URL: https://github.com/apache/pekko-projection/actions/runs/40145367420 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
