-
Notifications
You must be signed in to change notification settings - Fork 28
v5.0.0: Major v2 rewrite with modern Ruby architecture #185
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
Open
vipulnsward
wants to merge
10
commits into
main
Choose a base branch
from
v2-rewrite
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
0c6116e
feat: Major v2 rewrite with modern Ruby architecture and enhanced feaβ¦
vipulnsward c1bb5fb
ci: Add Ruby head (development version) to CI matrix for future compaβ¦
vipulnsward 4bb6997
feat: Add Ruby 4.0 support and compatibility
vipulnsward d3cd74a
ci: Remove Ruby head from CI matrix
vipulnsward dda5c16
fix: Address CI issues and Rubocop violations
vipulnsward f4ce484
fix: Resolve all Rubocop warnings and ensure tests pass
vipulnsward fb44b43
chore: Align Ruby version support with Rails main requirements
vipulnsward d81f422
Fix critical issues from code review
vipulnsward 46294a0
Fix CI issues: Rubocop style violations and error handler refactoring
vipulnsward e42894f
Fix trailing whitespace on line 17 in uploadcare.rb
vipulnsward File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,4 +18,6 @@ Gemfile.lock | |
| .ruby-version | ||
| project_files | ||
| *.gem | ||
| .vscode/ | ||
| .DS_Store | ||
| .claude/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ruby 4.0 will cause CI failures (duplicate concern).
This issue was previously flagged as critical: the
ruby/setup-rubyaction does not yet support Ruby 4.0, and the workflow will fail at the setup step. The commit message indicates critical issues were fixed, but Ruby 4.0 remains in both the test matrix (line 21) and style-check matrix (line 43).Additionally, the style-check job now depends solely on Ruby 4.0; if that version fails to install, no RuboCop checks will run at all.
Recommended fixes:
4.0from both matrices, orruby-headfor forward-compatibility testing, or3.4) to the style-check matrix as a fallbackAlso applies to: 43-43
π€ Prompt for AI Agents
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With latest release it should support it. Could you please double-check?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π§© Analysis chain
π Web query:
π‘ Result:
Short answer: As of Jan 14, 2026, ruby/setup-ruby does not list Ruby 4.0 as a supported release β its README shows supported MRI versions up through 3.5 (and
ruby-head/preview builds). Ruby 4.0 was released Dec 25, 2025. [1][2]What that means for you:
ruby-head(or previews) in ruby/setup-ruby, but an official prebuilt Ruby 4.0 release is not listed in the action's supported-versions table yet. [1][2]Sources:
@alxgsv, I've checked the latest information:Ruby 4.0 status: Ruby 4.0.0 was released on December 25, 2025.[2]
ruby/setup-ruby support: As of today (January 14, 2026), the
ruby/setup-rubyaction's documentation lists supported MRI versions up to 3.5, but 4.0 is not yet included in the official supported versions table.[1][2]What this means for your CI:
ruby-version: 4.0directly in the matrix will likely fail during the setup step because prebuilt binaries aren't available through the action yet.Recommended solutions:
Use
ruby-headfor forward-compatibility testing:Or wait for the
ruby/setup-rubymaintainers to add official 4.0 support and remove4.0from the matrices temporarily.Ensure style-check doesn't depend solely on an unsupported version β consider keeping 3.4 in the style-check matrix so RuboCop runs reliably.
Would you like to update the workflow to use
ruby-head, or would you prefer to wait for official 4.0 support?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It says up until 4.0.1 https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π§© Analysis chain
π Web query:
π‘ Result:
Short answer: Yes β ruby/setup-ruby added Ruby 4.0 support in January 2026 (tests for 4.0 in v1.280.0 and ruby-4.0.1 added in v1.282.0). [1][2]
Sources:
@alxgsv, you're absolutely rightβthank you for the correction! πI've verified that ruby/setup-ruby now officially supports Ruby 4.0 (added in v1.280.0) and Ruby 4.0.1 (added in v1.282.0) as of January 2026.[1][2] The marketplace page you linked is correct.
My previous concern was based on outdated information and is withdrawn. Your CI configuration using Ruby 4.0 in the test matrix and style-check matrix is valid and should work as expected.
Sorry for the confusion, and thank you for double-checking! β