The GitHub Actions job "Scalafmt" on pekko-grpc.git/optimize/adaptive-compression has failed. Run started by GitHub user He-Pin (triggered by He-Pin).
Head commit for run: 652784146b98d45fc18ef4376af4b7939f2c082e / 虎鸣 <[email protected]> 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/28042629112 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
