phoenixframework / phoenix_live_dashboard

Realtime dashboard with metrics, request logging, plus storage, OS and VM insights
MIT License
2.02k stars 184 forks source link

Update deps & fix otp26 tests #425

Closed alexcastano closed 1 year ago

alexcastano commented 1 year ago

I fixed a couple of tests for OTP26. There are more elegant ways, but it works. Finding a process that doesn't change between OTP versions would be better. If you know another process that is not ":user", I can give it a try.

I updated the deps because the phoenix pubsub version was retired, and I had a problem with ecto and OTP26, so I went ahead and I updated all the deps. It seems to work perfectly, but I can undo the changes if you prefer.

alexcastano commented 1 year ago

Is standard_error a process on both versions?

I think so, it is the :user process.

In OTP 26, it seems there is more than one "user" process, so the search found more than 1 result. The other test failed because the initial function seems to be changed in this new version too.