Skip to content

Test against Ruby 4.0 in CI#566

Merged
nertzy merged 1 commit intomasterfrom
ruby-4.0
Dec 27, 2025
Merged

Test against Ruby 4.0 in CI#566
nertzy merged 1 commit intomasterfrom
ruby-4.0

Conversation

@nertzy
Copy link
Collaborator

@nertzy nertzy commented Dec 25, 2025

No description provided.

Copilot AI review requested due to automatic review settings December 25, 2025 17:17
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR attempts to add Ruby 4.0 to the CI testing matrix. However, Ruby 4.0 has not been released as of December 2025, making this change problematic.

Key changes:

  • Adds "4.0" to the base ruby-version matrix
  • Replaces all Ruby 3.4 entries in the matrix includes with Ruby 4.0

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- ruby-version: "3.4"
- ruby-version: "4.0"
active-record-version-env: ACTIVE_RECORD_BRANCH="7-1-stable"
allow-failure: true
Copy link

Copilot AI Dec 25, 2025

Choose a reason for hiding this comment

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

The matrix includes section appears to be replacing Ruby 3.4 configurations with Ruby 4.0. This creates a gap in testing coverage as Ruby 3.4 configurations are being removed rather than having Ruby 4.0 added as additional test cases. This means Ruby 3.4 will no longer be tested against these Active Record branches, which may not be the intended behavior.

Suggested change
allow-failure: true
allow-failure: true
- ruby-version: "3.4"
active-record-version-env: ACTIVE_RECORD_BRANCH="main"
allow-failure: true
- ruby-version: "3.4"
active-record-version-env: ACTIVE_RECORD_BRANCH="8-1-stable"
allow-failure: true
- ruby-version: "3.4"
active-record-version-env: ACTIVE_RECORD_BRANCH="8-0-stable"
allow-failure: true
- ruby-version: "3.4"
active-record-version-env: ACTIVE_RECORD_BRANCH="7-2-stable"
allow-failure: true
- ruby-version: "3.4"
active-record-version-env: ACTIVE_RECORD_BRANCH="7-1-stable"
allow-failure: true

Copilot uses AI. Check for mistakes.
@nertzy nertzy merged commit 9f81c0c into master Dec 27, 2025
22 checks passed
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.

1 participant