Skip to content

[elixir] chore: Add dialyzer and tighten Fluss.Config setter guards#582

Merged
fresh-borzoni merged 1 commit into
apache:mainfrom
nicolazar:feat/elixir-dialyzer
May 31, 2026
Merged

[elixir] chore: Add dialyzer and tighten Fluss.Config setter guards#582
fresh-borzoni merged 1 commit into
apache:mainfrom
nicolazar:feat/elixir-dialyzer

Conversation

@nicolazar
Copy link
Copy Markdown
Contributor

@nicolazar nicolazar commented May 30, 2026

Purpose

Linked issue: close #575

Brief change log

This PR adds dialyzer and enforces it to pass in CI. :dialyxir is added as a dev/test dep with PLT pinned to priv/plts/dialyzer.plt (so the CI cache key is predictable).

We also add a new mix check alias to encapsulate all static checks in a single command for local verification.

Finally, we tighten Fluss.Config numeric setter guards: they declared non_neg_integer() typespecs, but guarded with is_integer/1 — accepting negative values at runtime despite the spec.

Copy link
Copy Markdown
Member

@fresh-borzoni fresh-borzoni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nicolazar Ty for the PR, LGTM 👍

@fresh-borzoni fresh-borzoni merged commit 7848aaa into apache:main May 31, 2026
10 checks passed
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.

[elixir] Add dialyzer and enforce no warnings during CI

2 participants