Skip to content

ci: make the ruby 4.0 build required - #4137

Merged
tvdeyen merged 1 commit into
mainfrom
ci-ruby-4-required
Aug 7, 2026
Merged

ci: make the ruby 4.0 build required#4137
tvdeyen merged 1 commit into
mainfrom
ci-ruby-4-required

Conversation

@tvdeyen

@tvdeyen tvdeyen commented Aug 7, 2026

Copy link
Copy Markdown
Member

What is this pull request for?

The Rails 8.0 / Ruby 4.0 matrix leg was marked experimental: true, so it ran with continue-on-error and a failure there passed the build silently. Ruby 4.0 has proven stable against the suite, so this promotes that leg to a required build — a Ruby 4.0 regression now blocks instead of going unnoticed.

It was the only leg using experimental, which left continue-on-error: ${{ matrix.experimental == true }} referencing an undefined key (always false), so both are removed together rather than leaving dead config. If an experimental leg is needed again later, re-adding experimental: true plus the continue-on-error line restores the mechanism.

This is independent of the Codecov upload changes — the Ruby 4.0 leg does not upload coverage (that step is gated to ruby == '3.4'), so nothing here affects coverage reporting.

Notable changes (remove if none)

A Ruby 4.0 test failure will now fail CI and block merges, where previously it was tolerated.

Checklist

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change

@tvdeyen
tvdeyen requested a review from a team as a code owner August 7, 2026 09:56
Ruby 4.0 has proven stable against the suite, so its matrix leg no longer needs
to be allowed to fail. It was the only leg using experimental, which also made
continue-on-error inert, so both are removed. A Ruby 4.0 regression now blocks
the build instead of passing silently.
@tvdeyen
tvdeyen force-pushed the ci-ruby-4-required branch from 3352035 to b53d0cc Compare August 7, 2026 10:00
@codecov

codecov Bot commented Aug 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.27%. Comparing base (918054f) to head (b53d0cc).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4137   +/-   ##
=======================================
  Coverage   98.27%   98.27%           
=======================================
  Files         351      351           
  Lines        9239     9239           
=======================================
  Hits         9080     9080           
  Misses        159      159           
Flag Coverage Δ
mariadb 96.81% <ø> (ø)
postgresql 95.68% <ø> (?)
sqlite 95.68% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@tvdeyen
tvdeyen merged commit 28f8ed4 into main Aug 7, 2026
28 checks passed
@tvdeyen
tvdeyen deleted the ci-ruby-4-required branch August 7, 2026 11:25
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