This repository has been archived by the owner on Feb 8, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 308
Prevent failures during and after release #2487
Labels
Comments
I just merged and deployed #2352. To avoid new transient errors in sentry I ran |
Reprioritized from ★★★ to TeamX ★ since this is deployment-related instead of user-facing. |
@whit537 It very much affects users when requests fail or the app crashes. |
Okay, changed back. :-) |
@whit537 |
liberapay/postgres.py#26 is fixed, closing this. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Yesterday we had trouble when deploying #2451 and #2485. Here's what happened:
After manually adding the content of
branch.sql
toschema.sql
, I ran the following command:heroku pg:psql -a gittip <branch.sql && git rm branch.sql && git add schema.sql && git commit -m 'merge branch.sql into schema.sql' && git push && ./release.sh 13.1.6
The two changes that ended up causing failures are:
branch.sql
from Add an is_closed attribute to Participant #2485 that I applied before runningrelease.sh
. Doing so shouldn't have caused any problem because the SQL only added a column to a table, which is a retro-compatible change. Unfortunately there's a bug in the libraries we use to interact with Postgresql, so most (if not all) HTTP requests failed in the time between the application ofbranch.sql
and the completion ofrelease.sh
.TESTING
environment created by Fix regression from #2379 #2451. I forgot to add it on Heroku, sorelease.sh
worked but the newly deployed app crashed immediately.The solutions are:
release.sh
.The text was updated successfully, but these errors were encountered: