chore: update deps + nix env to latest, target Elixir 1.20#4
Merged
Conversation
- flake: bump both nixpkgs inputs to latest; use beamMinimal28Packages.elixir_1_20 (Elixir 1.20.1 / OTP 28.5.0.2) - mix.exs: require Elixir ~> 1.18; bump telemetry, opentelemetry*, jason, req_llm, jido, ex_doc, dialyxir, credo constraints to latest minor lines - fix Elixir 1.20 type warnings: - reorder normalize_model_string/1 clauses (provider+model clause was unreachable) - replace always-false handler_id comparison in multi_backend_test with per-tag asserts Verified: mix compile --warnings-as-errors, mix test (230 pass / 8 excluded), mix format --check-formatted, mix credo --strict, mix dialyzer all green.
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.
Refreshes the dev environment and all dependencies to the latest, moving the toolchain to Elixir 1.20.
Toolchain
flake.nix:unstable.beamMinimal28Packages.elixir_1_19→elixir_1_20; both nixpkgs inputs bumped to latest (nixos-25.11→ 2026-06-15,nixpkgs-unstable→ 2026-06-16).elixir-lsandlivebookstill build against the new pin.Dependencies
~> 1.0~> 1.4(1.4.2)~> 1.2~> 1.5(1.5.0)~> 1.3~> 1.7(1.7.0)~> 1.6~> 1.10(1.10.0)~> 1.2~> 1.4(1.4.5)~> 1.0~> 1.16(1.16.0)~> 2.0~> 2.3(2.3.2)~> 0.28~> 0.40(0.40.3)~> 1.0~> 1.4(1.4.7)~> 1.6~> 1.7(1.7.19)mix.exsElixir requirement:~> 1.14→~> 1.18(dev env is 1.20; floor kept wide enough to stay installable on 1.18/1.19 for a published library).Code (fixes for new Elixir 1.20 type warnings)
lib/agent_obs/req_llm.ex: reordernormalize_model_string/1clauses — the%{provider:, model:}clause was placed after the broader%{model:}clause and was therefore unreachable, so provider-tagged maps never got the"provider:model"formatting. 1.20's type checker surfaced this latent bug; specific clause now comes first.test/agent_obs/multi_backend_test.exs: replace an always-falserefute ... ==comparison of disjoint tuple types with explicit per-tag asserts (:agent_obs_phoenix/:agent_obs_generic).Verification (all green on Elixir 1.20.1 / OTP 28)
mix compile --warnings-as-errors,mix test(230 passed / 8 excluded),mix format --check-formatted,mix credo --strict,mix dialyzer— all pass.CI
.github/workflows/ci.ymlruns everything throughnix develop, so it inherits the toolchain from the flake — no workflow edit needed.