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

[NOTICKET-1] use Ruby 3.4.1 for test-memcheck GHA + other fixes to bring master CI to green with 3.4 #4247

Merged
merged 6 commits into from
Jan 3, 2025

Conversation

anmarchenko
Copy link
Member

What does this PR do?
Fixes previously failing test-memcheck job by using released Ruby version 3.4.1 instead of Ruby 3.4.0-preview

Motivation:
CI started to fail

Change log entry
none

How to test the change?
CI is green

@anmarchenko anmarchenko requested a review from a team as a code owner January 2, 2025 11:15
@github-actions github-actions bot added the dev/github Github repository maintenance and automation label Jan 2, 2025
@datadog-datadog-prod-us1
Copy link
Contributor

datadog-datadog-prod-us1 bot commented Jan 2, 2025

Datadog Report

Branch report: anmarchenko/fix_failing_memory_leaks_test
Commit report: f88e1c1
Test service: dd-trace-rb

✅ 0 Failed, 22114 Passed, 1476 Skipped, 5m 56.8s Total Time

@pr-commenter
Copy link

pr-commenter bot commented Jan 2, 2025

Benchmarks

Benchmark execution time: 2025-01-02 16:44:01

Comparing candidate commit f88e1c1 in PR branch anmarchenko/fix_failing_memory_leaks_test with baseline commit cf5120d in branch master.

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

scenario:tracing - Propagation - Datadog

  • 🟩 throughput [+3127.361op/s; +3202.611op/s] or [+10.278%; +10.525%]

… leak

Since our exceptions match on the stack, they are affected by internal
naming changes, and it looks like a new `ruby_xcalloc_body` function
is now showing up in the stack.
This is waaay incomplete in terms of adding support for Ruby 3.5 but
should get us going for ASAN testing for now.
In practice this shouldn't make a difference, since the final lockfiles
are supposed to be a superset of the root-level gemfile BUT the
`Appraisals` file no longer exists anyway and "just in case" let's
have it anyway as it seems more correct.
ruby-3.5.gemfile Outdated Show resolved Hide resolved
Copy link
Contributor

@sarahchen6 sarahchen6 left a comment

Choose a reason for hiding this comment

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

👍

This is not expected to be an issue in 3.5 (and is probably fixed for
3.4 as well, but I'll leave that for a separate PR to not affect the
appraisals).
@ivoanjo ivoanjo changed the title [NOTICKET-1] use Ruby 3.4.1 for test-memcheck GHA [NOTICKET-1] use Ruby 3.4.1 for test-memcheck GHA + other fixes to bring master CI to green with 3.4 Jan 2, 2025
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.75%. Comparing base (44f36d3) to head (f88e1c1).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4247      +/-   ##
==========================================
+ Coverage   97.74%   97.75%   +0.01%     
==========================================
  Files        1355     1355              
  Lines       82365    82366       +1     
  Branches     4230     4230              
==========================================
+ Hits        80510    80520      +10     
+ Misses       1855     1846       -9     

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

@ivoanjo
Copy link
Member

ivoanjo commented Jan 3, 2025

Getting CI back to green took quite a bit of effort -- not just in this PR, but also to update our CI images and system tests and whatnot. Great work @sarahchen6 @lloeki @anmarchenko ;)

I'm going to go ahead and merge this one!

@ivoanjo ivoanjo merged commit e8a6307 into master Jan 3, 2025
349 checks passed
@ivoanjo ivoanjo deleted the anmarchenko/fix_failing_memory_leaks_test branch January 3, 2025 09:00
@github-actions github-actions bot added this to the 2.9.0 milestone Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev/github Github repository maintenance and automation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants