Page MenuHomePhabricator

Test for Snapshot availability
Closed, DeclinedPublic

Description

Similar to T295733, we should test if the ETL jobs fail and an error notification is triggered if the latest snapshot of data is unavailable.

In this task, we will create a test nb called zzz_snapshort_error_test.ipynb which will call for a snapshot in a future month (this will guarantee that the snapshot is not available in any of the wmf tables we use for calculating metrics) and see if the job fails, log file is updated and failure notification is sent via email.

Event Timeline

mpopov triaged this task as Medium priority.Apr 5 2022, 5:16 PM
mpopov moved this task from Triage to Current Quarter on the Product-Analytics board.
nshahquinn-wmf subscribed.

As part of T359207, we will be converting the job to Airflow, where it will use data sensors to wait until a snapshot is available.