chore: show agents how to view test code coverage#5426
Merged
wjones127 merged 7 commits intolance-format:mainfrom Dec 9, 2025
Merged
chore: show agents how to view test code coverage#5426wjones127 merged 7 commits intolance-format:mainfrom
wjones127 merged 7 commits intolance-format:mainfrom
Conversation
ff941c5 to
3814872
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
westonpace
reviewed
Dec 8, 2025
| /// # } | ||
| /// ``` | ||
| ``` | ||
| * Code coverage can be skipped for test utilities and non-critical paths using |
Member
There was a problem hiding this comment.
Is there any way to just skip code coverage for anything in the test cfg? Or is that already done and this is for test utilities that are in main scope for some reason?
Contributor
Author
There was a problem hiding this comment.
Doesn't seem like there's a particularly easy way. taiki-e/cargo-llvm-cov#123
But most of the time tests have their lines covered. It's just some edge cases like branches that only happen on test failures that get missed. I think that's okay.
westonpace
approved these changes
Dec 9, 2025
wjones127
added a commit
that referenced
this pull request
Dec 10, 2025
Get 100% line and branch coverage for `rust/lance-core/src/utils/deletion.rs`. This is trying out scripts in #5426.
jackye1995
pushed a commit
to jackye1995/lance
that referenced
this pull request
Jan 21, 2026
Providing some scripts and instructions for how to view coverage. This is usable by coding agents, which should enable them to help us improve our test coverage.
jackye1995
pushed a commit
to jackye1995/lance
that referenced
this pull request
Jan 21, 2026
Get 100% line and branch coverage for `rust/lance-core/src/utils/deletion.rs`. This is trying out scripts in lance-format#5426.
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.
Providing some scripts and instructions for how to view coverage. This is usable by coding agents, which should enable them to help us improve our test coverage.