Skip to content

Conversation

@Aaronontheweb
Copy link
Member

@Aaronontheweb Aaronontheweb commented Oct 25, 2025

Changes

API addition that is needed to properly support #678

Checklist

For significant changes, please ensure that the following have been completed (delete if not relevant):

@Aaronontheweb Aaronontheweb added akka-persistence dx Developer Experience / usability issues. labels Oct 25, 2025
Copy link
Member Author

@Aaronontheweb Aaronontheweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Detailed my changes

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New methods - they don't do anything all that functionally different than the main health check registration methods on the AkkaConfigurationBuilder. This is a pure DX choice to support Akka.Persistence plugin authors.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved the builders to their own files because I was tired of having to go looking for them

{
internal readonly string SnapshotStoreId;
internal readonly AkkaConfigurationBuilder Builder;
internal readonly HashSet<AkkaHealthCheckRegistration> HealthCheckRegistrations = [];
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now we take a hashset of health check registrations, rather than a singular registration.

@Aaronontheweb Aaronontheweb merged commit 0b1453f into akkadotnet:dev Oct 26, 2025
2 checks passed
@Aaronontheweb Aaronontheweb deleted the custom-persistence-healthchecks branch October 26, 2025 14:12
This was referenced Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

akka-persistence dx Developer Experience / usability issues.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant