Commit Graph

4 Commits

Author SHA1 Message Date
fireddd a89951b023 fix: remove dead has_coverage output variable (#913)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-05 17:37:29 +05:30
fireddd 568bb6819f chore: remove unnecessary console.log from coverage script (#913)
The report is written to coverage-comment.md — logging it to stdout
just adds noise to CI step output.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-04 23:13:39 +05:30
fireddd 6846c89b85 refactor: use istanbul-lib-coverage for accurate line coverage (#913)
Replace manual statementMap parsing with istanbul-lib-coverage's
getLineCoverage() and toSummary() APIs. This handles multi-statement
lines, branch boundaries, and edge cases correctly instead of
approximating from statement spans.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-04 23:11:01 +05:30
fireddd 06fe717d28 ci: add non-blocking test coverage report to PRs (#913)
Replace the blocking diff-cover workflow with a non-blocking coverage
reporter that posts a PR comment showing lines covered, lines not
covered, overall coverage percentage, and uncovered line ranges —
scoped to only the files changed in the PR.

Closes #913

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-04 23:00:23 +05:30