From 2dd2d8bcb67a9b3d06b012b0928acecd0d10f495 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 15 Aug 2026 13:20:54 +0000 Subject: [PATCH] ci: let Codecov fail a bad change instead of commenting Both statuses were informational, so nothing could fail and the bot narrated every pull request instead. The project status now compares against the base with a 2% allowance, and the patch status wants 70% on includes/ only. maintenance/ is half the tree's lines and carries no unit tests, so it drags the project total down by a point or two whenever a script is added and would fail any patch target outright. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_016qiZSGWHrxkjvFxA8swynp --- .codecov.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.codecov.yml b/.codecov.yml index e0d66b422..d1ae533da 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -3,11 +3,18 @@ fixes: - "/workspace/src/extensions/Wikven/::" +comment: false + coverage: status: + # maintenance/ is half the tree's lines with no unit tests: it dilutes the + # project total, and its diffs can never meet a patch target. project: default: - informational: true + target: auto + threshold: 2% patch: default: - informational: true + target: 70% + paths: + - includes/