...
- Freeze code
- Test deploy to staging
- turn on
ENV
feature flag in staging - Sync prod database to staging
- Deploy holding branch to staging
- run rake task to migrate data
rake scihist:data_fixes:migrate_oh_request_email
- test staging
- Merge holding branch into master
- Deploy master to production (but with feature flag off)
- Run rake task to migrate production data
rake scihist:data_fixes:migrate_oh_request_email
- Announce new features are about to be turned on
- turn on feature flag in production
- Prepare separate PR to remove old db column and associated logic
- Remove code on the “old” side of the feature flag and obsolete code paths from code
- Remove now-obsolete Heroku ENV setting governing the feature in prod and staging
- Mid- to late-March: prioritize Prioritize remaining work.