GitHub user Kjir created a discussion: How to clear an older TaskInstance and 
run it with the latest dag version?

We recently updated our Airlflow from 2.x to the latest 3.x. I now need to 
re-run some older instances that were created with the 2.x version of Airflow, 
but the task is never enqueued with this log message:

```
2026-07-07T15:39:54.730911Z [warning  [] TaskInstance <TaskInstance: [...]> 
does not have a dag_version_id set, cannot be enqueued. This would get unstuck 
and dag_version_id updated. 
[airflow.jobs.scheduler_job_runner.SchedulerJobRunner] 
loc=scheduler_job_runner.py:1033
```

How can I re-run this task instance and use the latest version of the dag for 
it? I do not see any option for that in the clear modal.



GitHub link: https://github.com/apache/airflow/discussions/69561

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to