Skip to content

ci: run tests on OTP 27 so hackney compiles - #26

Merged
dominicletz merged 1 commit into
mainfrom
cursor/fix-macos-ci-otp-0d86
Nov 1, 2026
Merged

dominicletz merged 1 commit into
mainfrom
cursor/fix-macos-ci-otp-0d86

Conversation

@dominicletz

@dominicletz dominicletz commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

The macOS workflow on main fails in mix deps.get while compiling :quic:

===> OTP release 26 or later is required. Version in use: 24.3.4.15
** (Mix) Could not compile dependency :quic

httpoison ~> 3.0 (the Hackney CVE bump) resolves to hackney 4.9.1, which depends on quic. That package will not build on the workflow's OTP 24.3.4.15. The same failure has been on main since the Hackney bump.

This moves the workflow to OTP 27.3.4.19 and Elixir 1.18.6 (-otp-27), which is what current hackney documents and what compiles quic here. windows_file_version/1 is rewritten as a case so mix credo does not fail on the single-clause with.

Verified locally on OTP 27 / Elixir 1.18.6: mix format --check-formatted, mix credo, and mix test --exclude macos (6 tests, 0 failures). The macOS keychain tests still need the GitHub runner.

Open in Web Open in Cursor 

Note

Low Risk
CI toolchain bump plus a behavior-preserving style refactor in Windows packaging metadata; no auth or runtime logic changes.

Reviewed by Cursor Bugbot for commit eeaf3a7. Configure here.

httpoison 3 pulls hackney 4, whose quic dependency refuses OTP 24.
Move the macOS workflow to OTP 27.3.4.19 and Elixir 1.18.6, and
rewrite windows_file_version/1 as a case so mix credo still passes.

Co-authored-by: dominic.letz <dominic.letz@berlin.de>
@dominicletz
dominicletz merged commit f426c85 into main Nov 1, 2026
3 checks passed
@dominicletz
dominicletz deleted the cursor/fix-macos-ci-otp-0d86 branch November 1, 2026 21:47
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

Successfully merging this pull request may close these issues.

2 participants