Skip to content

Sync rails from Heroku production snapshot#1012

Open
luandro wants to merge 24 commits intoTerrastories:masterfrom
digidem:heroku-production-sync
Open

Sync rails from Heroku production snapshot#1012
luandro wants to merge 24 commits intoTerrastories:masterfrom
digidem:heroku-production-sync

Conversation

@luandro
Copy link

@luandro luandro commented Nov 3, 2025

Summary

Syncs our repository with the exact Rails/React snapshot currently deployed on Heroku
(terrastories app).
Heroku production/main contains a one-time export commit (576f922) that froze Ruby 3.2.4, Rails
7.1.3, Shakapacker 7.x, and the React 18-era dependencies. This PR commits that slug snapshot onto
origin/master so we can review and merge the deployed runtime back into version control.

What changed

  • Introduced .subdir, rails/Aptfile, and other Heroku slug scaffolding files from the deployed
    slug.
  • Updated rails/.ruby-version to 3.2.4, Gemfile/Ruby dependencies to the deployed set, and
    synced rails/Gemfile.lock.
  • Brought in the corresponding package.json, yarn.lock, and React/webpack configuration from
    Heroku (React 18, Shakapacker 7).
  • Added the E2E Cypress specs and spec mocks that ship in the production slug.
  • No code authored manually: every file originates from the deployed Heroku slug so we can align
    repo source with production.

Why

  • Current master still reflects the old 3.0.x / Rails 7.0 stack, while production has already
    moved ahead.
  • Capturing the slug in git makes the upgrade diff explicit and unblocks forward work (tests, deploy
    scripts, upgrade PRs).
  • Once merged, master will match what’s live, enabling future upgrades from a consistent baseline.

@luandro luandro requested a review from rudokemper November 3, 2025 21:41
@luandro
Copy link
Author

luandro commented Nov 23, 2025

@codex review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants