Skip to content

ci: Fix valgrind ignored test#372

Merged
samuelburnham merged 3 commits intomainfrom
ci-valgrind
Apr 10, 2026
Merged

ci: Fix valgrind ignored test#372
samuelburnham merged 3 commits intomainfrom
ci-valgrind

Conversation

@samuelburnham
Copy link
Copy Markdown
Member

@samuelburnham samuelburnham commented Apr 10, 2026

The FFI tests don't need get_env!, but it's currently called on all tests. When Lean modules are imported as compact regions they are not explicitly freed by the Lean runtime in favor of letting the OS free this memory more efficiently. This appears as a leak in Valgrind despite it being intended behavior, so this PR removes get_env! from the FFI test path which runs under Valgrind.

Successful run: https://github.com/argumentcomputer/ix/actions/runs/24248431304

@samuelburnham samuelburnham merged commit 8b4ccaf into main Apr 10, 2026
14 checks passed
@samuelburnham samuelburnham deleted the ci-valgrind branch April 10, 2026 15:56
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