Page MenuHomePhabricator

Revert image-suggestions DAG changes related to v0.12.0
Closed, ResolvedPublic

Description

While deploying a hotfix (T336800), we inadvertently deployed changes that were not ready for production for image-suggestions's Airflow DAG.

In this task we should revert that.

Details

Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
Revert v0.12.0 code for image-suggestionsrepos/data-engineering/airflow-dags!394xcollazoT336958-revert-0.12-image-suggestionsmain
Customize query in GitLab

Event Timeline

Deployed changes to platform_eng instance.

The following tasks were cleared for the run of 2023-05-08, 00:00:00 UTC:

hive_to_cassandra_suggestions
hive_to_cassandra_title_cache
hive_to_cassandra_instanceof_cache
check_data_and_push_metrics

Those tasks are running now...

check_data_and_push_metrics failed in the above run ... don't know why (yet), but I ran the script manually and marked the task as successful

I didn't think, however, to mark the whole DAG run as successful, so for the 2023-05-15 DAG run it used the 2023-04-24 snapshot instead of 2023-05-01 to generate the diffs for import into the search indices. Luckily search hadn't imported the 2023-05-01 diff, so we asked them to skip that and proceed with importing 2023-05-15

check_data_and_push_metrics failed again for the 2023-05-15 run. Marked it as successful so that next run doe the right thing.

I won't deploy, but since main is our production branch, we should avoid merging unless we are ready to deploy. Consider that Data Engineering may need to roll out a security fix, or other repository wide changes. For example, I am now blocked on deploying T336800 until you let me know we are good, since that task will change all jobs.

@xcollazo , please go ahead! Many thanks for bearing with me.

Awesome, closing this one then.