Skip to content

Correct editor diagnostics and enforce type checks - #100

Merged
willibrandon merged 2 commits into
mainfrom
fix/editor-diagnostics
Nov 3, 2026
Merged

willibrandon merged 2 commits into
mainfrom
fix/editor-diagnostics

Conversation

@willibrandon

@willibrandon willibrandon commented Nov 3, 2026 •

Copy link
Copy Markdown
Owner

ElixirLS and strict Pylance reported errors across valid server paths and the stdio smoke test. Correct open-map types, non-returning function specs, and impossible branches; make Burrito's types available in development; and add precise Python annotations and stream checks. Add Dialyzer and strict Pyright to CI so these diagnostics cannot silently return.

Pin Postgrex to official commit 87afeb9d5e9089527a728f8403dcbaf0fe0f8f31, which includes the unreleased text-query typespec correction in elixir-ecto/postgrex#784 and the security fixes in 0.22.4. Document returning to Hex when that correction ships. Treat generated mix.lock as plain text in VS Code and document the separate ElixirLS 0.31.1 GenLSP collision and the remaining limitation in upstream elixir-lsp/elixir-ls#1287. A local ElixirLS build that namespaces its protocol modules resolves the editor crash without changing Postern’s GenLSP dependency.

Validation: 492 tests passed (8 live tests excluded locally); Dialyzer and strict Pyright report zero errors or warnings; compile with warnings as errors, strict Credo, formatting, docs with warnings as errors, Hex audit, and workflow lint pass. CI exercises PostgreSQL 13–18 and the editor/platform matrix.

@willibrandon willibrandon added bug Something isn't working ci The workflows and what the suite compares against labels Nov 3, 2026
@willibrandon willibrandon self-assigned this Nov 3, 2026
@willibrandon
willibrandon merged commit a12e396 into main Nov 3, 2026
20 checks passed
@willibrandon
willibrandon deleted the fix/editor-diagnostics branch November 3, 2026 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ci The workflows and what the suite compares against

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant