The GitHub Actions job "Scalafmt" on pekko.git/feat/receive-timeout-with-duration has succeeded. Run started by GitHub user He-Pin (triggered by He-Pin).
Head commit for run: 48489e6a567ae2bdce239e90c34b96149e85dc31 / 虎鸣 <[email protected]> fix: use scala.jdk.DurationConverters in ReceiveTimeout.getTimeout Motivation: Address review feedback on #3399 to use the standard Scala/Java duration conversion, and document the ReceiveTimeout breaking change for 2.x users. Modification: - Replace java.time.Duration.ofNanos(timeout.toNanos) with timeout.toJava via scala.jdk.DurationConverters in Actor.scala - Add a ReceiveTimeout entry to migration-guide-1.x-2.x.md Result: The Java API conversion follows the established codebase convention and the 2.x migration guide documents the pattern matching and getInstance breaking changes. Tests: - sbt "actor-tests / Test / testOnly org.apache.pekko.actor.ReceiveTimeoutSpec" - 15 tests passed - sbt "actor-typed-tests / Test / testOnly org.apache.pekko.actor.typed.CancelReceiveTimeoutSpec" - passed - sbt actor/mimaReportBinaryIssues - no issues - scalafmt --mode diff-ref=origin/main - no extra changes - git diff --check - clean References: Refs #3399 Report URL: https://github.com/apache/pekko/actions/runs/30931937013 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
