Skip to content

Conversation

@hussein-awala
Copy link
Member

Use fail(...)/sucess(...) instead of change_state(..., TaskInstanceState.FAILED/change_state(..., TaskInstanceState. SUCCESS in the core executors.

@boring-cyborg boring-cyborg bot added the area:Executors-core LocalExecutor & SequentialExecutor label Nov 27, 2023
Copy link
Contributor

@o-nikolas o-nikolas left a comment

Choose a reason for hiding this comment

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

src changes look good but tests need to be updated to mock patch fail/success instead of change_state

@hussein-awala hussein-awala force-pushed the consolidate_executors_change_state branch from 6359911 to d6ea9a8 Compare November 27, 2023 22:19
@hussein-awala
Copy link
Member Author

It should be ok now!

@hussein-awala hussein-awala merged commit ce7f043 into apache:main Nov 28, 2023
@ephraimbuddy ephraimbuddy added the type:improvement Changelog: Improvements label Dec 5, 2023
@ephraimbuddy ephraimbuddy added this to the Airflow 2.8.0 milestone Dec 5, 2023
ephraimbuddy pushed a commit that referenced this pull request Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Executors-core LocalExecutor & SequentialExecutor type:improvement Changelog: Improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants