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

[NO-TICKET] Upgrade to libdatadog 7 #3536

Merged
merged 2 commits into from
Mar 27, 2024
Merged

Conversation

ivoanjo
Copy link
Member

@ivoanjo ivoanjo commented Mar 19, 2024

What does this PR do?

This PR upgrades dd-trace-rb to use libdatadog 7.

There was a small breaking API change -- the rename of ddog_Endpoint APIs to ddog_prof_Endpoint.

Motivation:

Make sure Ruby is up-to-date on libdatadog.

Additional Notes:

As far as Ruby is impacted, the main changes in libdatadog 7 are a number of fixes to the crash tracker (getting us closer to merging #3384) as well as some potential memory improvements from (DataDog/libdatadog#303).

I'm opening this as a draft PR as libdatadog 7 is not yet available on rubygems.org, and I'll come back to re-trigger CI and mark this as non-draft once it is. Done

How to test the change?

Our existing test coverage includes libdatadog testing, so a green CI is good here :)

For Datadog employees:

  • If this PR touches code that signs or publishes builds or packages, or handles
    credentials of any kind, I've requested a review from @DataDog/security-design-and-guidance.
  • This PR doesn't touch any of that.

@github-actions github-actions bot added the profiling Involves Datadog profiling label Mar 19, 2024
ivoanjo added a commit to DataDog/libdatadog that referenced this pull request Mar 19, 2024
**What does this PR do?**

This PR includes the changes documented in the "Releasing a new version
to rubygems.org" part of the README:
https://github.com/datadog/libdatadog/tree/main/ruby#releasing-a-new-version-to-rubygemsorg

(It's also very similar to the same as the v6.0.0 release PR).

**Motivation:**

Enable Ruby to use libdatadog v7.0.0.

**Additional Notes:**

N/A

**How to test the change?**

I've tested this release locally against the changes in
DataDog/dd-trace-rb#3536 .

As a reminder, new libdatadog releases don't get automatically picked up
by dd-trace-rb, so the PR that bumps the Ruby profiler will also test
this release against all supported Ruby versions.
**What does this PR do?**

This PR upgrades dd-trace-rb to use libdatadog 7.

There was a small breaking API change -- the rename of `ddog_Endpoint`
APIs to `ddog_prof_Endpoint`.

**Motivation:**

Make sure Ruby is up-to-date on libdatadog.

**Additional Notes:**

As far as Ruby is impacted, the main changes in libdatadog 7 are
a number of fixes to the crash tracker (getting us closer to merging
 #3384) as well as some potential memory improvements from
(DataDog/libdatadog#303).

I'm opening this as a draft PR as libdatadog 7 is not yet available on
rubygems.org, and I'll come back to re-trigger CI and mark this as
non-draft once it is.

**How to test the change?**

Our existing test coverage includes libdatadog testing, so a green CI
is good here :)
@ivoanjo ivoanjo force-pushed the ivoanjo/libdatadog7-upgrade branch from 7c22c7d to 74456b5 Compare March 27, 2024 09:16
@ivoanjo ivoanjo marked this pull request as ready for review March 27, 2024 09:16
@ivoanjo ivoanjo requested review from a team as code owners March 27, 2024 09:16
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.27%. Comparing base (c097f90) to head (74456b5).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3536   +/-   ##
=======================================
  Coverage   98.27%   98.27%           
=======================================
  Files        1274     1274           
  Lines       75157    75157           
  Branches     3539     3539           
=======================================
+ Hits        73857    73858    +1     
+ Misses       1300     1299    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ivoanjo
Copy link
Member Author

ivoanjo commented Mar 27, 2024

I've deployed this commit to the reliability environment and no relevant indicators seem to have moved, so we're in good shape -- pressing the magic merge button.

@ivoanjo ivoanjo merged commit 505cc35 into master Mar 27, 2024
210 checks passed
@ivoanjo ivoanjo deleted the ivoanjo/libdatadog7-upgrade branch March 27, 2024 12:43
@github-actions github-actions bot added this to the 1.22.0 milestone Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
profiling Involves Datadog profiling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants