ci: bump OTP 28.0 -> 28.5.0.2 to unblock Hex 2.5.0#205
Merged
Conversation
Hex 2.5.0 (shipped 2026-06-29) calls :re.import/2, which only exists on
Erlang/OTP >= 28.1. CI pinned OTP 28.0, so the moment Hex 2.5.0 became the
latest, every job crashed at 'mix deps.get' with:
(MatchError) ... {:undef, [{:re, :import, ...}]}
This took master's own scheduled run red (06-29) while 06-27/06-28 were green
-- a pure toolchain regression, no code change involved. Elixir 1.19 also
requires OTP 28.1+, so the 28.0 pin was already below its own floor.
Move OTP forward to 28.5.0.2 (latest 28.x build available for the runner).
Elixir stays at 1.19.5 (current 1.19; satisfies mix.exs ~> 1.18). The env var
flows into every job's setup-beam and into the mix/PLT cache keys, so the bump
also correctly busts the stale OTP-28.0 caches.
mkreyman
added a commit
that referenced
this pull request
Jun 29, 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.
Problem
CI went all-red on every PR (and master's own 06-29 scheduled run) starting 2026-06-29. Root cause is a toolchain regression, not code: Hex 2.5.0 shipped that day and calls
:re.import/2, which only exists on Erlang/OTP >= 28.1. CI pinned OTP 28.0, somix deps.getcrashes immediately:06-27 and 06-28 were green on the same pins — only Hex changed under us. Elixir 1.19 also officially requires OTP 28.1+, so the 28.0 pin was already below its own floor.
Fix
Bump
OTP_VERSION28.0 → 28.5.0.2 (latest 28.x build available for the Ubuntu runner). Elixir stays at 1.19.5 (current 1.19, satisfies mix.exs~> 1.18). The single env var flows into every job'ssetup-beamand the mix/PLT cache keys, so this also busts the stale OTP-28.0 caches.Verification
This PR's own CI run is the verification —
mix deps.getmust now succeed and the full matrix go green. Once merged, PR #204 (KnowledgeLintWorker) rebases on top to clear its (identical, toolchain-induced) red.