amoghrajesh commented on code in PR #45030:
URL: https://github.com/apache/airflow/pull/45030#discussion_r1890259182
##########
airflow/api_fastapi/execution_api/routes/task_instances.py:
##########
@@ -216,6 +216,7 @@ def ti_update_state(
kwargs=ti_patch_payload.trigger_kwargs,
)
session.add(trigger_row)
+ session.flush()
Review Comment:
Nope its needed functionally too. Unit tests pass even otherwise, probably
cos we call "session.expire_all" after sending the api request
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]