Skip to content

listener: move success hook to after SQLAlchemy commit#32988

Merged
ephraimbuddy merged 1 commit into
mainfrom
listener-move-complete
Aug 1, 2023
Merged

listener: move success hook to after SQLAlchemy commit#32988
ephraimbuddy merged 1 commit into
mainfrom
listener-move-complete

Conversation

@mobuchowski

Copy link
Copy Markdown
Contributor

Similarly to #32716 - slightly change the place of where on_task_instance_success listener is called.

This currently takes place between when SQLAlchemy session is merged, and when it's committed.
It's more safe to call it after the SQLAlchemy transaction has been committed.

@mobuchowski
mobuchowski requested a review from potiuk July 31, 2023 22:27
@mobuchowski
mobuchowski requested a review from uranusjr July 31, 2023 22:28
@ephraimbuddy
ephraimbuddy merged commit 941c83e into main Aug 1, 2023
@ephraimbuddy
ephraimbuddy deleted the listener-move-complete branch August 1, 2023 07:04
@ephraimbuddy ephraimbuddy added the type:improvement Changelog: Improvements label Aug 2, 2023
@ephraimbuddy ephraimbuddy added this to the Airflow 2.7.0 milestone Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:improvement Changelog: Improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants