Skip to content

fix vlagrind failure when code coverage is turned on - #73

Merged
yuvalif merged 1 commit into
lancedb:mainfrom
yuvalif:fix-coverage-valgrind-combo
Nov 10, 2026
Merged

yuvalif merged 1 commit into
lancedb:mainfrom
yuvalif:fix-coverage-valgrind-combo

Conversation

@yuvalif

@yuvalif yuvalif commented Nov 10, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Signed-off-by: Yuval Lifshitz <[email protected]>
Co-Authored-By: Claude Fable 5.1 <[email protected]>

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.

🟢 Approval recommended

No active review issues remain for the coverage-specific Valgrind suppression.

No open issues 🎉

What changed in this PR

Adds a Valgrind suppression for coverage-enabled builds where Rust’s thread initialization frame resolves to a coverage-record symbol.

Changes:

  • Suppresses possible leaks matching the allocation stack containing __covrec_*.
  • Documents why the existing suppression does not match builds using -DBUILD_COVERAGE=ON.
File Description
valgrind.supp Adds and documents a coverage-specific suppression for Rust thread initialization.

Review effort: Balanced

@yuvalif
yuvalif merged commit 6071a08 into lancedb:main Nov 10, 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