-
Notifications
You must be signed in to change notification settings - Fork 1
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
ArgumentError in Sibyl.Handlers.attach_all_events/2
in docker
#30
Comments
Beautiful, thanks for the reproduction steps. Will take a look and get back to you soon 🤞 |
I might be able to fix it today or narrow the problem at least |
Using In my fork I've updated to Elixir 1.15.0 (tho I'm not sure yet that it didn't caused any problems), and renamed guards and predicates to match elixir conventions ( If you would like I can include those changes in PR. PS |
@florius0 that sounds awesome! Looking forward to seeing a PR 🙌 Thank you! And yes, running CI against a matrix of supported versions (defining what those are explicitly) will be great too, thank you for the suggestion! |
Tried it on |
I can confirm issue #30 also occurs when running an application with |
I guess it is related to new stripping of unused functions by elixir compiler maybe... |
@florius0 after investigating, I think we should just skip all Erlang modules when doing reflection, as reflection will only discover events defined by I think this is probably a better fix than relying on Have the tentative fix in #34, will just need to do some regression testing but I believe this fixes the problem! Apologies for the delay! |
I don't think that restricting Erlang compatibility is a good option especially when there is no cost of keeping it. If my memory serves me, As for delay, do not worry, we use my fork for the time being. |
Ah I wasn't aware of that. Will revisit my change, thanks ❤️ |
Resolved in #34 |
I was evaluating Sybil and came across this error:
It was not reproduceable on my local elixir, but only in docker.
My repo using which the bug may be reproduced.
From what I'm gathering,
:shell.__info__
results not in exception, but in message sending to:undefied
pid.Versions
Local:
Docker:
bitwalker/alpine-elixir-phoenix:1.15.0
The text was updated successfully, but these errors were encountered: