Skip to content

ci: upgrade Ruby 4.0.x and fix bundled Bundler on ruby-head - #1352

Merged
suketa merged 3 commits into
mainfrom
upgrade-ruby-400-cli
May 15, 2026
Merged

suketa merged 3 commits into
mainfrom
upgrade-ruby-400-cli

Conversation

@suketa

@suketa suketa commented May 15, 2026 •

Copy link
Copy Markdown
Owner

Changes

Summary by CodeRabbit

  • Chores
    • Updated continuous integration test matrices to use Ruby 4.0.4 across macOS and Ubuntu (4.0.3 on Windows).
    • Enhanced CI workflow configuration for improved Bundler compatibility on Ruby head versions.

Review Change Stack

suketa and others added 2 commits May 15, 2026 13:13
…dows

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Released Bundler is broken on ruby-head due to ruby/ruby#16895.
Use Ruby's bundled Bundler until ruby/rubygems#9529 is released.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented May 15, 2026 •

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

Three GitHub Actions CI workflow files are updated consistently to bump Ruby versions and introduce conditional Bundler configuration. macOS and Ubuntu test matrices advance from Ruby 4.0.3 to 4.0.4; Windows advances from 4.0.1 to 4.0.3. A BUNDLER_VERSION environment variable is added to all three workflows, set to '0' for ruby-head (to use bundled Bundler) and empty otherwise.

Changes

CI Workflow Matrix and Bundler Configuration

Layer / File(s) Summary
Test Matrix and Bundler Environment Configuration
.github/workflows/test_on_macos.yml, .github/workflows/test_on_ubuntu.yml, .github/workflows/test_on_windows.yml
Ruby version matrix updated to 4.0.4 (macOS/Ubuntu) and 4.0.3 (Windows). Conditional BUNDLER_VERSION environment variable added to use Ruby's bundled Bundler for ruby-head, addressing known Bundler compatibility issues.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related issues

Possibly related PRs

  • suketa/ruby-duckdb#944: Modifies Windows CI matrix Ruby versions with related Bundler/workflow configuration handling.
  • suketa/ruby-duckdb#992: Updates CI Ruby test matrices in the same workflow files to adjust Ruby 4.0.x versions.
  • suketa/ruby-duckdb#1338: Updates GitHub Actions CI Ruby versions in Ubuntu/macOS workflows by bumping Ruby 4.0.x.

Poem

🐰 A matrice of versions now dance in align,
From 4.0.3 to 4.0.4, Ruby's design,
Bundlers behave when the head flag appears,
CI workflows fixed, dispelling the fears! 🚀

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The pull request title accurately summarizes the main changes: upgrading Ruby versions and fixing Bundler behavior on ruby-head across all CI platforms.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch upgrade-ruby-400-cli

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

ucrt and mswin are Ruby 4.1.0dev and hit the same broken Bundler issue.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@suketa
suketa merged commit 46e16e5 into main May 15, 2026
45 checks passed
@suketa
suketa deleted the upgrade-ruby-400-cli branch May 15, 2026 04:33
@coderabbitai coderabbitai Bot mentioned this pull request May 22, 2026
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