-
Notifications
You must be signed in to change notification settings - Fork 81
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
Add elixir 1.15 to CI #851
Conversation
✔️ All good! |
fd90167
to
3bdaf25
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You probably need to rebase to remove some duplicate commits that are already merged on main.
bb30aa2
to
ef0f631
Compare
The ssl_verify_fun library doesn't depend on ssl, which is required since Elixir 1.15. A patch[1] has been merged, but it hasn't been released yet. Until a new version of ssl_verify_fun is released, use rebar as the dependenvy manager for ssl_verify_fun. [1]: deadtrickster/ssl_verify_fun.erl#27
Add 1.15.0 to .semaphore/versions.rb
4a9f9b5
to
1eeda8e
Compare
To resolve the compilation error in file test/mix/tasks/appsignal_diagnose_test.exs on Elixir 1.15, explicitly require Appsignal.Agent before referring to it.
Updating to Elixir 1.15 produces the following errors when running dialyzer: Error loading decimal, dependency list may be incomplete. {~c"no such file or directory", ~c"decimal.app"} Error loading decimal, dependency list may be incomplete. {~c"no such file or directory", ~c"decimal.app"}
Logger.warn/1 is deprecated in favor of Logger.warning/1. This patch replaces all occurrences of the former with the latter.
Since Logger.warn is now deprecated, add logging functions to AppSignal.Utils that call Logger.warn on Elixir versions before 1.11, and Logger.warning for newer versions. This patch can be removed when dropping support for Elixir 1.10.
9727d5d
to
5686702
Compare
The new dialyzer warnings show an issue in the return types of the Nif's diagnose function that can never be reached. Ignore these errors for now in order to fix the build and ship the changes needed to run CI on Elixir 1.15.
This should be good to go, with some more changes and some ignored dialyzer warnings. I've opened #853 to make sure we get to those later. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thinking about moving the methods that are delegated to Logger
to something like Appsignal.Utils.Logger
, just because Appsignal.Utils is a bit of a potpourri. But it's not important.
This is a message from the daily scheduled checks. |
Add Elixir 1.15.0-rc.1 to CI, and fix a compilation issue introduced in Elixir 1.15 by using rebar instead of mix to install the ssl_verify_fun dependency for now.
[skip changeset]