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

Expose 3.4-asan Ruby builds from ruby-dev-builder #713

Merged
merged 1 commit into from
Feb 24, 2025

Conversation

ivoanjo
Copy link
Contributor

@ivoanjo ivoanjo commented Feb 24, 2025

What does this PR do?

This PR provides the final piece of the puzzle to fix #682: now that ruby-dev-builder is building 3.4-asan Rubies since ruby/ruby-dev-builder#15, we can make them available for use.

Motivation:

At Datadog, we're using ASan builds to check for issues in our library, and having a 3.4-asan build improves the experience of having these checks be a required CI step. Using the ASan builds built from ruby-head means our CI could break because of unrelated issues/changes from ruby-head.

Additional Notes:

yarn was trying really hard to update a bunch of things, which generated A LOT of diff noise. I've manually pared them down just to the actual changes related to adding the new variant so the diff makes a bit more sense.

How to test the change?

I've already tested this in
https://github.com/DataDog/dd-trace-rb/actions/runs/13392865620/job/37696781848 and it seems to be working fine!

**What does this PR do?**

This PR provides the final piece of the puzzle to fix ruby#682: now that
ruby-dev-builder is building `3.4-asan` Rubies since
ruby/ruby-dev-builder#15, we can make them
available for use.

**Motivation:**

At Datadog, we're using ASan builds to check for issues
[in our library](https://github.com/datadog/dd-trace-rb),
and having a `3.4-asan` build improves the experience of having
these checks be a required CI step. Using the ASan builds built from
ruby-head means our CI could break because of unrelated issues/changes
from ruby-head.

**Additional Notes:**

`yarn` was trying really hard to update a bunch of things, which
generated A LOT of diff noise. I've manually pared them down just
to the actual changes related to adding the new variant so the
diff makes a bit more sense.

**How to test the change?**

I've already tested this in
https://github.com/DataDog/dd-trace-rb/actions/runs/13392865620/job/37696781848
and it seems to be working fine!
@eregon
Copy link
Member

eregon commented Feb 24, 2025

yarn was trying really hard to update a bunch of things, which generated A LOT of diff noise. I've manually pared them down just to the actual changes related to adding the new variant so the diff makes a bit more sense.

Mmh, that's weird, did that happen with just yarn install as in https://github.com/ruby/setup-ruby/blob/master/pre-commit ?

@eregon
Copy link
Member

eregon commented Feb 24, 2025

We could probably try to use npm again instead of yarn (we used to hit a npm bug but probably no longer the case), not sure it would behave better though.

@eregon eregon merged commit 04c2e2b into ruby:master Feb 24, 2025
224 checks passed
@ivoanjo
Copy link
Contributor Author

ivoanjo commented Feb 25, 2025

Mmh, that's weird, did that happen with just yarn install as in https://github.com/ruby/setup-ruby/blob/master/pre-commit ?

Yeah! I actually had to disable the pre-commit as I was doing a very careful commit and then it came in and undid my work 🤣

@ivoanjo ivoanjo deleted the ivoanjo/expose-3.4-asan-builds branch February 25, 2025 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Add a stable ruby-asan variant?
2 participants