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

RFE: report warning when there is actor producing message that cannot be consumed #448

Open
pirat89 opened this issue Feb 20, 2019 · 0 comments

Comments

@pirat89
Copy link
Member

pirat89 commented Feb 20, 2019

I hit that already several times in different situations but I think this is good think that would be implemented. E.g. for CI or just for developers. Problem is that when actor is created, that produces or consumes some message, there can be situation that someone put the actor into a wrong phase so it would happen, that actor (A) consuming message (M1) is processed in phase before actor (B) producing message (M1). So the message is never consumed and sometimes it's not clear what is the problem - especially for people not so familiar with all actors.

Not sure whether the warning message should be printed by the framework itself or just by snactor (or completely separate script e.g.). What about to have something like:

 $ snactor repo check

I know this is not something that will save world, but something like that would help to do at least fast overview over the repository and it would show some obvious problems sometimes. Maybe we should think about more stuff we can do here. But basically, what do you thing about that? Anyway, it's just nice to have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant