Skip to content

Fix Dialyzer CI for ExUnit test support files - #409

Merged
ddon merged 1 commit into
BeamLabEU:devfrom
timujinne:dev
Mar 14, 2026
Merged

Fix Dialyzer CI for ExUnit test support files#409
ddon merged 1 commit into
BeamLabEU:devfrom
timujinne:dev

Conversation

@timujinne

Copy link
Copy Markdown
Contributor

Summary

  • Add Dialyzer ignore entries for test/support/conn_case.ex and test/support/data_case.ex
  • These files produce false positive :unknown_function warnings in CI (MIX_ENV=test, OTP 27.1) because ExUnit internal macros (__merge__/4, __noop__/0, __proxy__/2) are not resolvable by Dialyzer

Changes

  • .dialyzer_ignore.exs: Added 2 file-level ignore entries for :unknown_function in test support files

Test Plan

  • MIX_ENV=test mix dialyzer passes with 0 unnecessary skips
  • mix format clean
  • mix credo --strict clean
  • Pre-commit hooks passed

Add ignore entries for test/support/conn_case.ex and data_case.ex
which produce false positive :unknown_function warnings when compiled
in MIX_ENV=test (CI environment). ExUnit internal macros (__merge__,
__noop__, __proxy__) are not resolvable by Dialyzer.
@ddon
ddon merged commit d29856b into BeamLabEU:dev Mar 14, 2026
6 checks passed
ddon added a commit that referenced this pull request Mar 16, 2026
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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