ci: key dialyzer cache by erlang/elixir version#1407
Merged
lusergit merged 1 commit intoedgehog-device-manager:mainfrom May 4, 2026
Merged
ci: key dialyzer cache by erlang/elixir version#1407lusergit merged 1 commit intoedgehog-device-manager:mainfrom
lusergit merged 1 commit intoedgehog-device-manager:mainfrom
Conversation
Dialyzer was intermittently failing with `Old PLT file` when the cached PLT was restored after the Erlang/Elixir toolchain changed. Update the backend dialyzer workflow to compute a cache prefix from the erlang and elixir entries in .tool-versions. Forcing a rebuild when the runtime that affects Dialyzer changes. Signed-off-by: Omar <omar.brbutovic@secomind.com>
Dam-99
approved these changes
May 4, 2026
Contributor
Dam-99
left a comment
There was a problem hiding this comment.
i'm sure it was intentional faliures 👀
Collaborator
Author
Poorly worded on my side. The goal is to avoid having to manually clear the cache every time something updates. With Renovate in place, that could happen quite frequently. There are still a few edge cases we should explore, but we’ll expand on those once they come up again. And, of course, naming and commit titles remain the hardest part of development. |
Contributor
|
@OmarBrbutovic don't worry, i was just messing around, i approve of these changes |
lusergit
approved these changes
May 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
Dialyzer was intermittently failing with
Old PLT filewhen the cached PLT was restored after the Erlang/Elixir toolchain changed.Update the backend dialyzer workflow to compute a cache prefix from the erlang and elixir entries in .tool-versions. Forcing a rebuild when the runtime that affects Dialyzer changes.
Additional documentation e.g. usage docs, diagrams, reviewer notes, etc.:
Thanks for sending a pull request! If this is your first time, here are some tips for you:
When fixing existing issues, use github's syntax to link your pull request to it
We also have a syntax to signal dependencies to other open pull requests
In case of stacked PRs, you may add the PR number in the last commit's title instead: