Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

listener: move success hook to after SQLAlchemy commit #32988

Merged
merged 1 commit into from
Aug 1, 2023

Conversation

mobuchowski
Copy link
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.

Signed-off-by: Maciej Obuchowski <obuchowski.maciej@gmail.com>
@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