`No files found` (OTP 26? MacOS?)
Precheck
- For bugs, please do a quick search and make sure the bug has not yet been reported here - Nothing found!
Environment
- Credo version (
mix credo -v): 1.7.0 - Erlang/Elixir version (
elixir -v): 1.14.5 - OTP 26 - Operating system: OSX Sonoma
What were you trying to do?
Basically, just run mix credo or mix credo diff master locally.
Expected outcome
Normal credo run with the warnings, alerts, etc.
Actual outcome
When we run it locally, we always get info: Some source files were not parsed in the time allotted:
Then it lists all files and messages: No files found!
The weird part is that it runs flawlessly in the CI pipeline (GH action using Ubuntu 20.04 and the same Elixir/OTP), which points to be related to either multi-core system or OSX itself, alongside OTP 26. It only started after we updated to OTP 26.
We tried to remove some checks and increase the timeout with no success.
Please let me know if I'm missing any details.
I observed the same behaviour with Elixir 1.14.4 and OTP 25 . The parse_timeout was slightly increased before to 10_000. echo $? reports 0 as a status code in that case.
This seems weird, and while this might very well have to do with OTP 26, I can not reproduce it on my machine.
Let's gather more data about how many people have this problem.
Checking in: Is this still a problem with newer versions of Erlang/Elixir/Credo?
Yes, still same issue
I'm also experiencing this issue with Mac OS Sonoma and OTP 26. But I'm not able to reproduce it consistently, it only happens sometimes.
I'm also experiencing this weird behavior when compiling anything with elixir + erlang OTP26, I keep getting these pop-up windows from the OS with a message that looks like: Verifying shm-id.XXXXX.... They appear and disappear almost instantly and are quite frequent anytime erlang is compiling something.
It seems that credo fails with the "Some source files were not parsed" error when I get these pop-ups.