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

No files found (OTP 26? MacOS?) #1080

Open
luiz-firework opened this issue Oct 16, 2023 · 5 comments
Open

No files found (OTP 26? MacOS?) #1080

luiz-firework opened this issue Oct 16, 2023 · 5 comments

Comments

@luiz-firework
Copy link

luiz-firework commented Oct 16, 2023

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:
Screenshot 2023-10-16 at 9 51 58 AM

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.

@up2jj
Copy link

up2jj commented Oct 17, 2023

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.

@rrrene
Copy link
Owner

rrrene commented Oct 27, 2023

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.

@rrrene
Copy link
Owner

rrrene commented Dec 17, 2023

Checking in: Is this still a problem with newer versions of Erlang/Elixir/Credo?

@luiz-firework
Copy link
Author

Yes, still same issue

@fabivs
Copy link

fabivs commented Jan 18, 2024

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.

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

No branches or pull requests

4 participants