Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Codecov configuration for GoCodeAlone/workflow.
#
# Workflow is a large Go codebase with many code paths that exist to support
# operator-facing CLI surfaces — they get exercised by manual operators or by
# downstream integration tests, not by unit tests. Codecov's default "auto"
# patch threshold therefore blocks PRs whose helper functions can't be
# cheaply unit-tested without a full integration harness.
#
# Policy:
# - patch: informational only — codecov posts the report but does NOT fail
# the status check. Reviewers still see the patch coverage in the PR
# comment so they can call out under-tested paths in review.
# - project: 1% threshold — repo-wide coverage can dip by 1 percentage
# point before the project status fails. Protects against gradual rot
# without blocking on noise.
#
# When a PR adds significant under-tested code, reviewers should flag it
# directly rather than relying on a hard codecov threshold. This matches
# the manual-review tier in CONTRIBUTING.md.
Comment on lines +18 to +19

coverage:
status:
project:
default:
target: auto
threshold: 1%
informational: false
patch:
default:
informational: true

comment:
layout: "reach, diff, flags, files"
behavior: default
require_changes: false
Loading