Skip to content

ci: report patch coverage without gating on it - #82

Merged
passcod merged 1 commit into
mainfrom
ci/codecov-status
Nov 11, 2026
Merged

passcod merged 1 commit into
mainfrom
ci/codecov-status

Conversation

@passcod

@passcod passcod commented Nov 11, 2026

Copy link
Copy Markdown
Member

🤖 Code in pre_exec hooks runs in the forked child, which execs before it can write its coverage data. So any change to a hook fails Codecov's patch status, whatever the tests cover. The patch status is now informational: it still reports, but it never fails.

The project status now tolerates a drop of up to 0.5%, so moving code around doesn't fail it either.

Code in pre_exec hooks runs in the forked child and never shows as
covered, so changes to hooks always failed the patch status. Also let
project coverage drop by up to half a percent.
@codecov

codecov Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.32%. Comparing base (ff2ab66) to head (f965612).
⚠️ Report is 16 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #82      +/-   ##
==========================================
+ Coverage   84.22%   84.32%   +0.09%     
==========================================
  Files          17       17              
  Lines        1268     1276       +8     
==========================================
+ Hits         1068     1076       +8     
  Misses        200      200              
Flag Coverage Δ
macos 80.34% <ø> (+1.05%) ⬆️
ubuntu 80.40% <ø> (+0.18%) ⬆️
windows 88.48% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@passcod
passcod marked this pull request as ready for review November 11, 2026 03:29
@passcod
passcod merged commit 1c4fc62 into main Nov 11, 2026
24 checks passed
@passcod
passcod deleted the ci/codecov-status branch November 11, 2026 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant