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

[PROF-11035] Require datadog-ruby_core_source >= 3.3.7 to ensure Ruby 3.4 support #4228

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

ivoanjo
Copy link
Member

@ivoanjo ivoanjo commented Dec 16, 2024

What does this PR do?

This PR adds an extra version restriction to our datadog-ruby_core_source dependency to ensure that version 3.3.7 or newer gets used.

Motivation:

Version 3.3.7 ships support for Ruby 3.4 (using 3.4.0-rc1 headers) and has a nice on-disk footprint reduction so we want to make sure that it gets used, instead of an older version.

Change log entry

Yes. Require datadog-ruby_core_source >= 3.3.7 to ensure Ruby 3.4 support

Additional Notes:

N/A

How to test the change?

If CI is still green, we're almost good. The final part is testing this with 3.4.0-rc1 -- which we don't yet have in CI.

For now I did that locally and got a green build; once we pick up 3.4.0-rc1 (or 3.4.0 stable) in CI, we'll be able to validate this part in CI as well.

… 3.4 support

**What does this PR do?**

This PR adds an extra version restriction to our
`datadog-ruby_core_source` dependency to ensure that version 3.3.7
or newer gets used.

**Motivation:**

Version 3.3.7 ships support for Ruby 3.4 (using 3.4.0-rc1 headers)
and has a nice on-disk footprint reduction so we want to make sure
that it gets used, instead of an older version.

**Additional Notes:**

N/A

**How to test the change?**

If CI is still green, we're almost good. The final part is
testing this with 3.4.0-rc1 -- which we don't yet have in CI.

For now I did that locally and got a green build; once we pick up
3.4.0-rc1 (or 3.4.0 stable) in CI, we'll be able to validate this
part in CI as well.
@ivoanjo ivoanjo requested a review from a team as a code owner December 16, 2024 17:32
Copy link

github-actions bot commented Dec 16, 2024

Thank you for updating Change log entry section 👏

Visited at: 2024-12-16 17:33:28 UTC

@ivoanjo ivoanjo changed the title [PROF-11305] Require datadog-ruby_core_source >= 3.3.7 to ensure Ruby 3.4 support [PROF-11035] Require datadog-ruby_core_source >= 3.3.7 to ensure Ruby 3.4 support Dec 16, 2024
@pr-commenter
Copy link

pr-commenter bot commented Dec 16, 2024

Benchmarks

Benchmark execution time: 2024-12-16 17:55:49

Comparing candidate commit 6606145 in PR branch ivoanjo/prof-11035-force-use-of-latest-headers with baseline commit 4f1c8bd in branch master.

Found 1 performance improvements and 2 performance regressions! Performance is the same for 28 metrics, 2 unstable metrics.

scenario:line instrumentation - targeted

  • 🟥 throughput [-13494.690op/s; -12889.526op/s] or [-8.170%; -7.804%]

scenario:method instrumentation

  • 🟥 throughput [-13350.469op/s; -12862.146op/s] or [-7.511%; -7.236%]

scenario:profiler - sample timeline=false

  • 🟩 throughput [+0.606op/s; +0.615op/s] or [+10.102%; +10.253%]

@ivoanjo
Copy link
Member Author

ivoanjo commented Dec 17, 2024

Going to merge this one!

The "Datadog Software Composition Analysis / Datadog SBOM Generation and Upload (push)" issue is unrelated and is being tracked separately.

@ivoanjo ivoanjo merged commit 9928a51 into master Dec 17, 2024
345 of 346 checks passed
@ivoanjo ivoanjo deleted the ivoanjo/prof-11035-force-use-of-latest-headers branch December 17, 2024 09:26
@github-actions github-actions bot added this to the 2.9.0 milestone Dec 17, 2024
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