Skip to content

fix(ci): make Codecov patch coverage informational#2

Merged
kwschulz merged 1 commit into
mainfrom
fix/codecov-patch-informational
Jan 30, 2026
Merged

fix(ci): make Codecov patch coverage informational#2
kwschulz merged 1 commit into
mainfrom
fix/codecov-patch-informational

Conversation

@kwschulz
Copy link
Copy Markdown
Contributor

Summary

  • Adds codecov.yml to make patch coverage status check informational rather than blocking
  • Patch coverage was failing on PRs because new code didn't meet the project's overall coverage target (69%)
  • For a new project establishing its coverage baseline, this is expected behavior

Changes

  • codecov.yml: Sets patch.default.informational: true so patch coverage reports but doesn't block merges

Why

New code added in PRs may have lower coverage than the project average, especially when:

  • Adding integration/browser tests that are harder to unit test
  • Adding CLI code with IO dependencies

Making patch coverage informational lets us see the metrics without blocking merges.

🤖 Generated with Claude Code

Patch coverage status check was failing on PRs because new code
didn't meet the project's overall coverage target. For new projects
establishing coverage baseline, patch coverage should be informational
rather than blocking.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@kwschulz kwschulz merged commit a8f8972 into main Jan 30, 2026
5 checks passed
@kwschulz kwschulz deleted the fix/codecov-patch-informational branch January 30, 2026 20:41
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