Reproduce the sequence CI skips#
Suppose CI creates a fresh database, applies every migration, then starts only the newest worker. A migration can remove a column and pass that test even though a previous worker still selects it. Start the previous worker against the migrated schema and exercise the query it uses during the overlap.
If the query fails, you have established a compatibility defect for those versions. To decide whether this release is exposed, find the deployed worker version and when the migration runs. Add the missing compatibility case to CI when the team supports that overlap. After deployment, verify which revision actually started. Try the PostgreSQL rollback exercise ยท Google Cloud Deploy verification