gravitystorm created an issue (openstreetmap/openstreetmap-website#5847)

We have code to run the migrations in CI, mostly to make sure that when they 
run, they produce the same results as structure.sql

When we upgraded to Rails 8, however, these migrations no longer run. I believe 
it's because, if rails spots an empty database, it now ignores the migrations 
and just runs the structure - but I'm not yet certain on that.

Here's two CI runs to compare, 
[before](https://github.com/openstreetmap/openstreetmap-website/actions/runs/13957644201/job/39072542124)
 and 
[after](https://github.com/openstreetmap/openstreetmap-website/actions/runs/14069719853/job/39400815755)
 the rails 8 upgrade

![Image](https://github.com/user-attachments/assets/cde31140-1a02-4f85-91c6-add60c8f9aab)

![Image](https://github.com/user-attachments/assets/02ed4d55-557b-4eef-9dba-caf64a566554)

We need to figure out how to make rails 8 actually run the migrations.

(This new behaviour also masked #5845 / #5846 from being detected by CI)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5847
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/5...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to