ashb commented on code in PR #52729:
URL: https://github.com/apache/airflow/pull/52729#discussion_r2246177808
##########
task-sdk/src/airflow/sdk/execution_time/task_runner.py:
##########
@@ -980,9 +982,12 @@ def _handle_current_task_failed(
end_date = datetime.now(tz=timezone.utc)
if ti._ti_context_from_server and ti._ti_context_from_server.should_retry:
return RetryTask(end_date=end_date), TaskInstanceState.UP_FOR_RETRY
- return TaskState(
- state=TaskInstanceState.FAILED, end_date=end_date,
rendered_map_index=ti.rendered_map_index
- ), TaskInstanceState.FAILED
+ return (
+ TaskState(
+ state=TaskInstanceState.FAILED, end_date=end_date,
rendered_map_index=ti.rendered_map_index
+ ),
+ TaskInstanceState.FAILED,
+ )
Review Comment:
This hunk appears to be a formatting only change. Please don't make that
sort of change as it makes things harder to review.
--
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]