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-10099] Upgrade to libdatadog 10 #3753

Merged
merged 2 commits into from
Jul 3, 2024
Merged

Conversation

ivoanjo
Copy link
Member

@ivoanjo ivoanjo commented Jul 3, 2024

What does this PR do?

This PR upgrades the datadog gem to use libdatadog 10.

There was a tiny breaking API change, but otherwise it's a drop-in upgrade.

Motivation:

There were a few improvements to crash tracking that I'd like to pick up (some of the features need to be configured -- I'll open a separate PR for it).

Also, staying on the latest libdatadog enables us to pick up the latest improvements and also makes it easier to develop new features that need libdatadog changes.

Additional Notes:

As usual, I'm opening this PR as a draft as libdatadog 10 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 :)

**What does this PR do?**

This PR upgrades the datadog gem to use libdatadog 10.

There was a tiny breaking API change, but otherwise it's a drop-in
upgrade.

**Motivation:**

There were a few improvements to crash tracking that I'd like to
pick up (some of the features need to be configured -- I'll open a
separate PR for it).

Also, staying on the latest libdatadog enables us to pick up the
latest improvements and also makes it easier to develop new features
that need libdatadog changes.

**Additional Notes:**

As usual, I'm opening this PR as a draft as libdatadog 10 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 :)
@github-actions github-actions bot added the profiling Involves Datadog profiling label Jul 3, 2024
ivoanjo added a commit to DataDog/libdatadog that referenced this pull request Jul 3, 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 v9.0.0 release PR).

**Motivation:**

Enable Ruby to use libdatadog v10.0.0.

**Additional Notes:**

N/A

**How to test the change?**

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

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.
ivoanjo added a commit to DataDog/libdatadog that referenced this pull request Jul 3, 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 v9.0.0 release PR).

**Motivation:**

Enable Ruby to use libdatadog v10.0.0.

**Additional Notes:**

N/A

**How to test the change?**

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

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.
@ivoanjo ivoanjo force-pushed the ivoanjo/libdatadog10-upgrade branch from 1acdb71 to b7ecd26 Compare July 3, 2024 08:22
@ivoanjo ivoanjo marked this pull request as ready for review July 3, 2024 08:46
@ivoanjo ivoanjo requested review from a team as code owners July 3, 2024 08:46
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.90%. Comparing base (b6af1d9) to head (b7ecd26).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3753   +/-   ##
=======================================
  Coverage   97.90%   97.90%           
=======================================
  Files        1237     1237           
  Lines       74200    74200           
  Branches     3598     3598           
=======================================
  Hits        72644    72644           
  Misses       1556     1556           

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

@ivoanjo ivoanjo merged commit 0669dbb into master Jul 3, 2024
166 checks passed
@ivoanjo ivoanjo deleted the ivoanjo/libdatadog10-upgrade branch July 3, 2024 09:12
@github-actions github-actions bot added this to the 2.2.0 milestone Jul 3, 2024
@TonyCTHsu TonyCTHsu mentioned this pull request Jul 11, 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