aprs.me/lib/aprsme_web/plugs
Graham McIntire b8a9b8a465
chore(dialyzer): enable stricter flags and fix 97 resulting findings
Turned on :error_handling, :underspecs, and :unmatched_returns in
mix.exs dialyzer config. The 97 warnings this surfaced were fixed in
place rather than suppressed:

- unmatched_return (79): explicit discard with `_ = ...` for
  fire-and-forget side effects (Process.cancel_timer, :ets.new,
  send/2), and pattern-matched `:ok = ...` for control-plane
  Phoenix.PubSub subscribe/unsubscribe/broadcast calls so a future
  return-shape change fails loud.

- contract_supertype (18): tightened @spec arg and return types on
  data_builder, historical_loader, url_params, packet_utils,
  encoding_utils, aprs_symbol, weather_controller, packet_replay to
  match each function's actual success typing.

No behavioural change. mix compile clean, 1008 tests pass, dialyzer
count is now 0.
2026-04-21 10:07:01 -05:00
..
agent_discovery_links.ex feat: add sitemap.xml, api-catalog, and agent-discovery Link headers 2026-04-17 13:31:21 -05:00
api_csrf.ex fix: close review findings 2026-03-26 12:36:50 -05:00
health_check.ex chore(dialyzer): enable stricter flags and fix 97 resulting findings 2026-04-21 10:07:01 -05:00
ip_geolocation.ex Log Cloudflare geolocation headers on each request 2026-03-22 16:08:52 -05:00
log_filter.ex Add info logging for mobile websocket events and filter healthcheck logs 2025-10-25 17:04:59 -05:00
rate_limiter.ex Remove dead modules, unused deps, and commented-out code 2026-02-20 08:09:22 -06:00
remote_ip.ex Add client IP to request log metadata 2026-02-20 17:48:15 -06:00
set_locale.ex chore(dialyzer): enable stricter flags and fix 97 resulting findings 2026-04-21 10:07:01 -05:00