pankajkoti commented on PR #63719: URL: https://github.com/apache/airflow/pull/63719#issuecomment-4072974926
At the moment, we're observing that the rtif endpoint does not exist for such intermediate try_numbers of the task run and the post-processing is blocked (e.g. uploading of logs to remote logging store & the logs are not available for those initial try_numbers of the task run) due to the AirflowRuntimeError that gets raised from the flow here. Pasting a stacktrace of the 404 errors we're seeing in the API server ``` 2026-03-16T10:22:46.992666Z [info ] Task instance state updated [airflow.api_fastapi.execution_api.routes.task_instances] loc=task_instances.py:424 new_state=up_for_retry rows_affected=1 ti_id=019cf62b-1924-76c0-b29b-696f4c9867c0 192.168.97.6:34318 - "PATCH /execution/task-instances/019cf62b-1924-76c0-b29b-696f4c9867c0/state HTTP/1.1" 204 2026-03-16T10:22:47.002805Z [info ] Updating RenderedTaskInstanceFields [airflow.api_fastapi.execution_api.routes.task_instances] field_count=10 loc=task_instances.py:687 ti_id=019cf62b-1924-76c0-b29b-696f4c9867c0 2026-03-16T10:22:47.003740Z [error ] Task Instance not found [airflow.api_fastapi.execution_api.routes.task_instances] loc=task_instances.py:691 ti_id=019cf62b-1924-76c0-b29b-696f4c9867c0 192.168.97.6:34318 - "PUT /execution/task-instances/019cf62b-1924-76c0-b29b-696f4c9867c0/rtif HTTP/1.1" 404 2026-03-16T10:22:47.176682Z [info ] Task instance state updated [airflow.api_fastapi.execution_api.routes.task_instances] loc=task_instances.py:424 new_state=up_for_retry rows_affected=1 ti_id=019cf62b-1922-7cc4-900b-ac0a636cb0b0 192.168.97.6:34312 - "PATCH /execution/task-instances/019cf62b-1922-7cc4-900b-ac0a636cb0b0/state HTTP/1.1" 204 2026-03-16T10:22:47.187138Z [info ] Updating RenderedTaskInstanceFields [airflow.api_fastapi.execution_api.routes.task_instances] field_count=10 loc=task_instances.py:687 ti_id=019cf62b-1922-7cc4-900b-ac0a636cb0b0 2026-03-16T10:22:47.188136Z [error ] Task Instance not found [airflow.api_fastapi.execution_api.routes.task_instances] loc=task_instances.py:691 ti_id=019cf62b-1922-7cc4-900b-ac0a636cb0b0 192.168.97.6:34312 - "PUT /execution/task-instances/019cf62b-1922-7cc4-900b-ac0a636cb0b0/rtif HTTP/1.1" 404 2026-03-16T10:22:48.079401Z [info ] Task instance state updated [airflow.api_fastapi.execution_api.routes.task_instances] loc=task_instances.py:424 new_state=up_for_retry rows_affected=1 ti_id=019cf62b-1923-70cb-a656-1cc31f3bd788 192.168.97.6:34320 - "PATCH /execution/task-instances/019cf62b-1923-70cb-a656-1cc31f3bd788/state HTTP/1.1" 204 2026-03-16T10:22:48.090230Z [info ] Updating RenderedTaskInstanceFields [airflow.api_fastapi.execution_api.routes.task_instances] field_count=10 loc=task_instances.py:687 ti_id=019cf62b-1923-70cb-a656-1cc31f3bd788 2026-03-16T10:22:48.091175Z [error ] Task Instance not found [airflow.api_fastapi.execution_api.routes.task_instances] loc=task_instances.py:691 ti_id=019cf62b-1923-70cb-a656-1cc31f3bd788 192.168.97.6:34320 - "PUT /execution/task-instances/019cf62b-1923-70cb-a656-1cc31f3bd788/rtif HTTP/1.1" 404 ``` -- 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]
