The GitHub Actions job "Nightly Builds (1.7)" on pekko.git/main has failed. Run started by GitHub user pjfanning (triggered by pjfanning).
Head commit for run: 1fa250d450e18bbebd0374378b6e2a8069473e46 / He-Pin(kerr) <[email protected]> Stop PersistentActor by default on RecoveryCompleted failure (#3359) Motivation: A classic PersistentActor can restart indefinitely under the default supervision strategy when its RecoveryCompleted handler throws. Modification: Wrap exceptions from the RecoveryCompleted handler in ActorInitializationException before passing them to the parent supervisor. Keep recovery permit cleanup in the existing outer catch, add directional tests for the default Stop decision and a custom parent Restart decision, and document the supervision contract. Result: The default strategy stops the actor instead of looping, while a custom parent supervisor can still resume or restart it. The original failure remains available as the exception cause. Tests: - sbt "persistence / Test / testOnly org.apache.pekko.persistence.RecoveryPermitterSpec" (7 passed; restart test failed before the fix) - sbt "persistence / Test / test" (62 passed) - sbt docs/paradox - sbt headerCreateAll - sbt +headerCheckAll - sbt checkCodeStyle - sbt validatePullRequest (24m44s; failed only on unchanged baseline/environment issues: x86 LevelDB JNI on macOS ARM64 and IntegrationDocTest using pekko.dispatch.UnboundedMailbox) - sbt sortImports (not completed: repository Scalafix rule failed with scala.meta NoSuchMethodError) - scalafmt --list --mode diff-ref=origin/main - git diff --check - Qoder stdout review: No must-fix findings References: Fixes #3234, Fixes #3249 Report URL: https://github.com/apache/pekko/actions/runs/29623787699 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
