Skip to content

Add Ruby 4.0 to GitLab install-dependencies matrix#5656

Merged
p-datadog merged 1 commit into
masterfrom
ci/gitlab-ruby-4-0-install-deps
May 1, 2026
Merged

Add Ruby 4.0 to GitLab install-dependencies matrix#5656
p-datadog merged 1 commit into
masterfrom
ci/gitlab-ruby-4-0-install-deps

Conversation

@p-datadog

Copy link
Copy Markdown
Member

What does this PR do?

Adds "4.0" to the RUBY_VERSION matrix for the install-dependencies job in .gitlab-ci.yml, and removes the TODO that gated it.

Motivation:

The build-image (line 49) and promote-image (line 85) matrices already list "4.0". The install-dependencies job was the only matrix in this file still missing it, gated on:

# TODO: Ruby 4.0 - Not added here yet to avoid increasing SSI OCI image size and adding premature support for 4.0.

With Ruby 4.0 now an officially supported runtime (see PR #5655 documenting it in Compatibility.md), the "premature support" rationale no longer holds and the install-dependencies matrix should match the others.

Change log entry

None.

Additional Notes:

Companion to #5655 (docs side of Ruby 4.0 support).

How to test the change?

GitLab CI will run the install-dependencies job for RUBY_VERSION=4.0 on both amd64 and arm64. A green pipeline confirms the OCI image builds and resolves dependencies on Ruby 4.0.

The build-image and promote-image matrices already include 4.0; the
install-dependencies job was the lone holdout, gated on a TODO that
described 4.0 support as premature. With Ruby 4.0 now officially
supported, add it to the matrix and drop the TODO.
@p-datadog p-datadog added the AI Generated Largely based on code generated by an AI or LLM. This label is the same across all dd-trace-* repos label Apr 30, 2026
@p-datadog
p-datadog requested a review from a team as a code owner April 30, 2026 19:16
@p-datadog p-datadog added the AI Generated Largely based on code generated by an AI or LLM. This label is the same across all dd-trace-* repos label Apr 30, 2026
@dd-octo-sts dd-octo-sts Bot added the dev/ci Involves CircleCI, GitHub Actions, or GitLab label Apr 30, 2026
@datadog-prod-us1-6

datadog-prod-us1-6 Bot commented Apr 30, 2026

Copy link
Copy Markdown

Tests

🎉 All green!

❄️ No new flaky tests detected
🧪 All tests passed

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 97.20% (-0.03%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: d6a6701 | Docs | Datadog PR Page | Give us feedback!

@ivoanjo ivoanjo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

👍 LGTM

@p-datadog
p-datadog merged commit fa0c090 into master May 1, 2026
139 of 140 checks passed
@p-datadog
p-datadog deleted the ci/gitlab-ruby-4-0-install-deps branch May 1, 2026 13:49
@dd-octo-sts dd-octo-sts Bot added this to the 2.32.0 milestone May 1, 2026
@eregon

eregon commented May 4, 2026

Copy link
Copy Markdown
Member

The 4.0 Docker image seems missing somehow, see failed jobs at https://github.com/DataDog/dd-trace-rb/commits/master (and on any new PR)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI Generated Largely based on code generated by an AI or LLM. This label is the same across all dd-trace-* repos dev/ci Involves CircleCI, GitHub Actions, or GitLab

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants