The GitHub Actions job "Tests" on airflow.git has failed.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
84177a6d69ce021456573095a923e5553eb2d50c / Ephraim Anierobi 
<splendidzig...@gmail.com>
Update ImportError items instead of deleting and recreating them (#22928)

* Update ImportError items instead of deleting and recreating them

Each time a dag with import error is parsed, the ImportError record is deleted
and a new record is created. For example, say I have two dags with import 
errors,
initially, the import error id will be dag_1:import_error.id=1, 
dag2:import_error.id=2.
In the next dag parsing, the import error will increase. 
dag_1:import_error.id=3,
dag_2:import_error.id=4 and it continues like that.
This makes it impossible for the get import error REST API endpoint to be 
consistent

This PR fixes this issue by updating the existing record and creating a new one 
if no record
exists

Report URL: https://github.com/apache/airflow/actions/runs/2166191064

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: jobs-unsubscr...@airflow.apache.org
For additional commands, e-mail: jobs-h...@airflow.apache.org

Reply via email to