The GitHub Actions job "Scalafmt" on pekko.git/backport/retry-attempts-docs-3266-to-1.7 has succeeded. Run started by GitHub user He-Pin (triggered by He-Pin).
Head commit for run: 0983ff3beae305dcfc65b91347c0549759ec9183 / He-Pin(kerr) <[email protected]> docs: Clarify retry attempts parameter (#3266) Motivation: The retry API documentation described attempts as the maximum number of attempts, while the established behavior treats attempts as the maximum number of retries after the first attempt. Reviewer feedback further noted that the result-future wording should describe it as the result of the last invoke attempt. Modification: Clarify the Scala and Java retry documentation and futures guide to describe attempts as retries after the initial attempt, and describe the result future as the result of the last invoke attempt. Add focused Scala and Java assertions that lock the existing retry count semantics, including attempts = 0. Result: The documented contract now matches the existing retry behavior without changing runtime logic. Tests: - scalafmt --mode diff-ref=origin/main / passed - scalafmt --list --mode diff-ref=origin/main / passed - git diff --check / passed - sbt actor-tests/Test/testOnly org.apache.pekko.pattern.RetrySpec / passed (prior round) - sbt actor-tests/Test/testOnly org.apache.pekko.pattern.PatternsTest / Not run - no runtime change References: Refs #3233 Report URL: https://github.com/apache/pekko/actions/runs/28334326895 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
