The GitHub Actions job "Scalafmt" on 
pekko.git/feat/receive-timeout-with-duration has failed.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
65d14fe6bd4ee2779ba4703cd03248ae336b6481 / 虎鸣 <[email protected]>
feat: add timeout duration to ReceiveTimeout message

Motivation:
ReceiveTimeout was a case object singleton carrying no information about
the configured timeout duration, making it impossible to log or inspect
the timeout value from the message handler without accessing
context.receiveTimeout separately (#2569).

Modification:
Convert ReceiveTimeout from a case object to a final case class with a
`timeout: FiniteDuration` field. The scheduler now sends
ReceiveTimeout(duration) instead of the singleton. All pattern matches
updated from stable identifier patterns to type patterns. Java API
updated from matchEquals(getInstance()) to match(ReceiveTimeout.class).

Result:
Users can now access the timeout duration directly from the message:
  case timeout: ReceiveTimeout => log.info("timeout: {}", timeout.timeout)

Report URL: https://github.com/apache/pekko/actions/runs/30478260660

With regards,
GitHub Actions via GitBox


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

Reply via email to