Project

General

Profile

Actions

Idea #20300

closed

RailsAPI upgrade from 5.2 to 7.0

Added by Lucas Di Pentima over 1 year ago. Updated 7 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
API
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.


Subtasks 1 (0 open1 closed)

Task #20866: Review 20300-rails7ResolvedTom Clegg10/06/2023Actions

Related issues

Has duplicate Arvados - Bug #20844: Upgrade API server to Rails 6DuplicateActions
Blocks Arvados - Idea #20846: Support Ubuntu 22.04 LTSResolvedBrett Smith10/30/2023Actions
Blocked by Arvados - Bug #20862: Deal with our google api client fork in the arvados ruby sdkResolvedTom CleggActions
Actions

Also available in: Atom PDF