open-legal-products makes the frontend test gate more useful

Mike is keeping its quality bar high while removing pressure to test every unlikely path for its own sake.

infrastructureworkflow

The maintainers have lowered the frontend library's branch-coverage floor from 96% to 80%, while leaving statement, function and line coverage requirements intact.

That is a measured change, not a retreat from testing. Branch coverage tracks whether different decision paths have been exercised, but defensive and endpoint-specific paths can make a near-perfect target costly to maintain. The team says the old threshold encouraged artificial tests or reactive rule changes for otherwise small updates. Its current suite still exceeds the former bar, reporting 96.08% branch coverage across 158 passing tests.

So what Legal teams and product buyers should care because this keeps Mike's release safeguards focused on meaningful regressions rather than test-suite theatre.

View this fork on GitHub →

Spotted something wrong? Or know the PR text has fresher detail than the writeup above?

Commits in this thread

3 commits from open-legal-products/mike, oldest first. Source extracted verbatim from the harvested git log.

SHA Subject Author Date
2266446b Merge pull request #255 from amal66/olp-pr/frontend-coverage Will Chen 2026-08-03 ↗ GitHub
[Testing 18] test(frontend): API-client/SSE tests + coverage ratchet
0f05b3f7 test(frontend): lower branch coverage floor to 80 percent willchen96 2026-08-04 ↗ GitHub
33073c43 Merge pull request #284 from Open-Legal-Products/codex/reduce-frontend-branch-coverage Will Chen 2026-08-04 ↗ GitHub
test(frontend): lower branch coverage floor to 80%

Capture this thread into my fork

Download a single Markdown prompt that tells Claude how to port every commit above into your working tree — adapting paths and structure to match your repo. Run it via claude -p < capture-thread-1313.md from inside the repo you want the changes in.

⬇ Download capture-thread-1313.md