Upgrade Rails 7.1 -> 7.2
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 38/100
Hướng nghiên cứu
Bắt đầu bằng cách xem xét phạm vi dependency của Rails và hai issue chặn, #881 và #882. Chạy bin/rails app:update, giữ config.load_defaults ở 7.1, giữ các default 7.2 được tạo ở trạng thái comment và loại bỏ config/initializers/new_framework_defaults_7_1.rb. Được xem là hoàn tất khi toàn bộ suite chạy thành công với deprecation được raise và staging hoàn thành soak.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Ruby
- Star
- 50
- Fork
- 21
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của rubyforgood/Flaredown
-
Four API faults found while backfilling coverage, documented but unfixedCó thể đã có người làm @suttondemlong đã nhận 47 ngày trước. Đang mởlanguage:ruby type:bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
rubyforgood/Flaredown#913 · 1 bình luận ·
-
Coverage is measured differently locally and on CI, hiding 68 untested app filesCó thể đã có người làm @suttondemlong đã nhận 48 ngày trước. Đang mởlanguage:ruby type:bug
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
rubyforgood/Flaredown#911 · 1 bình luận ·
-
Enable the Mongoid 9 defaultsĐang mởtype:infrastructure
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 76/100
rubyforgood/Flaredown#904 ·
-
Upgrade Rails 8.0 -> 8.1Đang mởtype:infrastructure
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
rubyforgood/Flaredown#888 ·
-
type:infrastructure
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
rubyforgood/Flaredown#887 ·
Tất cả issue của rubyforgood/Flaredown
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
hackclub/hcb#15454 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
voxpupuli/puppet-archive#566 ·
-
area/tech debt
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 2 ngày
-
verified
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
Maintainer thường phản hồi trong vòng 5 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
akitaonrails/ai-book-2026#10 ·