Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Akka.Actor: raise error if someone tries to handle ISystemMessage inside TellInternal #116

Open
Aaronontheweb opened this issue Feb 18, 2025 · 0 comments
Labels
AK2000 API usage rules

Comments

@Aaronontheweb
Copy link
Member

Is your feature request related to a problem? Please describe.

This is more of an issue for internal Akka.NET implementation use, but if someone defines a custom IActorRef implementation this would be an issue for them too.

See https://youtu.be/uI4SVsgLoAY?si=uQDUdKyE0ySKiV1C&t=839 for an example of where this caused a bug inside our Ask<T> implementation for years

Describe the solution you'd like

Need to flag that TellInternal is the wrong part of the IActorRef to handle ISystemMessage - that needs to go inside of SendSystemMessage instead.

Describe alternatives you've considered

Making a separate internal analyzer package for Akka.NET maintainers for enforcing internal standards with the framework itself.

@Aaronontheweb Aaronontheweb added the AK2000 API usage rules label Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AK2000 API usage rules
Projects
None yet
Development

No branches or pull requests

1 participant