From 940f930dca0b384a4173aa4380000d0b04615650 Mon Sep 17 00:00:00 2001 From: William Barnhart Date: Fri, 17 Jul 2026 03:23:46 +0000 Subject: [PATCH] Add codecov.yml with a 1% coverage threshold The repo had no Codecov config, so Codecov applied its default project status (target: auto, threshold: 0%) and failed CI on any coverage decrease -- including the sub-0.1% jitter from async/threaded lines being counted differently between runs, which forced admin-merges on otherwise green PRs. Add a codecov.yml giving project and patch a 1% threshold so the gate tolerates that noise while still catching real regressions, and disable the per-PR comment. --- codecov.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 codecov.yml diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 000000000..fda9fe907 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,20 @@ +# Codecov configuration. +# +# Without this file Codecov applies its default project status of +# target: auto / threshold: 0%, which fails CI on any coverage decrease at +# all -- including the sub-0.1% jitter that comes from async/threaded lines +# being counted slightly differently between runs. Give the gate a 1% +# threshold so it tolerates that noise while still catching real regressions. +coverage: + status: + project: + default: + target: auto + threshold: 1% + patch: + default: + target: auto + threshold: 1% + +# Suppress the per-PR coverage comment; the status checks carry the signal. +comment: false