Upgrade Rails 7.1 -> 7.2
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 38/100
調査の方向性
まず Rails の依存関係の範囲と、2 件のブロッカー issue、#881 および #882 を確認します。bin/rails app:update を実行し、config.load_defaults は 7.1 のままにして、生成された 7.2 のデフォルトはコメントアウトした状態で残し、config/initializers/new_framework_defaults_7_1.rb を廃止します。完全なテストスイートが deprecation を raise する設定で通過し、staging の soak が完了すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Why
First framework step. With the prep and the two blocker gems done, this should be close to mechanical. Verified to resolve cleanly.
Scope
gem "rails", "~> 7.2.0"- Keep
config.load_defaultsat 7.1. Runbin/rails app:update, take the generatednew_framework_defaults_7_2.rbwith every option still commented. Enabling them is a separate issue — upgrading the framework and changing its behaviour are two different changes, and some defaults alter serialization formats that must not flip in the same deploy. config/initializers/new_framework_defaults_7_1.rbcan be retired: it is already fully worked through andload_defaults 7.1is set, so it is bookkeeping.Rails.application.secretsis removed in 7.2 — already handled by the prep issue.
Note Rails 7.2 requires Ruby >= 3.1, so this lands fine on the current Ruby 3.2.3.
Acceptance criteria
- Full suite green with deprecations raising
-
load_defaultsstill 7.1 - Staging soak before the defaults are flipped
Blocked by
#881 (Mongoid 9) and #882 (Globalize 7) — both hard resolution blockers. Blocks #884 and #885.
Part of the Ruby + Rails upgrade sequence. Ruby 3.2 reached end of life on 2026-04-01 and the backend is on Rails 7.1; the goal is Ruby 3.4.10 and Rails 8.1, in steps that each keep CI green and are independently deployable.
- 主要言語
- Ruby
- スター
- 50
- フォーク
- 21
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
rubyforgood/Flaredown のほかの issue
-
Four API faults found while backfilling coverage, documented but unfixed対応中かも @suttondemlong が 48 日前に担当しました。 オープンlanguage:ruby type:bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
rubyforgood/Flaredown#913 · コメント 1 件 ·
-
Coverage is measured differently locally and on CI, hiding 68 untested app files対応中かも @suttondemlong が 49 日前に担当しました。 オープンlanguage:ruby type:bug
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
rubyforgood/Flaredown#911 · コメント 1 件 ·
-
type:infrastructure
難易度 3/5 1〜2日 初心者へのやさしさ 76/100
rubyforgood/Flaredown#904 ·
-
type:infrastructure
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
rubyforgood/Flaredown#888 ·
-
type:infrastructure
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
rubyforgood/Flaredown#887 ·
rubyforgood/Flaredown の issue をすべて見る
似ている issue
-
area:core-lib P2 size:S
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
bug P2
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
Bug: Credit card Plaid link fails for issuers without Liabilities (e.g. Bilt Rewards)対応中かも @WeiqiZhou2002 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
we-promise/sure#4544 ·
メンテナーはふだん 1 日以内に返信