Skip to content

fix: add review tests and fix coverage thresholds#15

Merged
avrabe merged 2 commits intomainfrom
fix/coverage-thresholds
Mar 2, 2026
Merged

fix: add review tests and fix coverage thresholds#15
avrabe merged 2 commits intomainfrom
fix/coverage-thresholds

Conversation

@avrabe
Copy link
Contributor

@avrabe avrabe commented Mar 2, 2026

Summary

Coverage

Metric Before After Threshold
Lines 77.2% 90.5% 80%
Branches 29.1% 84.3% 70%
Functions 24.0% 92.1% 80%

Test plan

  • npm test -- --coverage passes all thresholds locally
  • 636 tests, 26 suites, all green
  • CI lint + test jobs pass

🤖 Generated with Claude Code

avrabe and others added 2 commits March 2, 2026 12:56
…age config

- Add tests for getReviewStats() (verdicts, avgFindings, thisWeek)
- Add tests for getReviews() pagination ({limit, offset}, newest-first)
- Exclude browser-only and vendored files from coverage collection:
  dashboard-client.js, htmx.min.js, idiomorph-ext.min.js
  (these ran at 0% and dragged global averages below thresholds)

Coverage now passes all thresholds: lines 90.5%, branches 84.3%, functions 92.1%

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Solo org — requiring 1 approving review blocks all PRs since you
can't approve your own. Temper was re-applying this rule on every sync.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@avrabe avrabe merged commit 3251547 into main Mar 2, 2026
4 of 5 checks passed
@avrabe avrabe deleted the fix/coverage-thresholds branch March 2, 2026 12:13
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