ci: add codecov.yml with informational patch coverage#729
Merged
Conversation
Workflow main has many operator-facing CLI surfaces that get exercised by manual operators or downstream integration tests, not by unit tests. Codecov's default "auto" patch target blocks PRs whose helper functions can't be cheaply unit-tested without a full integration harness — admin-override is forced 3 times in the past week (workflow#715, workflow#720, workflow#725). Switch patch coverage to informational mode (report posted but status check passes) and set project threshold to 1% (protects against gradual rot without blocking noise). Reviewers continue to call out genuinely under-tested paths in review. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a repository-level Codecov configuration to reduce PR friction from patch-coverage failures while keeping a lightweight project-level regression signal for the workflow engine’s large Go codebase.
Changes:
- Add
codecov.ymlto set patch coverage status to informational-only (non-blocking). - Configure project coverage status to allow a 1 percentage-point drop before failing.
Comment on lines
+18
to
+19
| # directly rather than relying on a hard codecov threshold. This matches | ||
| # the manual-review tier in CONTRIBUTING.md. |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
⏱ Benchmark Results✅ No significant performance regressions detected. benchstat comparison (baseline → PR)
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Switches codecov patch check to informational mode and sets project threshold to 1%. Eliminates the admin-override pattern that surfaced 3 times in the past week (workflow#715, #720, #725) without sacrificing coverage signal in PR comments.