Shipped migration-parity detection for the Mana Foil app, exposing schema drift through the health endpoint and an hourly worker probe.
After splitting the app’s production and staging databases, the risk was a worker running against a schema its migrations had not reached. These changes make that condition visible instead of silent: the health endpoint reports whether applied migrations match the code’s expectations, and an hourly worker job probes that endpoint so drift is caught between deploys rather than by a user. The work landed as reviewed pull requests with the release procedure documented alongside it.
Evidence
3 artifacts
- Pull request
- Pull request Templeton-Orrery/Mana-Foil-App#820 feat(health): migration-parity detection, /api/health plus hourly worker leg (FLOW-027)
- Pull request Templeton-Orrery/Mana-Foil-App#861 feat(health): hourly worker probes the always-fresh /api/health
- Pull request Templeton-Orrery/Mana-Foil-App#818 docs(release): FLOW-026, the worker leg of the database split