Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[v3-1-test] Fix import errors not cleared for files without DAGs (#58242)#59500

Merged
ephraimbuddy merged 1 commit intov3-1-testfrom
backport-796b46e-v3-1-test
Dec 16, 2025
Merged

[v3-1-test] Fix import errors not cleared for files without DAGs (#58242)#59500
ephraimbuddy merged 1 commit intov3-1-testfrom
backport-796b46e-v3-1-test

Conversation

Copy link
Contributor

ephraimbuddy commented Dec 16, 2025

  • 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 796b46e)

)

* 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

Co-authored-by: Tzu-ping Chung

* 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 796b46e)

Co-authored-by: Ephraim Anierobi
Co-authored-by: Tzu-ping Chung
ephraimbuddy requested review from XD-DENG, ashb and jedcunningham as code owners December 16, 2025 09:54
boring-cyborg bot added the area:DAG-processing label Dec 16, 2025
ephraimbuddy merged commit 80a75d4 into v3-1-test Dec 16, 2025
63 checks passed
ephraimbuddy deleted the backport-796b46e-v3-1-test branch December 16, 2025 10:57
ephraimbuddy added a commit that referenced this pull request Jan 6, 2026
) (#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 796b46e)

Co-authored-by: Tzu-ping Chung
ephraimbuddy added the type:bug-fix Changelog: Bug Fixes label Jan 6, 2026
ephraimbuddy added this to the Airflow 3.1.6 milestone Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

jedcunningham Awaiting requested review from jedcunningham jedcunningham is a code owner

XD-DENG Awaiting requested review from XD-DENG XD-DENG is a code owner

ashb Awaiting requested review from ashb ashb is a code owner

Assignees

No one assigned

Labels

Projects

None yet

Milestone

Airflow 3.1.6

Development

Successfully merging this pull request may close these issues.

1 participant