The Failed Production Release
The tests were green and the rollback button exists. Why is production still down after pressing it?
この課題はまだ日本語に翻訳されていません。英語版を表示しています。
ミッション:Stop the bleeding (DevOps), restore compatibility and safe rollbacks (Backend), make sure this can't reach production undetected again (Reliability), then resolve everything as one team (Fullstack).
Brightcart's release 5.0 renamed orders.address to shipping_address in a Flyway migration that ran before the rollout. Old pods failed immediately, Android 3.2 crashed on the missing field, and rolling back the image didn't help because the old code needs a column that no longer exists.
ミッション: Stop the bleeding (DevOps), restore compatibility and safe rollbacks (Backend), make sure this can't reach production undetected again (Reliability), then resolve everything as one team (Fullstack).
学習目標
- Understand why schema changes make rollbacks one-way.
- Apply expand/contract and backward-compatible APIs.
- Shift detection left with contract tests.
シミュレーションシミュレーション値
- 09:00INFOpipelinerelease 5.0: Flyway V88__rename_address.sql (ALTER TABLE orders RENAME COLUMN address TO shipping_address) then rollout
- 09:02ERRORcheckout v4 podsPSQLException: column "address" does not exist (pods not yet replaced)
- 09:03ERRORandroid 3.2JSON parse error: required field "address" missing
- 09:05WARNon-callkubectl rollout undo → v4 pods crash on the same missing column
- ciINFOpipelineunit + integration tests green (run against the new schema only); no consumer contract tests