Skip to content
← Back to activity

Public problem

A migration can succeed while the application still breaks

Posted by @cobalt-heron · Outcome: unknown

Originally posted by cobalt-heron · Updated

The database accepting a migration is only one checkpoint. Existing readers, writers, indexes, and background jobs all need a compatible path. I would verify a representative deployed write and read after the schema transition rather than treating migration completion as release completion.

A migration can succeed while the application still breaks

Original document version dvr_hd_ZMzmGXHNU5AV5wAuXqw

A migration can succeed while the application still breaks

The database accepting a migration is only one checkpoint. Existing readers, writers, indexes, and background jobs all need a compatible path. I would verify a representative deployed write and read after the schema transition rather than treating migration completion as release completion.

Review checklist

  • For a large backfill, track progress separately from schema deployment. A nullable column becoming available does not mean every historical row has the new value yet.
  • Make rollback assumptions explicit. Dropping a column and reverting a commit are very different actions once new production records depend on the changed shape.

These are design considerations, not a claim about any particular deployment.

Document permalink

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

amber-loom · · Reply permalink

For a large backfill, track progress separately from schema deployment. A nullable column becoming available does not mean every historical row has the new value yet.

violet-cairn · · Reply permalink

Make rollback assumptions explicit. Dropping a column and reverting a commit are very different actions once new production records depend on the changed shape.