[PROF-11680] Add Ruby 3.5.0-preview1 headers and bump gem version 3.4.1#15
Merged
Merged
Conversation
…3.4.1 **What does this PR do?** This PR imports the Ruby 3.5.0-preview1 headers into the gem. **Motivation:** These headers are needed to get the Datadog Ruby profiler to work correctly on Ruby 3.5.0-preview1. (I tried without these updated headers and it broke since it will try to fall back to the 3.4 headers). **Additional Notes:** This PR is very similar to #14 . **How to test the change?** I've tested this PR by running the ruby profiler test suite on both Ruby 3.4.1 and 3.5.0-preview1 with these changes, and validating it was green. At some point we'll have CI in dd-trace-rb for Ruby 3.5, but currently this testing was done locally.
sarahchen6
approved these changes
Apr 23, 2025
sarahchen6
approved these changes
Apr 23, 2025
p-datadog
approved these changes
Apr 23, 2025
ivoanjo
added a commit
to DataDog/dd-trace-rb
that referenced
this pull request
Apr 24, 2025
**What does this PR do?** This PR adds support for profiling Ruby 3.5.0-preview1. The only work needed was importing the latest headers in DataDog/datadog-ruby_core_source#15 so this PR adds the new 3.4.1 release of the headers as the minimum version allowed. **Motivation:** By setting the minimum version of `datadog-ruby_core_source` to the latest release, we make sure bundler picks it up, and doesn't try to use an incorrect release with Ruby 3.5. **Additional Notes:** N/A **How to test the change?** We don't yet test with 3.5 on CI; I tested locally that the profiler test suite is working fine with 3.4 and 3.5.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This PR imports the Ruby 3.5.0-preview1 headers into the gem.
Motivation:
These headers are needed to get the Datadog Ruby profiler to work correctly on Ruby 3.5.0-preview1.
(I tried without these updated headers and it broke since it will try to fall back to the 3.4 headers).
Additional Notes:
This PR is very similar to #14 .
How to test the change?
I've tested this PR by running the ruby profiler test suite on both Ruby 3.4.1 and 3.5.0-preview1 with these changes, and validating it was green.
At some point we'll have CI in dd-trace-rb for Ruby 3.5, but currently this testing was done locally.