Skip to content

Fix CI on Ubuntu 26.04 by testing Ruby series, not exact patches - #137

Merged
Rabsztok merged 1 commit into
mainfrom
fix-ci-ubuntu-26-04
Oct 29, 2026
Merged

Rabsztok merged 1 commit into
mainfrom
fix-ci-ubuntu-26-04

Conversation

@Rabsztok

@Rabsztok Rabsztok commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Motivation

CI on main fails since ubuntu-latest switched to Ubuntu 26.04: Unavailable version 3.4.8 for ruby on ubuntu-26.04, and fail-fast cancels the other jobs. ruby-builder only publishes 26.04 builds for the latest patch of each series, so the pinned 3.3.10, 3.4.8 and 4.0.1 can't be installed there.

Changes

  • The CI matrix lists the series 3.3, 3.4, 4.0 instead of exact patches. setup-ruby resolves each to its latest release (currently 3.3.13, 3.4.12, 4.0.9), so the matrix keeps working when the runner image moves again.
  • Job names change from Ruby 3.3.10 to Ruby 3.3 and so on. None of them are required checks.

How to test

  • Ruby 3.3, Ruby 3.4 and Ruby 4.0 pass on this PR

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated the Ruby CI matrix to use the 3.3, 3.4, and 4.0 release series, allowing the latest compatible patch release to be selected.

@coderabbitai

coderabbitai Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 56 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
Commits

Reviewing files that changed from the base of the PR and between 64d3a80 and 209c3d8.

Files selected for processing: 1
  • .github/workflows/main.yml

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 740f079 and 64d3a80.

Files selected for processing: 1
  • .github/workflows/main.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Walkthrough

The Ruby CI matrix now specifies the 3.3, 3.4, and 4.0 release series. Comments state that setup-ruby resolves each series to the latest release built for the current ubuntu-latest image.

Changes: Ruby CI matrix

Layer / File(s) Summary
Update Ruby matrix versions
.github/workflows/main.yml
The matrix replaces Ruby patch versions with the 3.3, 3.4, and 4.0 release series. Comments describe how setup-ruby resolves these series.

Priority: Normal

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Bug fix

Suggested reviewers: i7an

Merge Risk: Minimal · previous review 64d3a

The Ruby matrix update has no identified merge-blocking issue and is mergeable subject to normal CI checks.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly identifies the CI fix and the change from exact Ruby patches to Ruby release series.
Description check Passed The description includes the motivation, changes, and testing sections. It omits the Images and GIFs section, but the required technical information is complete.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
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.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

ubuntu-latest now runs Ubuntu 26.04, and ruby-builder only has 26.04
builds for the latest patch of each series (3.3.13, 3.4.12, 4.0.9).
The pinned 3.3.10, 3.4.8 and 4.0.1 fail to install there. Listing the
series lets setup-ruby pick the latest patch, which keeps working when
the runner image moves again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Rabsztok
Rabsztok merged commit 20e6632 into main Oct 29, 2026
4 checks passed
@Rabsztok
Rabsztok deleted the fix-ci-ubuntu-26-04 branch October 29, 2026 12:12
@github-actions github-actions Bot mentioned this pull request Oct 29, 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.

3 participants