Actions
Idea #20300
closedRailsAPI upgrade from 5.2 to 7.0
Status:
Resolved
Priority:
Normal
Assigned To:
Category:
API
Target version:
Start date:
10/06/2023
Due date:
Story points:
5.0
Release:
Release relationship:
Auto
Description
According to this website, Rails 6.0 will be EOLed in June, so we need to upgrade at least to 6.1
Need to do this to stay on a maintained version of Rails for security fixes.
This is also necessary to support Ubuntu 22.04+, Debian 12+, and RHEL 9+: those distributions have OpenSSL 3.0, which is only supported by Ruby 3.x, which is only supported by Rails 6.
This ticket includes transient dependencies like our google-api-client fork:
Bundler could not find compatible versions for gem "activesupport": In Gemfile: arvados (~> 2.1.5) was resolved to 2.1.5, which depends on arvados-google-api-client (>= 0.7, < 0.8.9) was resolved to 0.8.7.4, which depends on activesupport (>= 3.2, < 5.3) rails (~> 6.0.0) was resolved to 6.0.1.rc1, which depends on activesupport (= 6.0.1.rc1)
Should investigate going up to 7.0 if possible to extend the runway of how long we have to worry about upgrading again.
Should review the Gemfile to see if there are gems that we don't use that don't need to be there.
Related issues
Actions