Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Upgrade Rails 8.0 -> 8.1

Aperta
#888 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rails, ruby
Ambito
backend, devops

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

type:infrastructure

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.2 caps rack < 3 and actionpack 8.1 only needs rack >= 2.2.4. So this does not block the upgrade — but it leaves the app on omniauth 1.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.yml and 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

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di rubyforgood/Flaredown

Tutte le issue di rubyforgood/Flaredown

Issue simili

Altre issue su Ruby

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.