Problem
Feed ingestion, catalogue building, indexing and warehouse uploads depended on scheduled Airflow workflows. Pricesearcher needed to migrate from Airflow 1 to Airflow 2 without losing those jobs, and make freshness alerts reflect the actual cadence of each feed.
Constraints
Existing DAGs, dependencies, metadata and infrastructure had to survive a version change and later move to managed Airflow. A single daily freshness threshold would flag healthy weekly feeds and undermine trust in monitoring.
Solution
Airflow continued to orchestrate the data pipelines, with scheduled validation tasks alongside production DAGs. SNS and CloudWatch events passed through Lambda into Slack. Terraform and deployment tooling supported the migration and ongoing infrastructure operation.
My Role
I upgraded DAGs, configuration and infrastructure to Airflow 2.1.3, resolved dependency conflicts and worked through the metadata migration and subsequent move to managed Airflow. I added validation tasks and Slack notifications; maintained query expansion, merchant/brand enrichment and Spark price-history uploads; and updated vulnerable dependencies, idle-instance shutdown tooling and web application firewall rules.
Technologies
Python, Apache Airflow, AWS (Lambda, Batch, S3, SNS, CloudWatch), Docker, Terraform, Slack.
Engineering Challenges
- Migrating the control plane while preserving the work: The Airflow version, dependencies, DAG configuration and metadata all had to move together; updating task code alone would not keep scheduled pipelines operating.
- Alert semantics matter: I matched freshness grace periods to feed schedules instead of applying a universal threshold. Otherwise an alert could indicate a healthy weekly feed rather than a data failure.
- Reaching the people who can act: SNS/CloudWatch-to-Slack routing put operational failures in the team’s existing channels, rather than leaving them in an isolated scheduler UI.
Outcome
The orchestration layer moved to Airflow 2 and subsequently managed infrastructure. Validation and notifications became part of the operational workflow, with freshness checks that respected feed cadence. No migration downtime or alert-reduction metric is available to publish.