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

Enable the Rails 7.2 framework defaults

Aperta
#884 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 new_framework_defaults_7_2.rb e confronta le relative opzioni con quelle di new_framework_defaults_7_1.rb, in particolare le impostazioni relative alla serializzazione e le annotazioni sull’ordine di deployment. Conferma che #883 sia stato sottoposto a deployment e abbia avuto un periodo sufficiente di stabilizzazione, quindi abilita le opzioni in modo incrementale, imposta config.load_defaults su 7.2, elimina il file defaults ed esegui la suite completa; il lavoro è completato quando la CI è verde e viene eseguito un deployment separato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

type:infrastructure

Why

Separate from the framework bump because it is a deploy-ordering requirement, not review hygiene. Some framework defaults change the on-disk format of cached values and signed messages — cache_format_version, message_serializer and marshalling_format_version all did in 7.1, and the existing new_framework_defaults_7_1.rb carries the team's own "Does rolling deploy apply here?" annotations. A format flip must not ship in the same deploy as the framework bump, or old and new processes cannot read each other's data during the rollout.

Scope

  • Uncomment the options in new_framework_defaults_7_2.rb one group at a time
  • Bump config.load_defaults to 7.2 and delete the file once all are enabled
  • config.active_support.cache_format_version -> 7.2 only after the 7.2 code is fully deployed

For each option, check whether it affects a serialization format. If none of them do, this can be folded back into the Rails 7.2 issue — check rather than assume.

Acceptance criteria

  • Full suite green
  • load_defaults 7.2, defaults file deleted
  • Deployed separately from the framework bump

Blocked by

#883 (Rails 7.2), deployed and soaked. Blocks #886.


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.