Yicong-Huang commented on code in PR #6022:
URL: https://github.com/apache/texera/pull/6022#discussion_r3489662446


##########
codecov.yml:
##########
@@ -68,10 +68,14 @@ coverage:
         threshold: 1%
     patch:
       default:
-        # Surface patch coverage in the Codecov report but don't gate
-        # PRs on it: a 100%-patch policy blocks plenty of legitimate
-        # refactors / config-only changes that have no tests to add.
-        informational: true
+        # Require new/changed lines in a PR to be at least 60% covered.
+        # Lower than a 100%-patch policy so legitimate refactors and
+        # config-only changes aren't blocked, but high enough that net-new
+        # code ships with tests. The 10% threshold softens the quantization
+        # on tiny diffs (e.g. a 2-coverable-line change passes at 1 line /
+        # 50%) — patch passes when coverage is >= target - threshold = 50%.
+        target: 60%
+        threshold: 10%

Review Comment:
   intended to be softer



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to