You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Airflow Scheduler fails with TypeError when trying to fetch dag filepath #54932
We have upgraded our airflow setup fro 2.10.3 to 3.0.4. As part of it, we had removed some dags.
A task from that removed dag is still in scheduled state.
When scheduler tries to schedule that dag, its failing with below error
Tried to fail that task in airflow webserver UI. It is failing to patch the dag with below error
What you think should happen instead?
The scheduled run of the removed dag should be removed or failed once the dag is removed
(or)
Scheduler should skip the task instance where the dagfile is not found.
How to reproduce
Add a dag and let dag-processor parse it. Schedule multiple runs and remove the dag.
Activity
vikrantkumar-max commentedon Aug 26, 2025
I will work on this issue
vikrantkumar-max commentedon Sep 3, 2025
@deepak4babu I created my own dag based on the message but it is not reproduced can you give me any sample dag file So I can reproduce the issue
ephraimbuddy commentedon Nov 20, 2025
I was not able to reproduce in main too
deepak4babu commentedon Dec 2, 2025
I didnot encounter this issue again. Hence closed it