Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new mem:check task to run Valgrind in CI #26

Merged
merged 2 commits into from
Nov 14, 2022
Merged

Conversation

ianks
Copy link
Collaborator

@ianks ianks commented Nov 14, 2022

This PR integrates the great ruby_memcheck gem into the repo. It's super powerful... I immediately found a memory leak in magnus and was able to fix it.

As of this PR, there are no leaks detected, so we should be good to integrate into CI. One question I have is: Should we run it on every PR, or no? I'm thinking that might be too much, but we should at least run it on main. Thoughts?

@ianks ianks requested a review from jbourassa November 14, 2022 20:10
Copy link
Collaborator

@jbourassa jbourassa left a comment

Choose a reason for hiding this comment

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

One question I have is: Should we run it on every PR, or no?

Given it's relatively fast, there's no harm in running it, no? Are you thinking it would be flaky?

@ianks ianks merged commit 15f6fc6 into main Nov 14, 2022
@jbourassa jbourassa deleted the mem/memcheck-init branch December 10, 2022 17:48
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