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-9742] Package libdatadog v9.0.0 for Ruby #422

Merged
merged 1 commit into from
May 9, 2024

Conversation

ivoanjo
Copy link
Member

@ivoanjo ivoanjo commented May 9, 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 v7.0.0 release PR).

It also includes a tiny paper cut fix: it disables the Rake build task which is the default way to package a Ruby gem, since we have our own custom packaging steps in the Rakefile.

Motivation

Enable Ruby to use libdatadog v9.0.0.

Additional Notes

We ended up not packaging the previous release (v8) for Ruby, so we're directly jumping from v7 to v9.

How to test the change?

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

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 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 v7.0.0 release PR).

It also includes a tiny paper cut fix: it disables the Rake `build`
task which is the default way to package a Ruby gem, since we have our
own custom packaging steps in the `Rakefile`.

**Motivation:**

Enable Ruby to use libdatadog v9.0.0.

**Additional Notes:**

We ended up not packaging the previous release (v8) for Ruby, so
we're directly jumping from v7 to v9.

**How to test the change?**

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

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 requested a review from a team as a code owner May 9, 2024 12:54
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 64.83%. Comparing base (d3f8544) to head (da4b238).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #422   +/-   ##
=======================================
  Coverage   64.83%   64.83%           
=======================================
  Files         183      183           
  Lines       22359    22359           
=======================================
  Hits        14496    14496           
  Misses       7863     7863           
Components Coverage Δ
crashtracker 20.37% <ø> (ø)
data-pipeline 51.45% <ø> (ø)
data-pipeline-ffi 0.00% <ø> (ø)
ddcommon 81.23% <ø> (ø)
ddcommon-ffi 74.93% <ø> (ø)
ddtelemetry 53.72% <ø> (ø)
ipc 79.30% <ø> (ø)
profiling 77.05% <ø> (ø)
profiling-ffi 60.09% <ø> (ø)
serverless 0.00% <ø> (ø)
sidecar 28.66% <ø> (ø)
sidecar-ffi 0.00% <ø> (ø)
spawn-worker 50.49% <ø> (ø)
trace-mini-agent 69.12% <ø> (ø)
trace-normalization 97.79% <ø> (ø)
trace-obfuscation 95.74% <ø> (ø)
trace-protobuf 25.64% <ø> (ø)
trace-utils 68.85% <ø> (ø)

Copy link
Contributor

@danielsn danielsn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR appears totally mechanical. Would it be worth adding creating this PR to the release CI action?

@ivoanjo
Copy link
Member Author

ivoanjo commented May 9, 2024

This PR appears totally mechanical. Would it be worth adding creating this PR to the release CI action?

Yes, but I haven't had the chance to do it so far :)

@ivoanjo ivoanjo merged commit 47c595b into main May 9, 2024
31 checks passed
@ivoanjo ivoanjo deleted the ivoanjo/libdatadog9-ruby branch May 9, 2024 14:14
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.

3 participants