Old PLT file?

278 views
Skip to first unread message

Michael L Martin

unread,
Mar 29, 2022, 4:20:19 PM3/29/22
to erlang-q...@erlang.org
Hi everyone,

We are doing our CI on github. We cache the PLT so that we don't have to
rebuild it every time, and this mostly works fine, but occasionally
dialyzer (or, rather, "mix dialyzer", as this is an Elixir/Phoenix
application) determines that the PLT is old and the workflow is aborted.

My question is, what makes a PLT file "old"? We very seldom change
versions of OTP or Elixir, nor do our dependency versions change very
often, yet we get into this situation a lot more often than I believe we
should. If I could understand a little better about what makes a PLT
old, perhaps I could solve this issue.

Thanks,

Michael Martin

Yao Bao

unread,
Mar 29, 2022, 9:16:11 PM3/29/22
to Michael L Martin, erlang-q...@erlang.org
Hello,

More detailed information/logging message might be helpful to determine this.

Since PLT comes from Erlang, and you are using Elixir, you should check who is complaining “old”.

And since this involves CI within GitHub, you might check how you “cache” the PLT file as well.

I have no documentation at hand, might it be documented somewhere?
(dialyzer related I guess)

Yao

> 在 2022年3月30日,04:20,Michael L Martin <mmart...@gmail.com> 写道:
>
> Hi everyone,

Michael L Martin

unread,
Mar 30, 2022, 10:00:20 AM3/30/22
to Yao Bao, erlang-q...@erlang.org
Thanks for the input. The problem turned out to be a subtle bug in my CI
script. Probably a cut-n-paste thing. All is now well.

Frank Muller

unread,
Mar 30, 2022, 11:12:43 AM3/30/22
to Michael L Martin, erlang-q...@erlang.org
Glad you find a solution. Would be great if you can share the config mistake here so others could avoid it. 
Reply all
Reply to author
Forward
0 new messages