ashb commented on code in PR #45924: URL: https://github.com/apache/airflow/pull/45924#discussion_r1926659629
########## 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: Oh and the `int` suffix! That means `internal` but it's not internal anymore. -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org