Reingestion workflows report misleading date range to Slack #3964
Labels
💻 aspect: code
Concerns the software code in the repository
🛠 goal: fix
Bug fix
good first issue
New-contributor friendly
help wanted
Open to participation from the community
🟩 priority: low
Low priority and doesn't need to be rushed
🧱 stack: catalog
Related to the catalog and Airflow DAGs
Description
At the end of all provider workflows we report the number of records ingested to Slack. This slack message also includes information about the date range covered by the run: https://github.com/WordPress/openverse/blob/main/catalog/dags/providers/provider_dag_factory.py#L337
For reingestion workflows this range does not make sense. Most are run on a weekly basis, so the Slack message reports the week as the data interval; in actuality the DAG is performing ingestion for a series of many disparate reingestion days.
The most sensible thing to do is probably either:
Screenshots
The text was updated successfully, but these errors were encountered: