-
Notifications
You must be signed in to change notification settings - Fork 52
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
Dialyzer is not being installed intermittently #227
Comments
Is it possible you're sharing caches (in which e.g. you have and don't have This doesn't seem action-related, though, as we just download pre-packaged Elixir and serve it. Tagging @ericmj, in any case, since he might have other thoughts on this. If you could share more details (e.g. your |
Great question! I am not sure if it's a caching thing but maybe it is!? For a little more context I bumped to elixir 1.15.4 on a personal project and have began to see the same failures in my GitHub Actions. In the following Action I have seen the Which seems odd because the job passes on the first run and then fails on the second run. I'm honestly a little stumped! Here's my
|
|
Hmm, interesting. The other workflow that has been running for a while without these issues is somewhat similar. It's only been since updating to 1.15.4 that we've begun to see these failures.
I think I'm stumbling over why this has begun happening with the bump to 1.15.4 when we haven't seen these failures for the last while. I'll take a look at adjusting the keys so they do not overlap and see if that resolves things |
Remove the overlap in the ci/cd cache keys to (hopefully) prevent issues with dialyzer not being installed on subsequent runs. [See this issue](erlef/setup-beam#227) for some more details.
In any case, it doesn't seem action-specific: we only install the base system Erlang/OTP + Elixir, and in this case it seems your issue relates to Also this is what caught my attention previously
In the case of Erlang/OTP + |
Yeah, 100%. It's thrown me off a little bit as well... I may move this to the Elixir forums and see if anyone is seeing anything similar or has some other insights! |
Remove the overlap in the ci/cd cache keys to (hopefully) prevent issues with dialyzer not being installed on subsequent runs. [See this issue](erlef/setup-beam#227) for some more details.
👍 feel free to return here for more, or close if you feel there's no more you want to explore. |
To follow up this appears to be an issue with dialyxir for Elixir. There's a PR open to resolve it. Thanks for the suggestions here! I appreciate it. |
Remove the overlap in the ci/cd cache keys to (hopefully) prevent issues with dialyzer not being installed on subsequent runs. [See this issue](erlef/setup-beam#227) for some more details.
The bug
Our GitHub Actions intermittently failing due to dialyzer not being installed. This has started after we updated our Elixir version to
1.15.4
and OTP version to26.0.2
.Running
mix dialyzer --plt
results in the following error:Software versions
How to replicate
I haven't been able to reliably replicate as the bug is intermittent but it often seems to happen if two Actions run close together.
I've been trying to keep an eye on conditions that cause it to fail but no luck so far.
Expected behaviour
Dialyzer is installed when elixir & erlang is installed.
Additional context
If I delete all of the Action caches the Actions begin to work again for a while.
The text was updated successfully, but these errors were encountered: