amoghrajesh commented on code in PR #45924:
URL: https://github.com/apache/airflow/pull/45924#discussion_r1928101426
##########
airflow/api_fastapi/execution_api/routes/task_instances.py:
##########
@@ -243,6 +244,17 @@ def ti_update_state(
else:
updated_state = State.FAILED
query = query.values(state=updated_state)
+ elif isinstance(ti_patch_payload, TISuccessStatePayload):
+ query = TI.duration_expression_update(ti_patch_payload.end_date,
query, session.bind)
+ updated_state = ti_patch_payload.state
+ task_instance = session.get(TI, ti_id_str)
+ TI._register_asset_changes_int(
Review Comment:
This has been fixed
--
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]