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

Head commit for run:
a9b7eeb2a63bf8922f0ac2953bc8f6530c84d368 / Ephraim Anierobi 
<[email protected]>
Fix duplication of Task tries in the UI

It was observed that there are moments where the TI tries endpoint returns 
duplicate
TaskInstance. I have observed this to happen when the TI is in up_for_retry 
state.

When the TI is in up_for_retry state, we have already recorded the previous try
in TI history and the TI try_number has not incremented at this time, so we must
exclude this recorded TI from the taskinstance tries endpoint. We know the TI 
because
its state is in up_for_retry, so we filter TIs with up_for_retry state when 
querying
for the task instance tries.

Closes: #41765

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

With regards,
GitHub Actions via GitBox


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

Reply via email to