The GitHub Actions job "Pull Requests" on 
pekko.git/backport/retry-attempts-docs-3266-to-1.7 has failed.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
b6198defd239b69282434d0a181287141e92a2da / 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/28333779529

With regards,
GitHub Actions via GitBox


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

Reply via email to