github-actions[bot] opened a new pull request, #69529: URL: https://github.com/apache/airflow/pull/69529
When a task whose operator sets overwrite_rtif_after_execution=True leaves RUNNING via a retry or a clear, the server regenerates the task instance id and archives the old one. finalize() still overwrites RTIF with the stale id, so the API server returns 404 and the worker logs a spurious error traceback on top of the task's real outcome. The RTIF will be wrote in next id. (cherry picked from commit a327dd4a73373f4f8927d22ed7512c43fa2bc23c) Co-authored-by: PoAn Yang <[email protected]> Signed-off-by: PoAn Yang <[email protected]> -- 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]
