onlyarnav commented on issue #67798: URL: https://github.com/apache/airflow/issues/67798#issuecomment-4606105054
Hey @jason810496 ! I'm currently picking this one up. My approach: I'm updating the TaskRunner inside the Java SDK so that it checks should_retry from the ti_context whenever a task fails or throws an exception. If the task still has retries left, I'll have it emit a RetryTask message (which triggers the UP_FOR_RETRY state) instead of just defaulting to FAILED and exiting 0. Question: My initial tests show this works perfectly for standard task failures, but are there any specific edge cases with context cancellations or timeout scenarios that I should add extra test coverage for? -- 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]
