You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by GitBox <gi...@apache.org> on 2026/06/23 17:02:35 UTC
[GH] (pekko-grpc/optimize/fast-negotiation-uri-match): Workflow run "Scalafmt" is working again!
The GitHub Actions job "Scalafmt" on pekko-grpc.git/optimize/fast-negotiation-uri-match has succeeded.
Run started by GitHub user He-Pin (triggered by He-Pin).
Head commit for run:
75444a2c326ab1b84b44c498a1897908970ae3c8 / 虎鸣 <he...@alibaba-inc.com>
fix: use value equality for gRPC content-type string comparison
Motivation:
`eq` is reference equality in Scala — it only returns true when both
operands are the exact same object. `mediaType.subType` is not
guaranteed to return interned strings, so `eq` can silently return
false for semantically equal values like "grpc+proto".
Modification:
Replace `eq` with `==` (value equality) in the `negotiate` fast path.
Result:
Content-type negotiation works correctly regardless of string interning.
Report URL: https://github.com/apache/pekko-grpc/actions/runs/28042847410
With regards,
GitHub Actions via GitBox
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org