Skip to content

test: raise meaningful coverage gate to 96% - #1

Merged
jhgaylor merged 1 commit into
mainfrom
codex/pragmatic-coverage
Sep 3, 2026
Merged

test: raise meaningful coverage gate to 96%#1
jhgaylor merged 1 commit into
mainfrom
codex/pragmatic-coverage

Conversation

@jhgaylor

@jhgaylor jhgaylor commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add behavior-focused coverage for trusted inline HTML and image sanitization
  • exercise guardrail failures for missing pages, invalid page responses, and malformed search-index JSON
  • raise the deterministic coverage gate from 90% to 96%
  • bump the package from 0.1.0 to 0.1.1 and document the release

Coverage moved from 94.74% (110 tests) to 96.93% (114 tests). I stopped there: the remaining misses are defensive MDEx/Lumis failure fallbacks and parser states that valid markdown input cannot produce without mocking private dependencies.

Checks

  • 114 tests, 0 failures (mix test --cover)
  • formatting clean
  • compile with warnings as errors clean
  • Credo strict clean
  • unused dependency lock check clean
  • Hex package build clean
  • release guard clean; 0.1.1 is unpublished

Dialyzer is left to CI for the authoritative Linux result because parallel local runs contended while rebuilding Dialyxir's shared cold PLT.

@jhgaylor
jhgaylor merged commit 51b931d into main Sep 3, 2026
2 checks passed
@jhgaylor
jhgaylor deleted the codex/pragmatic-coverage branch September 3, 2026 07:24
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.

1 participant