Clearing tasks from old DAG runs resets start_date instead of preserving original #55206
Replies: 1 comment
-
1. Is this behavior intended or a bug?
2. What versions contain the fix?
3. Workarounds or alternative fields
4. Recommendations
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
DAG run
start_date
is overwritten when clearing old tasksApache Airflow version
2.10.4
What happened
When clearing a task from an old DAG run, the DAG run’s
start_date
gets updated to the current timestamp.This makes the old run appear as if it just started “today,” even though it originally ran days or weeks ago.
What you expected to happen
start_date
should remain fixed to its original value (when the run was first created).end_date
or task-level timestamps should update when clearing/retrying tasks.start_date
should act as an immutable record of when the DAG run first started.How to reproduce
manual__2025-07-25T00:00:00+00:00
).start_date
.start_date
is now updated to the current time.Anything else
start_date
looks like a historical field and shouldn’t change after the fact.Attachments
This DAG is scheduled daily.

Beta Was this translation helpful? Give feedback.
All reactions