Upgrade Rails 8.0 -> 8.1
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Inizia con l’issue bloccata #887, poi esamina il vincolo sulla versione di Rails ed esegui bin/rails app:update. Controlla i valori predefiniti del framework 8.1 e il modo in cui influenzano i formati di serializzazione; il lavoro è completato quando l’intera suite è verde e staging ha completato il proprio soak prima di production.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Why
Final step. Verified that rails 8.1.3.1 resolves cleanly against this gem set today.
Scope
gem "rails", "~> 8.1.0",bin/rails app:update- Framework defaults for 8.1 handled the same way as the previous two: commented first, flipped in a separate deploy if any affect serialization formats
Acceptance criteria
- Full suite green
- Staging soak before production
Blocked by
#887 (Rails 8.0 defaults).
Known remaining work after this sequence
- OmniAuth 1.9 -> 2.x / Rack 2 -> 3. Rails 8.1 resolves fine while staying on Rack 2.2.24, because
omniauth 1.9.2capsrack < 3andactionpack 8.1only needsrack >= 2.2.4. So this does not block the upgrade — but it leaves the app onomniauth1.x, which carries CVE-2015-9284 (authentication request forgery). Fixing it changes the auth request from GET to POST with a CSRF token, which breaks both the Ember and native clients until they are updated. Deserves its own issue and its own schedule. - AMS 0.9.8 -> 0.10.x, or off AMS entirely. The pin is a deliberate freeze, not a fix.
- PostgreSQL 12.8 and MongoDB 4.4.9 are both past end of life in
docker-compose.ymland CI.
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.
- Lingua principale
- Ruby
- Stelle
- 50
- Fork
- 21
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di rubyforgood/Flaredown
-
Four API faults found while backfilling coverage, documented but unfixedForse già presa @suttondemlong l’ha presa 46 giorni fa. Apertalanguage:ruby type:bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
rubyforgood/Flaredown#913 · 1 commento ·
-
Coverage is measured differently locally and on CI, hiding 68 untested app filesForse già presa @suttondemlong l’ha presa 47 giorni fa. Apertalanguage:ruby type:bug
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
rubyforgood/Flaredown#911 · 1 commento ·
-
type:infrastructure
Difficoltà 3/5 1-2 giorni Idoneità per principianti 76/100
rubyforgood/Flaredown#904 ·
-
type:infrastructure
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
rubyforgood/Flaredown#887 ·
-
type:infrastructure
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
rubyforgood/Flaredown#886 ·
Tutte le issue di rubyforgood/Flaredown
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
rubyevents/rubyevents#2277 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 92/100
I maintainer di solito rispondono entro 2 giorni