Managing version upgrades without feelings of terror
summary
Concrete checklist and tactics for safer Airflow upgrades: add integration test dags that exercise real connectors (example: SQL Server -> S3 -> Snowflake) and run them in a disposable test cluster; prefer the slim image so provider versions are explicit; preview migrations with airflow db upgrade --sql and shrink metastore with airflow db clean before migrate; track provider vs core semver in constraints, clear deprecation warnings early, and rehearse downgrades and full restores so rollback is practiced and time estimates are known.
AI-written summary · about
chapters (11)
- 0:00Introduction to Airflow upgrades
- 1:26Common upgrade failure modes
- 2:28DAGs failing to parse
- 3:10DAGs failing on execution
- 5:19Airflow versioning nuances
- 7:44Provider version conflicts
- 9:54Handling deprecation warnings
- 10:17Database migration risks
- 12:45Testing migration strategies
- 14:10Post-upgrade bugs and regressions
- 16:58Rollback and recovery plans
