itstalmeez commented on PR #23079: URL: https://github.com/apache/airflow/pull/23079#issuecomment-1843647200
Resolves issue #22995 by preventing the clearing of task status when marking a task as failed with downstream selected. This adjustment is crucial to avoid unintended task reruns. Previously, marking a task as failed with downstream selected resulted in both marking it as failed and subsequently clearing its status, causing unnecessary task reruns. Additionally, in cases where a task is already in a failed state and is marked as failed again without downstream selected, this fix ensures that the status of downstream tasks is not cleared. This behavior ensures consistency in handling task status, preventing unnecessary resets when not explicitly intended. Your feedback on this improvement is appreciated. Please review and share any insights. This change is closely related to the ongoing efforts to enhance task status management, as noted in issue #22995. Thank you for your attention to these considerations. -- 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]
