The GitHub Actions job "Tests" on airflow.git/v3-1-test has failed.
Run started by GitHub user ephraimbuddy (triggered by ephraimbuddy).

Head commit for run:
80a75d4d9815a121a5252aa292c11a7a2377cbdd / Ephraim Anierobi 
<[email protected]>
[v3-1-test] Fix import errors not cleared for files without DAGs (#58242) 
(#59500)

* Fix import errors not cleared for files without DAGs

Previously, import errors persisted in the database for files that were
successfully parsed but no longer contained any DAGs. This happened
because we only tracked files that had DAGs, missing files that
were parsed successfully but had their DAGs removed.

Now, when files are parsed, all parsed files are tracked (not just those
with DAGs), ensuring import errors are properly cleared when a file is
successfully parsed without errors, even if it no longer contains DAGs.

closes: #57621

* Apply suggestions from code review



* fixup! Fix import errors not cleared for files without DAGs

* Remove fallback for files_parsed

* fixup! fixup! Fix import errors not cleared for files without DAGs

* fixup! Remove fallback for files_parsed

* fixup! fixup! fixup! Fix import errors not cleared for files without DAGs

---------
(cherry picked from commit 796b46ee8aba6ebaef767ec5592b826a636174e3)

Co-authored-by: Tzu-ping Chung <[email protected]>

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

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to