The GitHub Actions job "Tests" on airflow.git has failed.
Run started by GitHub user pankajkoti (triggered by pankajkoti).

Head commit for run:
91cc417879b3ad550aef400a975e33eb9a2466b3 / Pankaj Koti <[email protected]>
Increment try_number for externally failed tasks

While working on PR #32646, I observed that when tasks are marked
failed externally like from the scheduler e.g. in the case when
scheduler marks the task as failed as it timed out being stuck in
the queue, we set the state of the task as failed but do not set
the try_number for the attempt. As a result, subsequent
functionalities like downloading the logs, seeing legacy logs don't
work as the corresponding try_number is not fetched and hence logs
are not available for try_number=0 which is being set for the task
instance instead of the corresponding try_number based on the attempt.
The PR fixes this issues in handling external failures for the task
by setting the corresponding try_number.

Report URL: https://github.com/apache/airflow/actions/runs/5654964103

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to