Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 3, 2025

Generated Protobuf code in the protocol/ directory was being included in code coverage metrics.

Changes

  • Added ignore section to codecov.yml with pattern protocol/*.pb.go to exclude all generated Protobuf files (both *.pb.go and *_grpc.pb.go)
coverage:
  status:
    patch:
      default:
        enabled: no

ignore:
  - "protocol/*.pb.go"
Original prompt

This section details on the original issue you should resolve

<issue_title>Ignore generated Protobuf code in code coverage</issue_title>
<issue_description>Ignore generated Protobuf code in code coverage by edit codecov.yml

gorse/codecov.yml

Lines 1 to 5 in 30145df

coverage:
status:
patch:
default:
enabled: no
</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Ignore generated Protobuf code in code coverage Ignore generated Protobuf files in code coverage Nov 3, 2025
Copilot AI requested a review from zhenghaoz November 3, 2025 12:38
Copilot finished work on behalf of zhenghaoz November 3, 2025 12:38
@zhenghaoz zhenghaoz marked this pull request as ready for review November 3, 2025 12:39
@codecov
Copy link

codecov bot commented Nov 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.73%. Comparing base (30145df) to head (1414e4c).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1085      +/-   ##
==========================================
+ Coverage   66.18%   70.73%   +4.54%     
==========================================
  Files          93       86       -7     
  Lines       18901    15263    -3638     
==========================================
- Hits        12510    10796    -1714     
+ Misses       5237     3422    -1815     
+ Partials     1154     1045     -109     

☔ View full report in Codecov by Sentry.
📢 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.

@zhenghaoz zhenghaoz merged commit a52f6a1 into master Nov 3, 2025
23 checks passed
@zhenghaoz zhenghaoz deleted the copilot/fix-74893108-144708327-4435303d-b2a5-4efb-94d4-2a04959c93f8 branch November 3, 2025 12:46
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.

Ignore generated Protobuf code in code coverage

2 participants