[PROF-13115] Temporarily skip broken Ruby 4 test to unblock gem release #20
+9
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This PR temporarily disables the "Ruby 4.0 corruption" test that's blocking us from releasing the gem as per
https://github.com/DataDog/datadog-ruby_core_source/actions/runs/20057267656/job/57525327190.
Motivation:
Release latest version of the gem, including Ruby 4.0.0-beta2 support.
Additional Notes:
The issue in question is caused by dd-trace-rb currently pinning Ruby 4.0 to a specific hash
(in https://github.com/DataDog/dd-trace-rb/blob/48b4d79d6d043271dc760277ddc820f5343f335c/ruby-4.0.gemfile#L81).
This interacts incorrectly with the "corruption" test, making it use the wrong version of the gem:
(This is the output from the
bundle inforight before the test runs showing the wrong version being used for the "Adddatadog-ruby_core_source" step, from
https://github.com/DataDog/datadog-ruby_core_source/actions/runs/20057267656/job/57525327190)
The expected correct output can be seen in
https://github.com/DataDog/datadog-ruby_core_source/actions/runs/20057267656/job/57525327215:
This messup makes CI fail even though everything is fine.
This is a loop: dd-trace-rb requires the pinning BECAUSE we haven't released this gem yet.
So to break the loop, let's:
This PR is step 1. I'll take care of all 4 ;)
P.s.: Why didn't we see this before? That's because the dd-trace-rb pinning was not there when we initially added the 4.0.0-preview2 headers in #19. Then the pinning was added on the dd-trace-rb side and it silently created this problem for datadog-ruby_core_source CI.
How to test the change?
CI should be green after this change.