Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken CI on Ruby 3.1 #2029

Merged
merged 2 commits into from
Oct 2, 2024
Merged

Fix broken CI on Ruby 3.1 #2029

merged 2 commits into from
Oct 2, 2024

Conversation

dirceu
Copy link
Contributor

@dirceu dirceu commented Oct 2, 2024

We have a test that was pointing to rails#main; however, main / Rails 8 has dropped support for Ruby 3.1 so the test started failing. The test does seem valuable so we're pointing to rails#7-2-stable instead.

This won't solve everything though: the CI matrix combination of ruby 3.1 + rails main will be broken.

Another option here could be to remove 3.1 from CI; this might be OK given we no longer support that version at Shopify.

#2029 (comment)

We have a test that was pointing to rails#main; however, main / Rails
8 has dropped support for Ruby 3.1 so the test started failing. The
test does seem valuable so we're pointing to rails#7-2-stable instead.
@dirceu dirceu requested a review from a team as a code owner October 2, 2024 18:30
@dirceu dirceu added the chore label Oct 2, 2024
Copy link
Contributor

@KaanOzkan KaanOzkan left a comment

Choose a reason for hiding this comment

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

This won't solve everything though: the CI matrix combination of ruby 3.1 + rails main will be broken.

rails main should be experimental and always passing. But if not we can skip this test in that particular setup.

EDIT: Okay the issue is experimental only plays a part in running tests and not during setup-ruby.

@dirceu
Copy link
Contributor Author

dirceu commented Oct 2, 2024

Just pushed another commit to exclude the Ruby 3.1 + Rails main combination; if CI gets green I'll merge it.

@dirceu dirceu enabled auto-merge October 2, 2024 19:18
@dirceu dirceu merged commit f518d0b into main Oct 2, 2024
27 checks passed
@dirceu dirceu deleted the fix-broken-test-ruby-31 branch October 2, 2024 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants