Skip to content

check for possibly-lost valgrind errors - #63

Merged
yuvalif merged 2 commits into
lancedb:mainfrom
yuvalif:check-possibly-lost-errors
Jul 13, 2026
Merged

yuvalif merged 2 commits into
lancedb:mainfrom
yuvalif:check-possibly-lost-errors

Conversation

@yuvalif

@yuvalif yuvalif commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

add false-positive supressions

@yuvalif
yuvalif force-pushed the check-possibly-lost-errors branch 4 times, most recently from 1fbf4f3 to bebc749 Compare July 12, 2026 13:50
@yuvalif
yuvalif requested a review from Copilot July 12, 2026 17:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR tightens Valgrind leak checking by failing tests on “possible” leaks (in addition to “definite”) and expands the suppression file to cover known false positives from Rust/DataFusion/OpenDAL initialization paths.

Changes:

  • Expand valgrind.supp with additional suppressions for known “possible” leak reports (DataFusion, OpenDAL, Lance registries).
  • Update Valgrind CTest invocations to treat possible leaks as errors (using --errors-for-leak-kinds=definite,possible).
  • Ensure the table meta tests are included in the coverage target dependencies; add a Rust rebuild step to the coverage target.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
valgrind.supp Adds new suppressions and removes obj:*/liblancedb.so filters to address “possible” leak false positives.
CMakeLists.txt Makes Valgrind tests fail on possible leaks; tweaks coverage target and test target dependencies.
.github/workflows/coverage.yml Removes installing Valgrind in the coverage workflow environment.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread CMakeLists.txt Resolved
Comment thread valgrind.supp Resolved
yuvalif added 2 commits July 13, 2026 16:08
add false-positive supressios
dont run coverage test under valgrind

Signed-off-by: Yuval Lifshitz <[email protected]>
also move coverage files under "build"

Signed-off-by: Yuval Lifshitz <[email protected]>
@yuvalif
yuvalif force-pushed the check-possibly-lost-errors branch from bebc749 to 16e637e Compare July 13, 2026 16:21
@yuvalif
yuvalif merged commit 92ea6d5 into lancedb:main Jul 13, 2026
7 checks passed
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.

2 participants