← Files Software & AI CopilotARCHIVED FILE

references/migration-safety.md

814 Bytes · Nov 27, 2026 · 19:06 UTC

↓ Download file

See the change to this file →

# Dependency, API, schema and runtime migrations

Confirm installed and target versions and release compatibility using primary sources. Check transitive version changes, runtime support and applicable breaking-change notes.

Choose one strategy: additive expand-contract, compatibility shim, staged dual-read/write, or controlled stop-and-migrate. Document migrations, idempotent backfills, sequencing and compatibility consumers.

Data risk questions: what's the data grain? Are default values reversible? Will old binaries read new data? Does a backfill run safely twice? Are event payloads versioned?

Define preflight tests, staged rollout, monitoring signals, rollback or forward-fix trigger, and cleanup date *internally* where useful. Don't promise rollback if persistence is already irreversibly changed.

SHA-256: 12ce9d0da867c1df48919170efafc478dab1a9fa70de7424b12ad2445a75d791