kaxil commented on code in PR #59686:
URL: https://github.com/apache/airflow/pull/59686#discussion_r3284656880
##########
airflow-core/src/airflow/api_fastapi/execution_api/routes/task_instances.py:
##########
@@ -548,22 +548,22 @@ def _create_ti_state_update_query_and_update_state(
if session.bind is not None:
query = TI.duration_expression_update(timezone.utcnow(),
query, session.bind)
query = query.values(state=TaskInstanceState.FAILED)
- ti = session.get(TI, ti_id_str)
- if ti is not None:
- _handle_fail_fast_for_dag(ti=ti, dag_id=dag_id,
session=session, dag_bag=dag_bag)
Review Comment:
> Skipping fail_fast in edge cases doesn't affect normal operation
That's completely wrong. Normal operation isn't things just working.
fail_fast is a feature not an edge case!
--
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]