The Real Fullstack

The Failed Production Release

The tests were green and the rollback button exists. Why is production still down after pressing it?

Architect15 minDebugging labTimeline simulator
kubernetesgithub-actionspostgresqlopenapiflyway
Mission: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).Context · Learning objectives ▾

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.

Mission: 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).

Learning objectives

  • Understand why schema changes make rollbacks one-way.
  • Apply expand/contract and backward-compatible APIs.
  • Shift detection left with contract tests.
SimulationSimulated
CI/CDCheckout podsPostgreSQLAndroid 3.2
Run simulation
  • 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