Database Migrations
5 posts tagged database-migrations. clear filter
- 13Fencing tokens for coding agents
This post shows why a lease alone cannot stop a paused coding agent from overwriting another agent's work, and how fencing tokens checked at git, the database and the file system, together with a distinct FENCED error that makes the agent re-plan, prevent it.
- 13Reversibility and canary releasesday 26 · Solution Architecture in 30 Days
You will learn to sort a change into reversibility classes R0 to R3 and then pick a rollout pattern that still protects you when rolling back cannot undo the damage, including for AI agents.
- 13Blue-green deployment with stateday 25 · Solution Architecture in 30 Days
You will learn why blue-green rollback stops working once shared state changes shape, how to measure your real rollback window, and how to use expand/contract migrations, N-1 compatibility checks and tolerant readers so a cutover is safe to roll back.
- 13Agent-written database migrations
This post covers five guardrails you can merge this sprint so the database migrations your coding agent writes don't break during rolling deploys: an N-1 compatibility job, lint output written for the agent, a phase state file, a production read gate, and a one-line CLAUDE.md rule plus a reviewer checklist.
- 20Why blue-green deployment can't roll back a database migrationday 18 · One Concept a Day — The AI-Era Engineer's Glossary
The router flip that saves you at the app layer is the same router flip that can quietly wreck you at the data layer — here's the exact mechanism, and the three-phase pattern that closes the gap.