chore: ignore vendored and generated paths in Codecov#5187
Merged
Yicong-Huang merged 1 commit intoMay 24, 2026
Conversation
The repo's `.licenserc.yaml` already exempts three classes of file from its header check because we don't maintain them — vendored MIT code and generated protobuf TypeScript. Their coverage figures carry no signal about Texera's test quality, but they sit in the project denominator and drag the headline percentage down. Mirror those entries in `codecov.yml`'s `ignore` list so the rollup reflects only code we own. Categories added: vendored kjetland JSON schema generator, vendored ngx-formly type wrappers, vendored monaco-languageclient files, and the frontend protobuf TS codegen output (mirror of the existing Python proto rule). Closes apache#5186
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5187 +/- ##
============================================
+ Coverage 43.91% 44.54% +0.63%
Complexity 2218 2218
============================================
Files 1049 1042 -7
Lines 40578 39989 -589
Branches 4327 4260 -67
============================================
- Hits 17818 17813 -5
+ Misses 21640 21059 -581
+ Partials 1120 1117 -3
☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
aglinxinyuan
approved these changes
May 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this PR?
codecov.ymlalready ignores generated Python protobuf, build output, and test files..licenserc.yamlexempts a third set of paths from its header check on the basis that we don't maintain them — vendored MIT code and the frontend protobuf TS codegen. Their coverage figures carry no signal about Texera's test quality, but they sit in the project denominator and drag the headline percentage down. Mirror those entries in Codecov'signorelist so the rollup reflects only code we own.Any related issues, documentation, discussions?
Closes #5186. The ignored paths match the corresponding
paths-ignoreentries in.licenserc.yaml.How was this PR tested?
codecov.ymlparses as valid YAML; every concrete path in the new entries resolves to a real file onmain. Codecov re-evaluates the config on the next upload tomain.Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Opus 4.7