Commit Graph

6 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 7516929e57 fix: address review feedback — sanitize base_ref and always update comment
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-05 12:26:50 +05:30
fireddd dfae0ee6e5 fix: use --coverage.enabled instead of --coverage flag (#913)
Avoid mixing boolean --coverage flag with dot-notation
--coverage.reporter=json which can conflict in vitest v4.
Use --coverage.enabled for explicit, compatible behavior.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-04 23:12:32 +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
fireddd 68eafe9f0d ci: only run coverage for packages with changed files
Uses dorny/paths-filter to detect which packages have changes.
Tests and coverage only run for affected packages — e.g. a
web-only change won't trigger core or CLI tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-31 09:28:31 +05:30
fireddd e6c3a06427 ci: add diff coverage workflow enforcing 80% on changed code only
Uses diff-cover to check that newly added or modified lines in PRs
have at least 80% test coverage, without requiring the entire
codebase to meet the threshold.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-31 09:26:36 +05:30