Skip to content

Conversation

@tirkarthi
Copy link
Contributor

closes: #41613
related: #41613

Use set_state instead of directly setting the state which will set end_date and duration attribute for the task_instance.

Copy link
Member

@Lee-W Lee-W left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@Lee-W Lee-W merged commit 45740b1 into apache:main Aug 28, 2024
Lee-W pushed a commit to astronomer/airflow that referenced this pull request Aug 28, 2024
@utkarsharma2 utkarsharma2 added this to the Airflow 2.10.1 milestone Aug 30, 2024
@utkarsharma2 utkarsharma2 added the type:bug-fix Changelog: Bug Fixes label Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Triggerer type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

end_from_trigger leaves deferred tasks without an end_date and increasing duration

3 participants